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.
Jehan
--
Piotr Drąg