diff options
author | Andreas Jaeger <aj@suse.com> | 2016-01-28 13:47:31 +0100 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2016-01-28 14:12:39 +0000 |
commit | 756183fe6352421682e2d43096ccace9dece6ac6 (patch) | |
tree | 7fa77f5fc40b36a90d8b059d4857e655e31127f5 | |
parent | 5c936fabe1b6ae0acccdc2587d45fa7dd09de321 (diff) | |
download | python-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
-rw-r--r-- | python-keystoneclient/locale/python-keystoneclient.pot | 20 | ||||
-rw-r--r-- | setup.cfg | 10 |
2 files changed, 5 insertions, 25 deletions
diff --git a/python-keystoneclient/locale/python-keystoneclient.pot b/python-keystoneclient/locale/python-keystoneclient.pot deleted file mode 100644 index a966864..0000000 --- a/python-keystoneclient/locale/python-keystoneclient.pot +++ /dev/null @@ -1,20 +0,0 @@ -# Translations template for python-keystoneclient. -# Copyright (C) 2012 ORGANIZATION -# This file is distributed under the same license as the -# python-keystoneclient project. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2012. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: python-keystoneclient 0.1.3.12\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2012-09-29 16:02-0700\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" -"Language-Team: LANGUAGE <LL@li.org>\n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" -"Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 0.9.6\n" - @@ -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 |