aboutsummaryrefslogtreecommitdiff
path: root/update_ts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update_ts.sh')
-rwxr-xr-xupdate_ts.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/update_ts.sh b/update_ts.sh
new file mode 100755
index 000000000..28e0ec785
--- /dev/null
+++ b/update_ts.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+for file in `find . -name "*.pro"`
+do
+ ts_pro=`cat $file | grep TRANSLATIONS`
+ if [ "$ts_pro" ]
+ then
+ lupdate -no-obsolete $file
+ fi
+
+done
+