Commit Graph

10 Commits

Author SHA1 Message Date
Daniel P. Berrangé
32ad23bff7 Refresh translatable strings in pot file
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-04-14 11:39:57 +01:00
Pino Toscano
b7a2f05266 po: update pot file
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2020-09-11 11:35:00 +02:00
Pino Toscano
dcbac960f4 po: update pot file
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2020-07-25 06:56:24 +02:00
Pino Toscano
7a991e4ad5 po: update pot file
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2020-07-23 12:01:52 +02:00
Daniel P. Berrangé
350d92c926 po: switch over to using Weblate for translations
Weblate works a slightly different way than Zanata. Instead of manually
pushing a pot file and fetching po files, Weblate is going to work
automatically with GitLab Merge requests. The main pot file must be
committed to git, and then Weblate fully manages the .po files, using
merge requests to send updates back.

With this new system we don't have a separate .mini.po file. The main
.po file is partially minimized by removing locations but does not
have non-translated msgids removed. This is not a big downside if we
consider that over time most translations should trend towards 100%
translated, and we have purged all 100% non-translated languages.

The main .pot file is generated with alphabetic sort ordering instead
of the default source file location ordering, as this makes the diffs
stable across renames/code movement, which is something we used in the
old .mini.po files.

The only rules needed in the makefile are to refresh the .pot file
and to generate the .gmo files at install time. We must never touch
the .po files locally, not even to rebase them when the .pot is
updated, as that will create merge conflicts with Weblate. Weblate
will take care of all rebases of the .po files in its own fork of
the git repo, and open merge requests to send changes back when
needed.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-07-13 20:57:13 +00:00
Daniel P. Berrange
236fa1ce3c Remove virt-viewer.pot from git, as it is generated dynamically 2012-02-16 17:40:11 +00:00
Daniel P. Berrange
fbdb554c2d Fix inclusion of GtkBuilder files in virt-viewer.pot 2012-02-14 17:57:15 +00:00
Daniel P. Berrange
c18120b763 Refresh translation files 2012-02-14 17:23:40 +00:00
Daniel P. Berrange
c3d4d61340 Add 'pl' to LINGUAS. Remove accidentally committed .pot file and
add it to .hgignore. Add RPM specfile magic for translations.
Fix typo in about.glade URL
2010-01-11 17:00:37 +00:00
raven
90eccfdcc0 Sending translation for po/pl.po 2010-01-11 16:44:48 +00:00