Re: New po files in gimp-help repository (and release soonish)



Hi,

On Mon, Mar 28, 2022 at 5:45 PM Jehan Pagès <jehan marmottard gmail com> wrote:


On Sun, Mar 27, 2022 at 3:12 PM Piotr Drąg <piotrdrag gmail com> wrote:
niedz., 27 mar 2022 o 14:55 Jehan Pagès <jehan marmottard gmail com> napisał(a):
> Awesome. By the way, I was saying in my email that it was in ` gimp-help-2-10` only. But since then I backported the change to `master` branch too. Did you add from both? :-)
>

Yes, I did. :)

> I just tested. We extract the string with `intltool-extract` with type `gettext/ini`. Unfortunately the file is not actually an ini file (just similar), in particular comments start with `;` whereas intltool looks for comments starting with `#`.
>
> We can still do something by adding a processing step where I'd just remove `#` line from the InnoSetup lang file before feeding it to InnoSetup (and using the un-processed file for intltool tricking it into seeing an ini file). I'll have a look.
>

Thanks for looking into this. If you manage to make it work, it would
be nice to adapt it to the regular GIMP installer too.

I implemented this and it's now in gimp-help (both gimp-help-2-10 and master branches). When you'll update the po files, they should now have the comments on the 2 strings with % numbers.

I'll do the same on the GIMP repository soon too.

I forgot to notify yesterday, but `po-windows-installer` po files on GIMP `master` repository will now also contain comments when regenerated.
Have a good day, all!

Jehan


Jehan


--
Piotr Drąg


--


--


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