mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 00:14:44 +01: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 changed files with 3 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue