mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-22 01:57:43 +00:00
Merge Update apparmor-utils.pot
Followup to !1315 that updates apparmor-utils.pot. The other ones should also be updated at some point, so I'm marking this as a draft until we have a better idea of when/how we want to do that. MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1316 Approved-by: John Johansen <john@jjmx.net> Merged-by: John Johansen <john@jjmx.net>
This commit is contained in:
commit
729e28e8b2
@ -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
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user