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
This commit is contained in:
Andreas Jaeger 2016-01-28 13:47:31 +01:00 committed by Andreas Jaeger
parent 5c936fabe1
commit 756183fe63
2 changed files with 5 additions and 25 deletions

View File

@ -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"

View File

@ -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