Remove unused POT file
Translation source files are not needed anymore in repositories, remove the outdated files. Update run_tests.sh to handle this. Change-Id: If97a133545225cf4f45bb3b2a415ec3d2e5fd5d4
This commit is contained in:
parent
e5f1730dba
commit
d1ac36110c
|
@ -414,7 +414,7 @@ function babel_extract {
|
||||||
KEYWORDS="-k gettext_noop -k gettext_lazy -k ngettext_lazy:1,2"
|
KEYWORDS="-k gettext_noop -k gettext_lazy -k ngettext_lazy:1,2"
|
||||||
KEYWORDS+=" -k ugettext_noop -k ugettext_lazy -k ungettext_lazy:1,2"
|
KEYWORDS+=" -k ugettext_noop -k ugettext_lazy -k ungettext_lazy:1,2"
|
||||||
KEYWORDS+=" -k npgettext:1c,2,3 -k pgettext_lazy:1c,2 -k npgettext_lazy:1c,2,3"
|
KEYWORDS+=" -k npgettext:1c,2,3 -k pgettext_lazy:1c,2 -k npgettext_lazy:1c,2,3"
|
||||||
|
mkdir -p locale
|
||||||
${command_wrapper} pybabel extract -F ../babel-${DOMAIN}.cfg -o locale/${DOMAIN}.pot $KEYWORDS .
|
${command_wrapper} pybabel extract -F ../babel-${DOMAIN}.cfg -o locale/${DOMAIN}.pot $KEYWORDS .
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -431,7 +431,7 @@ function run_makemessages {
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
if [ $check_only -eq 1 ]; then
|
if [ $check_only -eq 1 ]; then
|
||||||
git checkout -- smaug_dashboard/locale/django*.pot
|
rm smaug_dashboard/locale/django*.pot
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $(($SMAUG_PY_RESULT || $SMAUG_JS_RESULT))
|
exit $(($SMAUG_PY_RESULT || $SMAUG_JS_RESULT))
|
||||||
|
|
|
@ -1,19 +0,0 @@
|
||||||
# Translations template for PROJECT.
|
|
||||||
# Copyright (C) 2016 ORGANIZATION
|
|
||||||
# This file is distributed under the same license as the PROJECT project.
|
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
|
|
||||||
#
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
||||||
"POT-Creation-Date: 2016-03-01 12:28+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 2.2.0\n"
|
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
# Translations template for PROJECT.
|
|
||||||
# Copyright (C) 2016 ORGANIZATION
|
|
||||||
# This file is distributed under the same license as the PROJECT project.
|
|
||||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
|
|
||||||
#
|
|
||||||
#, fuzzy
|
|
||||||
msgid ""
|
|
||||||
msgstr ""
|
|
||||||
"Project-Id-Version: PROJECT VERSION\n"
|
|
||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
|
|
||||||
"POT-Creation-Date: 2016-03-01 12:30+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 2.2.0\n"
|
|
Loading…
Reference in New Issue