Re: About PO generation for GIMP repository



Hello translators!

On Mon, Aug 22, 2022 at 11:23 PM Jehan Pagès <jehan marmottard gmail com> wrote:
Hi all!

We recently had our main dev branch (`master`) ported from intltool to gettext. Of course, we had various bugs which we fixed, but we realized one of them after we tagged GIMP 2.99.12 release.


TLDR; in the po-windows-installer/ folder, we had a bunch of "&amp;Continue" (and other texts) in the source XML which should have been "&Continue" in the po files (otherwise they are re-exported back as "&amp;amp;Continue".

I fixed this issue, but since we also wanted a nice installer for GIMP 2.99.12, I also did a quick pass through the .po files in order to fix this issue:


That was basic fixing: gettext calls and some regular expressions. No semantic update on my side. I hope you all won't mind. 😇

I also did some manual change review to make sure I didn't break anything. I think I didn't. Feel free to double-check and really sorry if I did!

Now I haven't fixed the autotools script which seems to still grab "&amp;" as-is from the XML and I didn't pursue the issue for too long.

So my question is: what does Damned Lies use for generating the `.po` files now? Does it use the meson build? Because I do hope the Damned Lies platform won't reintroduce the "&amp;".
 
Unless it got lost somewhere, I haven't had a response to this. Just to make sure our release process won't be interrupted again next time when we suddenly realize that our installer texts are all broken. :-)

Jehan


For the record, we are starting to shift and since this release (GIMP 2.99.12), we are going to encourage packagers to build with meson.
If all goes well, we might be able to drop autotools for GIMP 3.0 and not have to do all build rules twice.

Thanks!

Jehan
GIMP team


--


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]