mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
Update po README with correct directories and pygettext3 binary
Signed-off-by: Ryan Lee <ryan.lee@canonical.com>
This commit is contained in:
parent
0f42187672
commit
c6181c2dbe
@ -1,10 +1,8 @@
|
||||
GENERATING TRANSLATION MESSAGES
|
||||
|
||||
To generate the messages.pot file:
|
||||
To generate the .pot file, run the following command in the po directory:
|
||||
|
||||
Run the following command in Translate.
|
||||
python pygettext.py ../apparmor/*.py ../Tools/aa*
|
||||
pygettext3 -o apparmor-utils.pot ../apparmor/*.py $(find .. -executable -name 'aa-*')
|
||||
|
||||
It will generate the messages.pot file in the Translate directory.
|
||||
It will generate the apparmor-utils.pot file in the po 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user