diff options
author | Andreas Jaeger <aj@suse.com> | 2016-01-28 09:13:39 +0100 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2016-01-28 14:12:20 +0000 |
commit | e808f328c2b2d4f19cf81f7e3325399012cf8f01 (patch) | |
tree | d6737c84a1232823e589edb7547254bf0b401115 /setup.cfg | |
parent | f2fb37f189cc69a32e367ad6f59ab2069e9648de (diff) | |
download | python-novaclient-e808f328c2b2d4f19cf81f7e3325399012cf8f01.tar.gz |
Update translation setup
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
python-novaclient/locale/python-novaclient.pot to
novaclient/locale/novaclient. For this we need to update
setup.cfg. The domain name is already correct in
novaclient/i18n.py.
The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.
Change-Id: Ifeabedf157f0338c1e76dc5ab8ab41e2e331ad87
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -38,18 +38,18 @@ all_files = 1 upload-dir = doc/build/html [compile_catalog] -domain = python-novaclient -directory = python-novaclient/locale +domain = novaclient +directory = novaclient/locale [update_catalog] -domain = python-novaclient -output_dir = python-novaclient/locale -input_file = python-novaclient/locale/python-novaclient.pot +domain = novaclient +output_dir = novaclient/locale +input_file = novaclient/locale/novaclient.pot [extract_messages] keywords = _ gettext ngettext l_ lazy_gettext mapping_file = babel.cfg -output_file = python-novaclient/locale/python-novaclient.pot +output_file = novaclient/locale/novaclient.pot [wheel] universal = 1 |