diff options
author | Akihiro Motoki <motoki@da.jp.nec.com> | 2016-01-29 08:44:40 +0900 |
---|---|---|
committer | Akihiro Motoki <motoki@da.jp.nec.com> | 2016-01-31 00:20:42 +0900 |
commit | cbb120449884b8a3c5e8127f11369516b65670e1 (patch) | |
tree | 4fe3b705795bba966c49c6acfc0ce6ad061b1baa /setup.cfg | |
parent | 5af6d87ebad010229a6cafc93f63e93c2323ebf9 (diff) | |
download | oslo-i18n-cbb120449884b8a3c5e8127f11369516b65670e1.tar.gz |
Update translation setup3.3.0
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.
This basically renames oslo.i18n/locale/oslo.i18n.pot to
oslo_i18n/locale/oslo_i18n.pot.
For this we need to update setup.cfg.
Update also domain name in _i18n.py.
Update unit test to adapt to domain name change.
Change-Id: Ie016591a38dc0a83aadde501f882ee7849fa0c4f
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -31,18 +31,18 @@ all_files = 1 upload-dir = doc/build/html [compile_catalog] -directory = oslo.i18n/locale -domain = oslo.i18n +directory = oslo_i18n/locale +domain = oslo_i18n [update_catalog] -domain = oslo.i18n -output_dir = oslo.i18n/locale -input_file = oslo.i18n/locale/oslo.i18n.pot +domain = oslo_i18n +output_dir = oslo_i18n/locale +input_file = oslo_i18n/locale/oslo_i18n.pot [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext _C:1c,2 _P:1,2 mapping_file = babel.cfg -output_file = oslo.i18n/locale/oslo.i18n.pot +output_file = oslo_i18n/locale/oslo_i18n.pot [pbr] warnerrors = True |