Re: About PO generation for GIMP repository
Jehan Pagès via gnome-i18n <[email protected]> Mon, 19 Sep 2022 11:42:14 +0200
| Newsgroups | gmane.comp.gnome.internationalization.general |
|---|---|
| Message-ID | <CAFgjPJ_B44+K-HL2-T=3R=mcXWjxWMCuYejqj0=A7yBfD2HtJQ@mail.gmail.com> |
--===============9205218570748997551== Content-Type: multipart/alternative; boundary="0000000000007d7d1705e904876f" --0000000000007d7d1705e904876f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello translators! On Mon, Aug 22, 2022 at 11:23 PM Jehan Pag=C3=A8s <[email protected]= om> 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 o= ne > of them after we tagged GIMP 2.99.12 release. > > > https://gitlab.gnome.org/GNOME/gimp/-/commit/7375116d46faede26eea38ac2b7e= e29513f415e6 > > TLDR; in the po-windows-installer/ folder, we had a bunch of > "&Continue" (and other texts) in the source XML which should have bee= n > "&Continue" in the po files (otherwise they are re-exported back as > "&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 th= is > issue: > > > https://gitlab.gnome.org/GNOME/gimp/-/commit/941a53dfbcf8a9d496eb5792539d= 7dd70d661d9c > > That was basic fixing: gettext calls and some regular expressions. No > semantic update on my side. I hope you all won't mind. =F0=9F=98=87 > > 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 "&= " > 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 "&". > 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 > > -- > ZeMarmot open animation film > http://film.zemarmot.net > Liberapay: https://liberapay.com/ZeMarmot/ > Patreon: https://patreon.com/zemarmot > Tipeee: https://www.tipeee.com/zemarmot > --=20 ZeMarmot open animation film http://film.zemarmot.net Liberapay: https://liberapay.com/ZeMarmot/ Patreon: https://patreon.com/zemarmot Tipeee: https://www.tipeee.com/zemarmot --0000000000007d7d1705e904876f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Hello translators!<br></div><br><div clas= s=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Aug 22, 202= 2 at 11:23 PM Jehan Pag=C3=A8s <<a href=3D"mailto:jehan.marmottard@gmail= .com">[email protected]</a>> wrote:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi all!</div><div><b= r></div><div>We recently had our main dev branch (`master`) ported from int= ltool to gettext. Of course, we had various bugs which we fixed, but we rea= lized one of them after we tagged GIMP 2.99.12 release.</div><div><br></div= ><div><a href=3D"https://gitlab.gnome.org/GNOME/gimp/-/commit/7375116d46fae= de26eea38ac2b7ee29513f415e6" target=3D"_blank">https://gitlab.gnome.org/GNO= ME/gimp/-/commit/7375116d46faede26eea38ac2b7ee29513f415e6</a></div><div><br= ></div><div>TLDR; in the po-windows-installer/ folder, we had a bunch of &q= uot;&amp;Continue" (and other texts) in the source XML which shoul= d have been "&Continue" in the po files (otherwise they are r= e-exported back as "&amp;amp;Continue".</div><div><br></div><= div>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:</div><div><br></div><div><a href=3D"https://gitlab.gnome.org/GNOME/= gimp/-/commit/941a53dfbcf8a9d496eb5792539d7dd70d661d9c" target=3D"_blank">h= ttps://gitlab.gnome.org/GNOME/gimp/-/commit/941a53dfbcf8a9d496eb5792539d7dd= 70d661d9c</a></div><div><br></div><div>That was basic fixing: gettext calls= and some regular expressions. No semantic update on my side. I hope you al= l won't mind. =F0=9F=98=87</div><div><br></div><div>I also did some man= ual change review to make sure I didn't break anything. I think I didn&= #39;t. Feel free to double-check and really sorry if I did!<br></div><div><= br></div><div>Now I haven't fixed the autotools script which seems to s= till grab "&amp;" as-is from the XML and I didn't pursue = the issue for too long.</div><div><br></div><div>So my question is: what do= es Damned Lies use for generating the `.po` files now? Does it use the meso= n build? Because I do hope the Damned Lies platform won't reintroduce t= he "&amp;".</div></div></blockquote><div>=C2=A0</div><div>Unl= ess it got lost somewhere, I haven't had a response to this. Just to ma= ke sure our release process won't be interrupted again next time when w= e suddenly realize that our installer texts are all broken. :-)</div><div><= br></div><div>Jehan<br></div><div><br></div><blockquote class=3D"gmail_quot= e" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)= ;padding-left:1ex"><div dir=3D"ltr"><div><br></div><div>For the record, we = are starting to shift and since this release (GIMP 2.99.12), we are going t= o encourage packagers to build with meson.</div><div>If all goes well, we m= ight be able to drop autotools for GIMP 3.0 and not have to do all build ru= les twice.</div><div><br></div><div>Thanks!</div><div><br></div><div>Jehan<= br></div><div>GIMP team<br></div><div><br>-- <br><div dir=3D"ltr">ZeMarmot = open animation film<br><a href=3D"http://film.zemarmot.net" target=3D"_blan= k">http://film.zemarmot.net</a><br>Liberapay: <a href=3D"https://liberapay.= com/ZeMarmot/" target=3D"_blank">https://liberapay.com/ZeMarmot/</a><br>Pat= reon: <a href=3D"https://patreon.com/zemarmot" target=3D"_blank">https://pa= treon.com/zemarmot</a><br>Tipeee: <a href=3D"https://www.tipeee.com/zemarmo= t" target=3D"_blank">https://www.tipeee.com/zemarmot</a></div></div></div> </blockquote></div><br clear=3D"all"><br>-- <br><div dir=3D"ltr" class=3D"g= mail_signature">ZeMarmot open animation film<br><a href=3D"http://film.zema= rmot.net" target=3D"_blank">http://film.zemarmot.net</a><br>Liberapay: <a h= ref=3D"https://liberapay.com/ZeMarmot/" target=3D"_blank">https://liberapay= .com/ZeMarmot/</a><br>Patreon: <a href=3D"https://patreon.com/zemarmot" tar= get=3D"_blank">https://patreon.com/zemarmot</a><br>Tipeee: <a href=3D"https= ://www.tipeee.com/zemarmot" target=3D"_blank">https://www.tipeee.com/zemarm= ot</a></div></div> --0000000000007d7d1705e904876f-- --===============9205218570748997551== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ gnome-i18n mailing list [email protected] https://mail.gnome.org/mailman/listinfo/gnome-i18n --===============9205218570748997551==--