Commit Graph

420 Commits

Author SHA1 Message Date
Jehan c857fc58a6 pdb, po-tips: fix meson warnings.
Meson is apparently able to show different warning depending on the
meson version tests we do in specific code paths.

Since our global required meson is 0.53.0 but on some code paths, we
test for 0.57.0, we must use meson.source_root() on older meson and
meson.project_source_root() on newer one.

Fixes:

> pdb/meson.build:141: WARNING: Project targets '>=0.57.0' but uses feature deprecated since '0.56.0': meson.source_root. use meson.project_source_root() or meson.global_source_root() instead.
> pdb/meson.build:141: WARNING: Project targets '>=0.57.0' but uses feature deprecated since '0.56.0': meson.build_root. use meson.project_build_root() or meson.global_build_root() instead.
> po-tips/meson.build:5: WARNING: Project targets '>=0.53.0' but uses feature introduced in '0.56.0': meson.project_source_root.
2022-07-31 18:16:00 +02:00
Hugo Carvalho 15b31d1b72 Update Portuguese translation 2022-07-07 11:35:43 +00:00
Rodrigo Lledó 5ae5f5e997 Update Spanish translation 2022-07-01 11:48:06 +00:00
Martin f45fb06289 Update Slovenian translation 2022-06-29 23:47:53 +00:00
Rafael Fontenelle 256b2d9615 Update Brazilian Portuguese translation 2022-06-28 11:08:26 +00:00
Niels De Graef 3473883edb po-tips: Fix gettext translation 2022-06-27 15:48:26 +00:00
Martin c9819ea4c7 Update Slovenian translation 2022-06-26 08:22:50 +00:00
Yuri Chornoivan ca4e6d0d24 Update Ukrainian translation 2022-06-25 20:03:19 +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
Hugo Carvalho 9deb4edcef Update Portuguese translation 2022-06-22 12:14:26 +00:00
Aleksandr Melman 977cf00f3d Update Russian translation 2022-05-30 16:25:37 +00:00
Fran Dieguez 96ce3b02f9 Update Galician translation 2022-03-12 20:39:03 +00:00
Anders Jonsson 9f15da20aa Update Swedish translation
(cherry picked from commit 8bfcaaa504)
2022-02-16 01:11:17 +00:00
Daniel Mustieles 08eba7fde7 Update Spanish translation 2021-11-23 16:56:19 +00:00
Asier Sarasua Garmendia 97c34730c3 Update Basque translation 2021-10-30 09:37:34 +00:00
Hugo Carvalho 1114d955ac Update Portuguese translation 2021-10-06 21:08:40 +00:00
Hugo Carvalho 216a4bcfe2 Update Portuguese translation
(cherry picked from commit 0b7e5802c8)
2021-10-01 13:08:50 +00:00
Andre Klapper 901b8c1ed4 Fix broken markup in Macedonian user help 2021-08-22 11:26:17 +02:00
Andre Klapper b89e815489 Fix broken markup in Malay user help 2021-08-21 22:27:50 +02:00
Andre Klapper e50d844a58 Fix broken markup in Galician user help 2021-08-21 22:26:53 +02:00
Andre Klapper eae6e9a6ad Fix broken markup in Dzonghka user help 2021-08-21 22:25:44 +02:00
Andre Klapper a3d7f71095 Fix broken markup in Bulgarian user help 2021-08-21 22:25:10 +02:00
Jehan a4a6ac59e0 Issue #6852: Don't include gimp30-tips.mo in binary package
Similar to previous plug-in but only for autotools. Separated in its own
commit for easy cherry-picking to `gimp-2-10` branch.
2021-05-11 14:36:55 +02:00
Jehan 822eb3cf2f Issue #6852: Don't include gimp30-tips.mo in binary package
Just let's not install the mo files, then it will apply to all packages,
even third-party ones, without having to bother about it.
2021-05-11 14:30:10 +02:00
Ngọc Quân Trần 644abd790a Update Vietnamese translation 2021-05-04 07:18:27 +00:00
Ngọc Quân Trần 6068665b25 Update Vietnamese translation 2021-04-21 07:05:01 +00:00
Jordi Mas d3194c1f2f Update Catalan translation 2021-01-21 22:07:45 +01:00
Jordi Mas 4e8087be85 Update Catalan translation 2021-01-18 22:59:59 +01:00
Милош Поповић 2b74bcb59a Update Serbian translation 2021-01-18 19:24:11 +00:00
Милош Поповић 76b5b97c2b Update Serbian (Latin) translation
(cherry picked from commit 342ad0b851)
2021-01-18 19:20:56 +00:00
Милош Поповић 593e9fa854 Update Serbian translation
(cherry picked from commit ede0292fd8)
2021-01-18 19:14:32 +00:00
Jordi Mas 16ddf3984e Update Catalan translation 2021-01-15 21:18:29 +01:00
Aurimas Černius 6bd97dfaf0 Update Lithuanian translation 2021-01-03 16:00:28 +00:00
Cristian Secară adef87e616 Update Romanian translation 2020-10-27 12:41:25 +00:00
Michael Natterer fa37ca9aa0 po*: update POTFILES.skip with the new toplevel extensions/ folder 2020-10-25 19:14:35 +01:00
Dušan Kazik d844b31572 Update Slovak translation
(cherry picked from commit 2fcdabd878)
2020-10-16 09:33:00 +00:00
Zander Brown 7f08b940c7 Update British English translation 2020-08-09 18:07:40 +00:00
Umarzuki Bin Mochlis Moktar df5b363a96 Update Malay translation 2020-07-03 00:32:47 +00:00
Jordi Mas 1ceb0dc8ad Fixes to Catalan translation 2020-06-17 23:57:43 +02:00
sicklylife 5e504bc567 Update Japanese translation 2020-06-07 14:26:06 +00:00
sicklylife 5b100f59fa Update Japanese translation 2020-06-07 14:19:51 +00:00
Cristian Secară 288177d279 Update Romanian translation 2020-06-03 16:48:04 +00:00
Jordi Mas 0d4a9b7ca4 Update Catalan translation 2020-04-08 22:49:13 +02:00
Jiri Grönroos 76bd8450b9 Update Finnish translation
(cherry picked from commit 3f9cd9b435)
2020-02-23 18:22:33 +00:00
Jordi Mas 8356a4d98c Update Catalan translation 2019-11-09 22:48:49 +01:00
Jordi Mas 2315bc3fa0 Update Catalan translation 2019-11-04 21:32:06 +01:00
Jordi Mas ab16f001e0 Update Catalan translation 2019-09-26 21:32:54 +02:00
Félix Piédallu 65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Jordi Mas 83d485d9c6 Update Catalan translation 2019-07-28 12:36:10 +02:00
lumingzh f02a1f880e Update zh_CN translation of po-tips 2019-04-20 01:12:06 +08:00