Commit Graph

10 Commits

Author SHA1 Message Date
Balázs Úr 640f9c6bf9 Update Hungarian translation 2022-09-01 23:15:06 +00: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
Balázs Úr 3d6d94fdae Update Hungarian translation 2021-09-10 20:17:14 +00:00
Balázs Meskó e5f312335e Update Hungarian translation 2018-10-05 21:51:30 +00:00
Balázs Meskó 164de32998 Update Hungarian translation 2018-06-28 19:55:58 +00:00
Balázs Meskó bf2599fe20 Update Hungarian translation 2018-05-05 11:31:26 +00:00
Ell 0b625df2ce po-windows-installer: technical fix to Hungarian, Latvian translations
ender's name can't be encoded in the target encoding -> use ASCII.
2018-03-10 18:22:56 -05:00
Balázs Úr 50a45311f1 Update Hungarian translation 2018-02-25 17:01:35 +00: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