Commit Graph

17 Commits

Author SHA1 Message Date
Jordi Mas 780cda6f72 Update Catalan translation 2023-07-02 07:40:17 +02:00
Jordi Mas d7f5cd0e43 Fix typo in Catalan translation 2023-05-20 22:05:56 +02:00
Jehan 941a53dfbc po-windows-installer: fixing broken po files for Windows installers.
This is purely fixing by meson rebuilds and some regexp fixes. I didn't
touch any semantic.
Basically the "&" XML entity should not have made their way to the
po files. I fixed our script in the previous commit, and now I just
rebuild the po files and clean the entity programmatically so that our
Windows installers for GIMP 2.99.12 release have valid text.

Here is what I did:

(1) I regenerated the pot and po files:

$ meson compile gimp30-windows-installer-pot
$ meson compile gimp30-windows-installer-update-po

(2) I opened all the po files in vim and regexp through them.

Get back the proper Report-Msgid-Bugs-To:

:bufdo! %s$"Report-Msgid-Bugs-To: \\n"$"Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gimp/issues\\n"$ge|update

No translations were fuzzy in any po files before this change. I remove
all the fuzzy flags, but only if the msgid contains an ampersand, hence
leaving appropriate fuzzy strings in (the ones where the source string
changed since the last translation):

:bufdo! %s/#, fuzzy\n\([^&]*\)&/\1\&/ge|update

Then I replaced & in msgstr (msgid was fixed through the automatic
regeneration thanks to previous commit, but not the translations) with:

:bufdo! %s/&/\&/ge|update

(3) Finally I did a manual `git diff` review to verify all is good.

In particular, I had to fix a bunch of "E&xit". The string is probably
too short so gettext heuristic failed to consider it likely the same as
"E&xit".
2022-08-22 23:00:41 +02:00
Jordi Mas 3d33e4b904 Update Catalan translation 2021-06-03 06:18:28 +02:00
Jordi Mas 5781ee756a Update Catalan translation 2021-01-31 22:41:24 +01:00
Jordi Mas d3194c1f2f Update Catalan translation 2021-01-21 22:07:45 +01: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 83d485d9c6 Update Catalan translation 2019-07-28 12:36:10 +02:00
Michael Natterer 1b386dfe04 po*: change Report-Msgid-Bugs-To URL to gitlab.gnome.org 2018-07-11 21:56:14 +02:00
Jordi Mas 8969e7c373 Update Catalan translation 2018-05-17 21:39:20 +02:00
Jordi Mas c692994b98 Update Catalan translation 2018-05-03 21:07:47 +02:00
Jordi Mas 42bcd4cb36 Small fix to Catalan translation 2018-01-16 22:59:23 +01:00
Jordi Mas 0c1def0045 Small fix to Catalan translation 2018-01-16 22:55:12 +01:00
Jordi Mas e503e9f429 Upddate installer Catalan translation 2018-01-07 11:19:22 +01:00
Jehan 9452b211f6 po-windows-installer: regenerate gettext files with `make update-po`. 2017-12-27 02:56:28 +01:00
Ell f1070f4c80 build: use intltool for Windows installer translations
Use intltool for managing the translations for the Windows
installer, instead of manually maintaining the translated message
files.

The message files are generated in the source directory, under
build/windows/installer/lang, as part of the build, and can be
subsequently used to build the installer, as before.
2017-12-24 16:45:32 -05:00