Merge "Update translation setup"
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
import oslo_i18n
|
import oslo_i18n
|
||||||
|
|
||||||
_translators = oslo_i18n.TranslatorFactory(domain='python-openstackclient')
|
_translators = oslo_i18n.TranslatorFactory(domain='openstackclient')
|
||||||
|
|
||||||
# The primary translation function using the well-known name "_"
|
# The primary translation function using the well-known name "_"
|
||||||
_ = _translators.primary
|
_ = _translators.primary
|
||||||
|
|||||||
12
setup.cfg
12
setup.cfg
@@ -447,13 +447,13 @@ universal = 1
|
|||||||
[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 = python-openstackclient/locale/python-openstackclient.pot
|
output_file = openstackclient/locale/openstackclient.pot
|
||||||
|
|
||||||
[update_catalog]
|
[update_catalog]
|
||||||
domain = python-openstackclient
|
domain = openstackclient
|
||||||
output_dir = python-openstackclient/locale
|
output_dir = openstackclient/locale
|
||||||
input_file = python-openstackclient/locale/python-openstackclient.pot
|
input_file = openstackclient/locale/openstackclient.pot
|
||||||
|
|
||||||
[compile_catalog]
|
[compile_catalog]
|
||||||
directory = python-openstackclient/locale
|
directory = openstackclient/locale
|
||||||
domain = python-openstackclient
|
domain = openstackclient
|
||||||
|
|||||||
Reference in New Issue
Block a user