summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-01-28 19:13:49 +0100
committerAndreas Jaeger <aj@suse.com>2016-01-28 21:49:27 +0100
commit00ba1ec9b4286669f9abad436b4b8bb9ee8bb120 (patch)
treecee987242c012c4f83ff4a69f4578d042406848e /setup.cfg
parent5af3d2a1f04907c5d4f1cec4f5008a7d521b72a5 (diff)
downloadpython-heatclient-00ba1ec9b4286669f9abad436b4b8bb9ee8bb120.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-heatclient/locale/python-heatclient.pot to heatclient/locale/heatclient.pot. For this we need to update setup.cfg. The domain name is already correct in 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. Remove test for valid translation files in tox.ini since there are now no more pot files - and the test fails if there are no files at all. Change-Id: I6f5e77b9cd633f6edb503ff225ca0b507153946c
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg12
1 files changed, 6 insertions, 6 deletions
diff --git a/setup.cfg b/setup.cfg
index d11fa7a..9ca6544 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -54,13 +54,13 @@ universal = 1
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
-output_file = python-heatclient/locale/python-heatclient.pot
+output_file = heatclient/locale/heatclient.pot
[compile_catalog]
-directory = python-heatclient/locale
-domain = python-heatclient
+directory = heatclient/locale
+domain = heatclient
[update_catalog]
-domain = python-heatclient
-output_dir = python-heatclient/locale
-input_file = python-heatclient/locale/python-heatclient.pot
+domain = heatclient
+output_dir = heatclient/locale
+input_file = heatclient/locale/heatclient.pot