mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00

logprof/genprof and related utilities in python. Because the branch that was worked on was not based on the apparmor tree, not all of the history can be maintained for files that are not newly created or entirely rewritten in the branch. (This merge also includes a subsequent commit to the branch I was merging from which includes my missed bzr add of utils/apparmor/translations.py)
10 lines
388 B
Text
10 lines
388 B
Text
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
|