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

Jehan Pagès via gnome-i18n <[email protected]>
Newsgroups gmane.comp.gnome.internationalization.general
Message-ID <CAFgjPJ9XOwaTCJjotENxfzRLRodsPhQdSZpcO+4KtRwJOEnDRg@mail.gmail.com>
On Sun, Mar 27, 2022 at 3:12 PM Piotr Drąg <[email protected]> wrote:

> niedz., 27 mar 2022 o 14:55 Jehan Pagès <[email protected]>
> 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
>


-- 
ZeMarmot open animation film
http://film.zemarmot.net
Liberapay: https://liberapay.com/ZeMarmot/
Patreon: https://patreon.com/zemarmot
Tipeee: https://www.tipeee.com/zemarmot

_______________________________________________
gnome-i18n mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-i18n
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.