Commit Graph

12 Commits

Author SHA1 Message Date
Anders Jonsson b0cec7c771 Update Swedish translation 2024-03-08 19:53:48 +00:00
Anders Jonsson 31d8ac70a1 Update Swedish translation 2024-01-15 21:39:26 +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
Anders Jonsson 25f8b332e9 Update Swedish translation 2022-08-01 23:27:03 +00:00
Luna Jernberg 93ad5ebe95 Update Swedish translation
(cherry picked from commit 566edc8ffa)
2020-11-07 19:22:01 +00:00
Anders Jonsson 05226763ba Update Swedish translation
(cherry picked from commit 7057490298)
2018-08-06 11:31:05 +00:00
Michael Natterer 1b386dfe04 po*: change Report-Msgid-Bugs-To URL to gitlab.gnome.org 2018-07-11 21:56:14 +02:00
Anders Jonsson a4940ae769 Update Swedish translation 2018-05-15 20:44:15 +00:00
Anders Jonsson c476eb4312 Update Swedish translation 2018-05-05 11:16:59 +00:00
Anders Jonsson f3ba248b2f Update Swedish translation 2018-05-03 09:24:08 +00:00
Anders Jonsson 1b59adfa74 Update Swedish translation 2018-01-08 16:09:05 +00:00
Sebastian Rasmussen 148542f115 po-windows-installer: Add Swedish translation 2017-12-31 11:44:06 +01:00