summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBurkhard Lück <lueck@hube-lueck.de>2013-01-19 00:41:24 +0100
committerBurkhard Lück <lueck@hube-lueck.de>2013-01-19 00:41:24 +0100
commit1d48ae2a4f06f4f498f4c3999b26febe72c7771e (patch)
treeb63100de72ad3486edc723f55eeea426890e122a
parentrekonq 2.0.60 (diff)
downloadrekonq-1d48ae2a4f06f4f498f4c3999b26febe72c7771e.tar.xz
use find instead of manually specifying files+subdirs (which breaks when they are moved/renamed) to make GUI fully translated again
-rw-r--r--src/Messages.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Messages.sh b/src/Messages.sh
index ccad97fc..9b3989f5 100644
--- a/src/Messages.sh
+++ b/src/Messages.sh
@@ -1,5 +1,5 @@
#! /bin/sh
-$EXTRACTRC *.ui */*ui *.rc >> rc.cpp || exit 1
-$XGETTEXT *.cpp */*.cpp -o $podir/rekonq.pot
+$EXTRACTRC `find . -name '*.ui' -or -name '*.rc' -or -name '*.kcfg'` >> rc.cpp || exit 11
+$XGETTEXT `find . -name '*.cpp'` -o $podir/rekonq.pot
rm -f rc.cpp