Commit Graph

111 Commits

Author SHA1 Message Date
Michael Natterer 26dce72d2c Remove autotools 2023-05-27 00:03:52 +02:00
Jehan f785f18892 po*: add menus folder to the POTFILES.skip of various gettext modules. 2023-04-15 14:56:01 +02:00
Alexander Shopov c25bcf4ca4 Add Bulgarian translation 2023-02-27 21:47:27 +00:00
Niels De Graef f663d26ab5 Migrate from intltool to gettext
intltool has long been dead upstream. Let's not poke the dead corpse,
please.

This commit is quite large, but that's mostly since trying to support a
hybrid of both gettext and intltool with both Meson and Autotools was
really hard, so I stopped trying.

Due to gettext relying on quite some things being at the exactly right
place in the autotools build (like `ABOUT-NLS` and `config.rpath`) we
really needed to cleanup the `autogen.sh` to only call `aclocal` and
`autoreconf`. No more strange magic; I tried to do it without changing
too much in the file, and things just broke. If people want to do
something more custom, they can just change the script directly. This
change also uncovered some problems in our `configure.ac`, like using
deprecated macros.

The following major changes happened:

* meson: Changed `custom_target()` to `i18n.merge_file()` for all
  supported file types
* Added `.its` and `.loc`  files for the GIMP-specific XML formats, so
  that gettext understands them
* For the `.isl` (Window installer stuff) file, there's no easy way to
  do this in gettext, so instead we start from an XML file (again with
  its own ITS rules etc), translate that with gettext, and then use
  `xsltproc` with a bit of magic to output the .isl file for each
  language
* the `po*/Makefile.in.in` files are migrated to `Makevars` files,
  which gettext natively understands.

Fixes: https://gitlab.gnome.org/GNOME/gimp/-/issues/8028
2022-06-25 10:25:49 +02:00
Zurab Kargareteli 1dded62f6d Add Georgian translation 2022-06-07 03:57:42 +00:00
Hugo Carvalho c2dfbb5c2f Update Portuguese translation 2021-10-06 21:20:06 +00:00
Michael Natterer fa37ca9aa0 po*: update POTFILES.skip with the new toplevel extensions/ folder 2020-10-25 19:14:35 +01:00
Yacine Bouklif fcaf582de9 Add Kabyle translation 2020-09-11 16:13:41 +00:00
Aron Xu 15d0aac4fd Update Chinese (China) translation 2020-07-01 19:17:28 +00:00
Umarzuki Bin Mochlis Moktar adeb3214a1 Add Malay translation 2020-07-01 02:50:37 +00:00
Xandru Armesto b86984e80f Add Asturian translation 2020-06-24 20:57:41 +00:00
مهدی معراجی 29e8527877 Add Persian translation 2019-09-23 15:40:52 +00:00
Félix Piédallu 65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Mingye Wang 99976fbcb0 Update zh_CN translation of po-tags 2019-04-20 00:51:21 +08:00
Michael Natterer 1b386dfe04 po*: change Report-Msgid-Bugs-To URL to gitlab.gnome.org 2018-07-11 21:56:14 +02:00
Snehalata B Shirude c6b63589c2 Added Marathi translations
Forward port of 9a08f499c6 from gimp-2-10.
2018-07-07 18:20:31 +02:00
Marek Cernocky c65592ca3b Updated Czech translation 2018-05-22 14:31:25 +02:00
Nathan Follens dd7f9d97a8 Add Dutch translation 2018-05-09 13:05:36 +00:00
Piotr Drąg c3624a2089 Update POTFILES.skip 2018-03-11 00:43:40 +01:00
Ell 1f27ee6219 build, configure.ac: misc Windows installer translations build improvements
In configure.ac, add --enable-windows-installer option (off by
default), which should be set to generate the necessary files for
the installer translations during the build.  Using this option is
only supported when building from git, since the installer files
are not included in source tarballs.

Rename setup.isl.desktop.in to setup.isl.in, and instruct intltool
to treat it as an .ini file explicitly.

