Merge "Update translation setup"
This commit is contained in:
commit
563daea5d0
12
setup.cfg
12
setup.cfg
@ -51,18 +51,18 @@ all_files = 1
|
|||||||
upload-dir = doc/build/html
|
upload-dir = doc/build/html
|
||||||
|
|
||||||
[compile_catalog]
|
[compile_catalog]
|
||||||
directory = vmware-nsx/locale
|
directory = vmware_nsx/locale
|
||||||
domain = vmware-nsx
|
domain = vmware_nsx
|
||||||
|
|
||||||
[update_catalog]
|
[update_catalog]
|
||||||
domain = vmware-nsx
|
domain = vmware_nsx
|
||||||
output_dir = vmware-nsx/locale
|
output_dir = vmware_nsx/locale
|
||||||
input_file = vmware-nsx/locale/vmware-nsx.pot
|
input_file = vmware_nsx/locale/vmware_nsx.pot
|
||||||
|
|
||||||
[extract_messages]
|
[extract_messages]
|
||||||
keywords = _ gettext ngettext l_ lazy_gettext
|
keywords = _ gettext ngettext l_ lazy_gettext
|
||||||
mapping_file = babel.cfg
|
mapping_file = babel.cfg
|
||||||
output_file = vmware-nsx/locale/vmware-nsx.pot
|
output_file = vmware_nsx/locale/vmware_nsx.pot
|
||||||
|
|
||||||
[pbr]
|
[pbr]
|
||||||
autodoc_index_modules = 1
|
autodoc_index_modules = 1
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
import oslo_i18n
|
import oslo_i18n
|
||||||
|
|
||||||
DOMAIN = "vmware-nsx"
|
DOMAIN = "vmware_nsx"
|
||||||
|
|
||||||
_translators = oslo_i18n.TranslatorFactory(domain=DOMAIN)
|
_translators = oslo_i18n.TranslatorFactory(domain=DOMAIN)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user