From 756183fe6352421682e2d43096ccace9dece6ac6 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 28 Jan 2016 13:47:31 +0100 Subject: 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 --- setup.cfg | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'setup.cfg') 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 -- cgit v1.2.1