gimp/build
Jehan 7375116d46 po-windows-installer: fix double escaped ampersand in XML for the…
… Windows installer localization.

There are kind of 2 separate bugs here:

- Direct i18n.gettext() to the proper data directory where to find the
  ITS file. Otherwise `meson compile gimp30-windows-installer-pot` and
  `meson compile gimp30-windows-installer-update-po` complained about
  not knowing XML and falling back to C, which is obviously a problem:

> /usr/bin/xgettext: warning: file 'build/windows/installer/lang/setup.isl.xml.in' extension 'xml' is unknown; will try C

- Set gt:escapeRule to "no" in the ITS file, otherwise the XML entity is
  kept as-is in the po file (i.e. "&" stays "&" inside the po
  files), but it's considered as raw text when merged back to XML, i.e.
  that the '&' is properly converted to a XML entity, so we end up with
  a double escape "&".
  Now the po file will have a '&' which will still be converted to XML
  entity at merge time. This is actually most likely better than asking
  translators to handle XML entities themselves (with the possibility to
  make typos and break the XML entity).

See https://savannah.gnu.org/bugs/?58643
2022-08-22 20:50:59 +02:00
..
buildbot build: Update buildbot/suppressed-warnings.txt, warning was fixed 2011-02-09 23:48:32 +01:00
docker/gimpbuilder-base Migrate from intltool to gettext 2022-06-25 10:25:49 +02:00
flatpak build: intltool is still needed by libmypaint. 2022-06-25 17:06:30 +02:00
meson build: fix again the `xvfb-run` call to work on various distributions. 2021-11-14 22:14:59 +01:00
patches build: removing patches added for issue #5863. 2021-12-28 03:01:18 +01:00
windows po-windows-installer: fix double escaped ampersand in XML for the… 2022-08-22 20:50:59 +02:00
.gitignore Get rid of DOS line endings 2010-11-21 16:09:09 +01:00
Makefile.am Get rid of DOS line endings 2010-11-21 16:09:09 +01:00