summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-03-14 19:44:01 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-03-14 19:47:07 (GMT)
commitaecc266b2084cb231655c92c53f95404306a7fa7 (patch)
treea6888d632ce96de25d046e35b2832fda9fa69154 /Swift/QtUI/SConscript
parent3b3eb0ff07877c8cc9bb8a56f9be8c17ca60ec01 (diff)
downloadswift-aecc266b2084cb231655c92c53f95404306a7fa7.zip
swift-aecc266b2084cb231655c92c53f95404306a7fa7.tar.bz2
Fixed some translation strings.
Diffstat (limited to 'Swift/QtUI/SConscript')
-rw-r--r--Swift/QtUI/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swift/QtUI/SConscript b/Swift/QtUI/SConscript
index e48b6b4..5e0a366 100644
--- a/Swift/QtUI/SConscript
+++ b/Swift/QtUI/SConscript
@@ -189,7 +189,10 @@ for lang in translation_languages :
# LUpdate translation (if requested)
if ARGUMENTS.get("update_translations", False) :
myenv.Precious(translation_sources)
- t = myenv.Command(translation_sources, [], [myenv.Action("$QT4_LUPDATE -I " + env.Dir("#").abspath + " -silent -no-ui-lines -codecfortr utf-8 -recursive Swift -ts " + " ".join(translation_sources), cmdstr = "$QT4_LUPDATECOMSTR")])
+ remove_obsolete_option = ""
+ if ARGUMENTS.get("remove_obsolete_translations", False) :
+ remove_obsolete_option = " -no-obsolete"
+ t = myenv.Command(translation_sources, [], [myenv.Action("$QT4_LUPDATE -I " + env.Dir("#").abspath + remove_obsolete_option + " -silent -no-ui-lines -codecfortr utf-8 -recursive Swift -ts " + " ".join(translation_sources), cmdstr = "$QT4_LUPDATECOMSTR")])
myenv.AlwaysBuild(t)
# NSIS installation script