Commit Graph

7 Commits

Author SHA1 Message Date
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
rofiquzzaki rofiquzzaki c0c8d68081 Update Indonesian translation 2021-10-15 03:15:35 +00:00
Kukuh Syafaat 640bc17e63 Update Indonesian translation
(cherry picked from commit ed030168c2)
2019-04-11 10:29:55 +00:00
Michael Natterer 1b386dfe04 po*: change Report-Msgid-Bugs-To URL to gitlab.gnome.org 2018-07-11 21:56:14 +02:00
Jehan 387a429e37 po-windows-installer: a few fix miss and re-formatting long lines.
I missed a few of the syntax bugs ("%n" and these sort of things), but
also a broken link to the bugtracker URL (don't add spaces). Also I
reformated the long lines by running "make update-po" again.
2018-02-08 16:45:52 +01:00
raja rizki 8f11684188 po-windows-installer: initial Indonesian translation.
Note by Jehan: this was initially contributed on the github mirror:
https://github.com/GNOME/gimp/pull/16
I would usually just tell them (which I did!) to post the patch to our
official bugtracker, and/or get in touch with the translation team, but
that was a brand new language support for the Windows installer so even
though I don't understand Indonesian, at least I know that doesn't break
anyone's previous work. Moreover setting up the new `.po` file requires
a bit of knowledge which a first-timer (contributor said he was) may
choke on. So that's me being nice and not wanting to waste a good first
contribution. :-)

I still had to manually copy-paste the translation since the translator
was attempting to modify setup.isl.in directly. Also I fixed a few
format syntax things (%n, %1, &Something… these sorts of things).
2018-02-08 16:37:19 +01:00
Jehan 97716ea3c7 po-windows-installer: add Indonesian translation.
A new translator quickstarted the translation on the github mirror.
Since he is a bit unexperimented, I do the initial setup.
2018-02-08 16:37:19 +01:00