Add extra extension file to makemessage command line
specify the file extensions of the makemessage to *.html, *.txt, *.csv Closes-Bug: #1226910 Change-Id: I115cd448249ac0b1b27a6b28fca3f16d6b2670a6
This commit is contained in:
parent
9aad7fd6f6
commit
0b03a7fdea
@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2013-09-26 00:30-0500\n"
|
"POT-Creation-Date: 2013-10-14 09:00-0500\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@ -39,7 +39,7 @@ msgstr ""
|
|||||||
msgid "Unauthorized. Please try logging in again."
|
msgid "Unauthorized. Please try logging in again."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: middleware.py:67
|
#: middleware.py:72
|
||||||
msgid "Session timed out."
|
msgid "Session timed out."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -102,16 +102,16 @@ msgstr ""
|
|||||||
msgid "No items to display."
|
msgid "No items to display."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: tables/base.py:870
|
#: tables/base.py:872
|
||||||
msgid "Actions"
|
msgid "Actions"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: tables/base.py:1063
|
#: tables/base.py:1065
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "No match returned for the id \"%s\"."
|
msgid "No match returned for the id \"%s\"."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: tables/base.py:1193
|
#: tables/base.py:1195
|
||||||
msgid "Please select a row before taking that action."
|
msgid "Please select a row before taking that action."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -137,18 +137,16 @@ msgid "Log In"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/auth/_login.html:15
|
#: templates/auth/_login.html:15
|
||||||
msgid "You don't have permissions to access:"
|
msgid "You do not have permission to access the resource:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/auth/_login.html:17
|
#: templates/auth/_login.html:17
|
||||||
msgid "Login as different user or go back to"
|
#, python-format
|
||||||
|
msgid ""
|
||||||
|
"Login as different user or go back to <a href=\"%(home_url)s\"> home page</a>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/auth/_login.html:18
|
#: templates/auth/_login.html:32
|
||||||
msgid "home page"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: templates/auth/_login.html:33
|
|
||||||
msgid "Sign In"
|
msgid "Sign In"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@ -234,7 +232,7 @@ msgstr[1] ""
|
|||||||
msgid "Current Project"
|
msgid "Current Project"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: templates/horizon/common/_sidebar.html:39
|
#: templates/horizon/common/_sidebar.html:41
|
||||||
msgid "Managing Region"
|
msgid "Managing Region"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -339,16 +339,17 @@ function run_tests_all {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function run_makemessages {
|
function run_makemessages {
|
||||||
|
OPTS="-l en --extension html,txt,csv --no-obsolete"
|
||||||
echo -n "horizon: "
|
echo -n "horizon: "
|
||||||
cd horizon
|
cd horizon
|
||||||
${command_wrapper} $root/manage.py makemessages -l en --no-obsolete
|
${command_wrapper} $root/manage.py makemessages $OPTS
|
||||||
HORIZON_PY_RESULT=$?
|
HORIZON_PY_RESULT=$?
|
||||||
echo -n "horizon javascript: "
|
echo -n "horizon javascript: "
|
||||||
${command_wrapper} $root/manage.py makemessages -d djangojs -l en --no-obsolete
|
${command_wrapper} $root/manage.py makemessages -d djangojs $OPTS
|
||||||
HORIZON_JS_RESULT=$?
|
HORIZON_JS_RESULT=$?
|
||||||
echo -n "openstack_dashboard: "
|
echo -n "openstack_dashboard: "
|
||||||
cd ../openstack_dashboard
|
cd ../openstack_dashboard
|
||||||
${command_wrapper} $root/manage.py makemessages -l en --ignore=openstack/common/* --no-obsolete
|
${command_wrapper} $root/manage.py makemessages --ignore=openstack/common/* $OPTS
|
||||||
DASHBOARD_RESULT=$?
|
DASHBOARD_RESULT=$?
|
||||||
cd ..
|
cd ..
|
||||||
exit $(($HORIZON_PY_RESULT || $HORIZON_JS_RESULT || $DASHBOARD_RESULT))
|
exit $(($HORIZON_PY_RESULT || $HORIZON_JS_RESULT || $DASHBOARD_RESULT))
|
||||||
|
Loading…
Reference in New Issue
Block a user