From e808f328c2b2d4f19cf81f7e3325399012cf8f01 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 28 Jan 2016 09:13:39 +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-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 --- setup.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'setup.cfg') diff --git a/setup.cfg b/setup.cfg index e5173d75..b9c9008d 100644 --- a/setup.cfg +++ b/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 -- cgit v1.2.1