From f44d44c5a763ea567d4c27c63d59f423d0b5398c Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 31 Jan 2016 22:08:04 +0100 Subject: [PATCH] Remove empty tacker.pot There's no need to have an outdated translation file checked in that has no content besides metadata. For translations, the full file would be needed which can easily be generated. Adjust tox test so that it passes if no translations are in tree. Change-Id: Ib1a7abf211ed8af515ae462fce845a028d577101 --- tacker/locale/tacker.pot | 18 ------------------ tox.ini | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) delete mode 100644 tacker/locale/tacker.pot diff --git a/tacker/locale/tacker.pot b/tacker/locale/tacker.pot deleted file mode 100644 index 8c41f1de9..000000000 --- a/tacker/locale/tacker.pot +++ /dev/null @@ -1,18 +0,0 @@ -# Translations template for tacker. -# Copyright (C) 2014 ORGANIZATION -# This file is distributed under the same license as the tacker project. -# FIRST AUTHOR , 2014. -# -#, fuzzy -msgid "" -msgstr "" -"Project-Id-Version: tacker 2014.2.dev124.g431937c\n" -"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2014-06-21 06:08+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 1.3\n" diff --git a/tox.ini b/tox.ini index 1641ec244..b63530c09 100644 --- a/tox.ini +++ b/tox.ini @@ -36,7 +36,7 @@ sitepackages = True commands = flake8 tacker-db-manage check_migration - bash -c "find tacker -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null" + bash -c "find tacker -type f -regex '.*\.pot?' -print0|xargs -0 --no-run-if-empty -n 1 msgfmt --check-format -o /dev/null" whitelist_externals = bash [testenv:i18n]