mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() This commit touches up the .po files that generate warnings when msgfmt processes them to create .mo files, at least with gettext 0.19.7-2ubuntu3 in Ubuntu 16.04 LTS. Example warning types cleaned up include: ce.po:7: warning: header field 'Last-Translator' still has the initial default value ce.po:7: warning: header field 'Language' missing in header de.po:6: warning: header field 'Language-Team' still has the initial default value This commit also fixes up po files where the Report-Msgid-Bugs-To: field had not been updated, setting it with the email address 'AppArmor list <apparmor@lists.ubuntu.com>' Signed-off-by: Steve Beattie <steve@nxnw.org> Acked-by: Seth Arnold <seth.arnold@canonical.com> Acked-by: Christian Boltz <apparmor@cboltz.de> |
||
---|---|---|
.. | ||
apparmor-utils.pot | ||
bs.po | ||
de.po | ||
en_GB.po | ||
fr.po | ||
hi.po | ||
id.po | ||
it.po | ||
ko.po | ||
Makefile | ||
pl.po | ||
pt.po | ||
README | ||
ru.po | ||
sv.po | ||
tr.po | ||
ug.po | ||
uk.po |
GENERATING TRANSLATION MESSAGES To generate the messages.pot file: Run the following command in Translate. python pygettext.py ../apparmor/*.py ../Tools/aa* It will generate the messages.pot file in the Translate directory. You might need to provide the full path to pygettext.py from your python installation. It will typically be in the /path/to/python/libs/Tools/i18n/pygettext.py