mitaka-eol: Remove obsolete translation setup
Remove mitaka specific handling of translations, this is obsolete now. Change-Id: Ib702ddc22925dea9542b3d3a9686705793f75de0
This commit is contained in:
parent
08c5e1685e
commit
e6e4694bbb
@ -133,23 +133,10 @@ function setup_project {
|
|||||||
|
|
||||||
local exclude='.tox/**'
|
local exclude='.tox/**'
|
||||||
|
|
||||||
# For projects with one module on stable/mitaka, we use "old" setup.
|
/usr/local/jenkins/slave_scripts/create-zanata-xml.py \
|
||||||
# Note that stable/mitaka is only stable translated branch for
|
-p $project -v $version --srcdir . --txdir . \
|
||||||
# projects.
|
-r '**/*.pot' '{path}/{locale_with_underscore}/LC_MESSAGES/{filename}.po' \
|
||||||
# TODO(jaegerandi): Remove once mitaka translation ends.
|
-e "$exclude" -f zanata.xml
|
||||||
if [ $# -eq 1 ] && [ "$version" == "stable-mitaka" ] ; then
|
|
||||||
local modulename=$1
|
|
||||||
/usr/local/jenkins/slave_scripts/create-zanata-xml.py \
|
|
||||||
-p $project -v $version --srcdir $modulename/locale \
|
|
||||||
--txdir $modulename/locale \
|
|
||||||
-r '**/*.pot' '{locale_with_underscore}/LC_MESSAGES/{filename}.po' \
|
|
||||||
-f zanata.xml
|
|
||||||
else
|
|
||||||
/usr/local/jenkins/slave_scripts/create-zanata-xml.py \
|
|
||||||
-p $project -v $version --srcdir . --txdir . \
|
|
||||||
-r '**/*.pot' '{path}/{locale_with_underscore}/LC_MESSAGES/{filename}.po' \
|
|
||||||
-e "$exclude" -f zanata.xml
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user