Enable i18n with Babel.
Add Babel commands to setup.cfg. Create the first .pot file with current translatable strings using `python setup.py extract_messages`. Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com> Change-Id: I57804496d1ec67b566b350941e71206903dd8d1d Closes-Bug: #1492444
This commit is contained in:
parent
9e15b3d7c0
commit
f7a26601b2
2171
python-novaclient/locale/python-novaclient.pot
Normal file
2171
python-novaclient/locale/python-novaclient.pot
Normal file
File diff suppressed because it is too large
Load Diff
14
setup.cfg
14
setup.cfg
@ -36,6 +36,20 @@ all_files = 1
|
|||||||
[upload_sphinx]
|
[upload_sphinx]
|
||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
|
|
||||||
|
[compile_catalog]
|
||||||
|
domain = python-novaclient
|
||||||
|
directory = python-novaclient/locale
|
||||||
|
|
||||||
|
[update_catalog]
|
||||||
|
domain = python-novaclient
|
||||||
|
output_dir = python-novaclient/locale
|
||||||
|
input_file = python-novaclient/locale/python-novaclient.pot
|
||||||
|
|
||||||
|
[extract_messages]
|
||||||
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
|
mapping_file = babel.cfg
|
||||||
|
output_file = python-novaclient/locale/python-novaclient.pot
|
||||||
|
|
||||||
[wheel]
|
[wheel]
|
||||||
universal = 1
|
universal = 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user