From ba1020368a2cc7e091ddb99c83213db9d3f425df Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 8 Apr 2014 11:30:51 +0200 Subject: [PATCH] Do not generate obsolete translations Call update_catalog with option --ignore-obsolete=true to not generate any obsolete translation entries. Change-Id: Ia898149f6203ebf024a64b8bf3ecbffd75261ce8 Related-Bug: #1299349 --- .../jenkins/files/slave_scripts/propose_translation_update.sh | 2 +- .../jenkins/files/slave_scripts/upstream_translation_update.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/jenkins/files/slave_scripts/propose_translation_update.sh b/modules/jenkins/files/slave_scripts/propose_translation_update.sh index 32b026d068..47aaad0292 100755 --- a/modules/jenkins/files/slave_scripts/propose_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/propose_translation_update.sh @@ -54,7 +54,7 @@ PO_FILES=`find ${PROJECT}/locale -name '*.po'` if [ -n "$PO_FILES" ] then # Use updated .pot file to update translations - python setup.py update_catalog --no-fuzzy-matching + python setup.py update_catalog --no-fuzzy-matching --ignore-obsolete=true fi # Add all changed files to git git add $PROJECT/locale/* diff --git a/modules/jenkins/files/slave_scripts/upstream_translation_update.sh b/modules/jenkins/files/slave_scripts/upstream_translation_update.sh index d8bca8c123..e93d6b5d15 100755 --- a/modules/jenkins/files/slave_scripts/upstream_translation_update.sh +++ b/modules/jenkins/files/slave_scripts/upstream_translation_update.sh @@ -34,7 +34,7 @@ PO_FILES=`find ${PROJECT}/locale -name '*.po'` if [ -n "$PO_FILES" ] then # Use updated .pot file to update translations - python setup.py update_catalog --no-fuzzy-matching + python setup.py update_catalog --no-fuzzy-matching --ignore-obsolete=true fi # Add all changed files to git git add $PROJECT/locale/*