summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2016-01-29 11:47:44 +0100
committerAndreas Jaeger <aj@suse.com>2016-01-29 11:47:44 +0100
commitb97a12c059aa2406fe62ecf7f94f1a4a12814176 (patch)
tree570a9af8c6e8b359e3fe6d9fc14507c4db493cf9 /setup.cfg
parentd587463d3a130f20589870333edbb7e2c9c75097 (diff)
downloadoslo-policy-b97a12c059aa2406fe62ecf7f94f1a4a12814176.tar.gz
Update translation setup1.4.0
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 oslo.policy/locale/oslo.policy.pot to oslo_policy/locale/oslo_policy.pot. For this we need to update setup.cfg. Update also domain name 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. Change-Id: I9ca723834b1634a9ed965a92724d72fefc15e0d2
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 40037f1..6ce85ce 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -44,18 +44,18 @@ all_files = 1
upload-dir = doc/build/html
[compile_catalog]
-directory = oslo.policy/locale
-domain = oslo.policy
+directory = oslo_policy/locale
+domain = oslo_policy
[update_catalog]
-domain = oslo.policy
-output_dir = oslo.policy/locale
-input_file = oslo.policy/locale/oslo.policy.pot
+domain = oslo_policy
+output_dir = oslo_policy/locale
+input_file = oslo_policy/locale/oslo_policy.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
-output_file = oslo.policy/locale/oslo.policy.pot
+output_file = oslo_policy/locale/oslo_policy.pot
[wheel]
universal = true