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-neutronclient/locale/python-neutronclient.pot to neutronclient/locale/neutronclient. For this we need to update setup.cfg. The domain name is already correct in neutronclient/_i18n.py. There's no need to keep the 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. Change-Id: I888808f8af291223531df799382ad0c70bf8c567
This commit is contained in:
parent
19cfbe5924
commit
9f792d0b9c
File diff suppressed because it is too large
Load Diff
12
setup.cfg
12
setup.cfg
@ -42,13 +42,13 @@ universal = 1
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = python-neutronclient/locale/python-neutronclient.pot
|
||||
output_file = neutronclient/locale/neutronclient.pot
|
||||
|
||||
[compile_catalog]
|
||||
directory = python-neutronclient/locale
|
||||
domain = python-neutronclient
|
||||
directory = neutronclient/locale
|
||||
domain = neutronclient
|
||||
|
||||
[update_catalog]
|
||||
domain = python-neutronclient
|
||||
output_dir = python-neutronclient/locale
|
||||
input_file = python-neutronclient/locale/python-neutronclient.pot
|
||||
domain = neutronclient
|
||||
output_dir = neutronclient/locale
|
||||
input_file = neutronclient/locale/neutronclient.pot
|
||||
|
Loading…
x
Reference in New Issue
Block a user