Delete generated message files during make clean.
2017-12-25 07:42:20 -05:00
Piotr Drąg e0d08035c8 Update POTFILES.skip 2017-12-24 23:00:13 +01:00
Cédric Valmary 59efc8b91a Update Occitan translation 2016-10-16 15:24:02 +00:00
Jiri Grönroos 322cc636b6 Add Finnish translation
(cherry picked from commit f17340493e)
2016-10-09 09:05:12 +00:00
Ask Hjorth Larsen 30728c9063 Update Danish translation
(cherry picked from commit e022fdc386)
2016-10-08 20:52:06 +00:00
Piotr Drąg 618719b3e5 Updated Polish translation 2016-08-19 13:43:51 +02:00
Piotr Drąg ad0a98848e Updated Polish translation 2016-08-15 00:01:55 +02:00
Piotr Drąg 76484765c0 Add Language headers to po files
Future versions of gettext will fail if this header is missing.
2016-07-17 15:17:42 +02:00
Cédric Valmary b8b9f8a3c3 Updated Occitan translation 2016-05-27 19:41:04 +00:00
Ask Hjorth Larsen ceabae5e4e Updated Danish translation
(cherry picked from commit 25ca13270f)
2016-02-09 13:57:11 +00:00
Khaled Hosny bb8f7f7649 Update Arabic translation 2015-12-02 20:56:31 +04:00
Piotr Drąg 4c7050b2d7 Updated Polish translation 2015-08-29 18:51:25 +02:00
Cédric Valmary a7f2a9ff54 Added Occitan translation 2015-05-29 20:19:00 +00:00
Samir Ribic 32415621c4 Added Bosnian translation 2015-03-14 16:45:20 +00:00
Inaki Larranaga Murgoitio c0663a8edf Updated Basque language 2015-02-07 15:50:11 +01:00
Inaki Larranaga Murgoitio 03a9b314ac Updated Basque language 2015-02-07 15:49:17 +01:00
Sveinn í Felli 5c475f910c Added Icelandic translation 2015-01-14 16:21:53 +01:00
Michael Natterer 2cbc1da6b7 po*: add libgimpcolor and libgimpmath to POTFILES.skip except in po-libgimp
libgimpcolor just got translatable strings, and libgimpmath might get
them in the future, but there is no reason to scan it for translations
in the wrong domains.
2014-03-16 19:52:17 +01:00
Stanislav Petrek 7d8dd90ced Updated slovak translation 2013-06-05 21:21:47 +02:00
Stanislav Petrek db321b8b80 Updated slovak translation 2013-06-05 21:21:35 +02:00
Kjartan Maraas c77fd3afb9 Updated Norwegian bokmål translation 2013-05-27 22:43:44 +02:00
Kjartan Maraas e227593e4c Updated Norwegian bokmål translation 2013-05-27 15:23:42 +02:00
Khoem Sokhem 14c20ef13a [l10n] Added Khmer translation 2012-10-03 17:51:28 +02:00
Andika Triwidada 8fb049c422 Added Indonesian translation of gimp-tags 2012-09-24 18:45:51 +07:00
Marco Ciampa 0ecdaf356b Fix italian po files plural forms. 2012-07-28 14:16:58 +02:00
Gil Forcada 9f33f384e7 Added nn to LINGUAS 2012-06-09 10:32:01 +02:00
Gabor Kelemen 1d40b5927a Add hu to LINGUAS 2012-06-07 11:46:17 +02:00
Kolbjørn Stuestøl ae69869ee0 Updated Norwegian nynorsk (nn) translation 2012-06-06 19:09:47 +02:00
Gabor Kelemen 56a656fc4f Added Hungarian translation for po-tags 2012-06-04 22:15:15 +02:00
João S. O. Bueno 864badcfd2 Updated Brazilian Portuguese translation 2012-04-16 12:52:11 -03:00
Kristjan SCHMIDT 2568c04dfa Updated Esperanto translation 2012-04-06 22:03:21 +02:00