Skip to content

Commit 9734586

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Update translation setup"
2 parents 5032dbc + a6cd2dc commit 9734586

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

openstackclient/i18n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
import oslo_i18n
1717

18-
_translators = oslo_i18n.TranslatorFactory(domain='python-openstackclient')
18+
_translators = oslo_i18n.TranslatorFactory(domain='openstackclient')
1919

2020
# The primary translation function using the well-known name "_"
2121
_ = _translators.primary

python-openstackclient/locale/de/LC_MESSAGES/python-openstackclient.po renamed to openstackclient/locale/de/LC_MESSAGES/openstackclient.po

File renamed without changes.
File renamed without changes.

python-openstackclient/locale/zh_TW/LC_MESSAGES/python-openstackclient.po renamed to openstackclient/locale/zh_TW/LC_MESSAGES/openstackclient.po

File renamed without changes.

setup.cfg

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -447,13 +447,13 @@ universal = 1
447447
[extract_messages]
448448
keywords = _ gettext ngettext l_ lazy_gettext
449449
mapping_file = babel.cfg
450-
output_file = python-openstackclient/locale/python-openstackclient.pot
450+
output_file = openstackclient/locale/openstackclient.pot
451451

452452
[update_catalog]
453-
domain = python-openstackclient
454-
output_dir = python-openstackclient/locale
455-
input_file = python-openstackclient/locale/python-openstackclient.pot
453+
domain = openstackclient
454+
output_dir = openstackclient/locale
455+
input_file = openstackclient/locale/openstackclient.pot
456456

457457
[compile_catalog]
458-
directory = python-openstackclient/locale
459-
domain = python-openstackclient
458+
directory = openstackclient/locale
459+
domain = openstackclient

0 commit comments

Comments
 (0)