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
This commit is contained in:
parent
f2fb37f189
commit
e808f328c2
File diff suppressed because it is too large
Load Diff
12
setup.cfg
12
setup.cfg
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user