summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-01-28 13:47:31 +0100
committerAndreas Jaeger <jaegerandi@gmail.com>2016-01-28 14:12:39 +0000
commit756183fe6352421682e2d43096ccace9dece6ac6 (patch)
tree7fa77f5fc40b36a90d8b059d4857e655e31127f5 /setup.cfg
parent5c936fabe1b6ae0acccdc2587d45fa7dd09de321 (diff)
downloadpython-keystoneclient-756183fe6352421682e2d43096ccace9dece6ac6.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-keystoneclient/locale/python-keystoneclient.pot to keystoneclient/locale/keystoneclient.pot. For this we need to update setup.cfg. The domain name is already correct in keystoneclient/_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: Ie5a0c3e8fcdb485edf05f2188fce64a9fce96b5f
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg10
1 files changed, 5 insertions, 5 deletions
diff --git a/setup.cfg b/setup.cfg
index 52307d6..2acac39 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -55,18 +55,18 @@ autodoc_tree_excludes =
upload-dir = doc/build/html
[compile_catalog]
-directory = python-keystoneclient/locale
-domain = python-keystoneclient
+directory = keystoneclient/locale
+domain = keystoneclient
[update_catalog]
domain = keystoneclient
-output_dir = python-keystoneclient/locale
-input_file = python-keystoneclient/locale/python-keystoneclient.pot
+output_dir = keystoneclient/locale
+input_file = keystoneclient/locale/keystoneclient.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
-output_file = python-keystoneclient/locale/python-keystoneclient.pot
+output_file = keystoneclient/locale/keystoneclient.pot
[wheel]
universal = 1