From 06521ed0348e8b757352db61f4f6a6111b32e5a3 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 31 Jan 2016 22:15:29 +0100 Subject: [PATCH] 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 --- locale/swauth.pot | 30 ------------------------------ setup.cfg | 8 ++++---- 2 files changed, 4 insertions(+), 34 deletions(-) delete mode 100644 locale/swauth.pot diff --git a/locale/swauth.pot b/locale/swauth.pot deleted file mode 100644 index 86bcbec..0000000 --- a/locale/swauth.pot +++ /dev/null @@ -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 , 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 \n" -"Language-Team: LANGUAGE \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 "" - diff --git a/setup.cfg b/setup.cfg index 16a211e..92b3d6b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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