Re-enable oslo translations

All changes for olso.* have been merged and the translations renamed
on our translation server, we can now handle translations the "new" way.
Remove temporary disabling of them and use the new functions.

This also adds a missing invocation of setup_log_level_vars to the setup
of python projects. Without it, extract_messages_log_level will fail.

Change-Id: I66311726c93b54099ad149e6d06a01ec2f9b2edc
Story: 2000452
This commit is contained in:
Andreas Jaeger 2016-01-30 11:33:05 +01:00 committed by Andreas Jaeger
parent e2766d829c
commit a1063fe298
2 changed files with 3 additions and 10 deletions

View File

@ -210,7 +210,7 @@ case "$PROJECT" in
propose_horizon
;;
# New setup: all dashboard plugin repositories plus others
*-dashboard|*-ui|*-horizon|python-neutronclient|python-novaclient)
*-dashboard|*-ui|*-horizon|python-neutronclient|python-novaclient|oslo*)
# ---- Python projects ----
# NOTE: At now POT file == $modulename/locale/$modulename.pot
# so this script works.
@ -221,6 +221,7 @@ case "$PROJECT" in
MODULENAME=$(get_modulename $PROJECT python)
if [ -n "$MODULENAME" ]; then
setup_django "$PROJECT" "$MODULENAME" "$ZANATA_VERSION"
setup_loglevel_vars
propose_python_new "$PROJECT" "$MODULENAME"
fi
@ -235,10 +236,6 @@ case "$PROJECT" in
echo "project temporarily disabled"
exit 0
;;
oslo.*)
echo "project temporarily disabled"
exit 0
;;
ironic-inspector|networking-*|neutron-*|vmware-nsx)
echo "project temporarily disabled"
exit 0

View File

@ -55,7 +55,7 @@ case "$PROJECT" in
./run_tests.sh --makemessages -V
;;
# New setup: all dashboard plugin repositories plus others
*-dashboard|*-ui|*-horizon|python-neutronclient|python-novaclient)
*-dashboard|*-ui|*-horizon|python-neutronclient|python-novaclient|oslo*)
# ---- Python projects ----
# NOTE: At now POT file == $modulename/locale/$modulename.pot
# so this script works.
@ -82,10 +82,6 @@ case "$PROJECT" in
echo "project temporarily disabled"
exit 0
;;
oslo.*)
echo "project temporarily disabled"
exit 0
;;
ironic-inspector|networking-*|neutron-*|vmware-nsx)
echo "project temporarily disabled"
exit 0