apparmor/utils/po
Steve Beattie 4d5a4675d8 translations: fix up msgfmt warnings
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>
2016-05-24 13:08:06 -07:00
..
apparmor-utils.pot Fix warnings generated due to unnamed arguments in translatable strings. 2014-09-14 23:47:00 +05:30
bs.po Launchpad automatic translations update. 2016-02-02 05:11:30 +00:00
de.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
en_GB.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
fr.po Launchpad automatic translations update. 2016-02-02 05:11:30 +00:00
hi.po Launchpad automatic translations update. 2016-02-02 05:11:30 +00:00
id.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
it.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
ko.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
Makefile Entire tree: makefile cruft removal 2015-01-23 15:52:09 -08:00
pl.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
pt.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
README Merge in Kshitij Gupta <kgupta8592@gmail.com>'s rewrite of the 2014-02-12 15:54:00 -08:00
ru.po Launchpad automatic translations update. 2016-03-30 05:13:33 +00:00
sv.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
tr.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
ug.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00
uk.po translations: fix up msgfmt warnings 2016-05-24 13:08:06 -07:00

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