From e6e4694bbb5373f32fb0320ecb6788e0ce0af623 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 6 Jul 2017 20:14:28 +0200 Subject: [PATCH] mitaka-eol: Remove obsolete translation setup Remove mitaka specific handling of translations, this is obsolete now. Change-Id: Ib702ddc22925dea9542b3d3a9686705793f75de0 --- jenkins/scripts/common_translation_update.sh | 21 ++++---------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/jenkins/scripts/common_translation_update.sh b/jenkins/scripts/common_translation_update.sh index ce93604bca..3d5aa6c7ff 100644 --- a/jenkins/scripts/common_translation_update.sh +++ b/jenkins/scripts/common_translation_update.sh @@ -133,23 +133,10 @@ function setup_project { local exclude='.tox/**' - # For projects with one module on stable/mitaka, we use "old" setup. - # Note that stable/mitaka is only stable translated branch for - # projects. - # TODO(jaegerandi): Remove once mitaka translation ends. - 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 + /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 }