Setup for translation
client translation effort starts and several client projects including novaclient already setup translations. To start translation, we need to initially import the translation file - and place it at the proper place so that the usual CI scripts can handle it. The proper place is for all python projects $PROJECT/locale/$PROJECT.pot - see setup.cfg. Further imports will be done by the OpenStack Proposal bot. Closes-Bug: #1099603 Change-Id: I5b13a9428e6272e83a45b82c06f524be772d3d7a
This commit is contained in:
parent
4667f32103
commit
aa2dad3d83
File diff suppressed because it is too large
Load Diff
14
setup.cfg
14
setup.cfg
|
@ -39,3 +39,17 @@ source-dir = doc/source
|
|||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = python-neutronclient/locale/python-neutronclient.pot
|
||||
|
||||
[compile_catalog]
|
||||
directory = python-neutronclient/locale
|
||||
domain = python-neutronclient
|
||||
|
||||
[update_catalog]
|
||||
domain = python-neutronclient
|
||||
output_dir = python-neutronclient/locale
|
||||
input_file = python-neutronclient/locale/python-neutronclient.pot
|
||||
|
|
Loading…
Reference in New Issue