Merge "Update translation setup"

This commit is contained in:
Jenkins 2016-01-29 19:50:58 +00:00 committed by Gerrit Code Review
commit 563daea5d0
3 changed files with 7 additions and 1640 deletions

View File

@ -51,18 +51,18 @@ all_files = 1
upload-dir = doc/build/html
[compile_catalog]
directory = vmware-nsx/locale
domain = vmware-nsx
directory = vmware_nsx/locale
domain = vmware_nsx
[update_catalog]
domain = vmware-nsx
output_dir = vmware-nsx/locale
input_file = vmware-nsx/locale/vmware-nsx.pot
domain = vmware_nsx
output_dir = vmware_nsx/locale
input_file = vmware_nsx/locale/vmware_nsx.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = vmware-nsx/locale/vmware-nsx.pot
output_file = vmware_nsx/locale/vmware_nsx.pot
[pbr]
autodoc_index_modules = 1

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@
import oslo_i18n
DOMAIN = "vmware-nsx"
DOMAIN = "vmware_nsx"
_translators = oslo_i18n.TranslatorFactory(domain=DOMAIN)