Remove outdated locale

There's no need to have an outdated translation file checked in.
For translations, the full file would be needed which can easily be
generated.

Also update setup.cfg so that - if needed in the future - translations
are used, they follow the OpenStack CI setup as explained in
the spec:
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html

Change-Id: I9063faec413f27d6f7312e9403fdf4d14a379d1b
This commit is contained in:
Andreas Jaeger 2016-01-31 22:15:29 +01:00
parent 41da1e6232
commit 06521ed034
2 changed files with 4 additions and 34 deletions

View File

@ -1,30 +0,0 @@
# Translations template for swauth.
# Copyright (C) 2011 ORGANIZATION
# This file is distributed under the same license as the swauth project.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2011.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: swauth 1.0.1.dev\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2011-05-26 10:35+0000\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.4\n"
#: swauth/middleware.py:94
msgid "No super_admin_key set in conf file! Exiting."
msgstr ""
#: swauth/middleware.py:637
#, python-format
msgid ""
"ERROR: Exception while trying to communicate with "
"%(scheme)s://%(host)s:%(port)s/%(path)s"
msgstr ""

View File

@ -49,15 +49,15 @@ tag_date = 0
tag_svn_revision = 0
[compile_catalog]
directory = locale
directory = swauth/locale
domain = swauth
[update_catalog]
domain = swauth
output_dir = locale
input_file = locale/swauth.pot
output_dir = swauth/locale
input_file = swauth/locale/swauth.pot
[extract_messages]
keywords = _ l_ lazy_gettext
mapping_file = babel.cfg
output_file = locale/swauth.pot
output_file = swauth/locale/swauth.pot