summaryrefslogtreecommitdiff
path: root/tools/update-tx
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2016-06-26 20:13:30 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2016-06-30 05:32:29 +0000
commite4c86ac83c558b760d81ac17ae407e614a15c1c6 (patch)
treebcd49940574372d9247a83a4e971b2c688f9f5d8 /tools/update-tx
parent641904b5cad4411e2b8d065426fa2f0f6068873c (diff)
downloadwireshark-e4c86ac83c558b760d81ac17ae407e614a15c1c6.tar.gz
remove Wireshark.pro, modify update-tx accordingly
Wireshark.pro is the qt project file used by qmake which in turn was used by nmake now that nmake is gone, the only reason to keep Wireshark.pro was the update-tx script that syncs our translation files with Transifex update-tx calls lupdate to create a list of texts to translate and lrelease to convert such a list into a binary file lupdate and lrelase can read file names from a project file or get them on the command line modify update-tx to pass the required file names on the command line we can use wildcards so there's no need to change update-tx when a new source file is added remove Wireshark.pro from the release tarball as well Change-Id: I7ff4ebc96f13b4ffc6fb1b2f4e045999fbfbed5e Reviewed-on: https://code.wireshark.org/review/16151 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'tools/update-tx')
-rwxr-xr-xtools/update-tx5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/update-tx b/tools/update-tx
index 4aeb58ddb7..919dcf3727 100755
--- a/tools/update-tx
+++ b/tools/update-tx
@@ -7,8 +7,9 @@
tx pull -f
#Regenerate last translation for repo
-lupdate ui/qt/Wireshark.pro
-lrelease ui/qt/Wireshark.pro
+for i in ui/qt/*.ts ; do
+ lupdate ui/qt/*.h ui/qt/*.cpp wireshark-qt.cpp ui/qt/*.ui -ts $i
+done
#Push last change tranlastion on Transifex
tx push -t -s