summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <[email protected]>2017-06-26 06:08:00 +0200
committerPino Toscano <[email protected]>2017-06-26 06:08:00 +0200
commit70d77128c4fdbd691aeba2c5823dbd2c79f4718a (patch)
treef8ebbacab0c4013321c8ddfc66581a9f449092e5
parent457adaedb98c03533f021044718d4d1da9f4d227 (diff)
i18n: do not translate messages from 'tests' subdirs
-rw-r--r--src/Messages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Messages.sh b/src/Messages.sh
index d0b4253..5ec5f80 100644
--- a/src/Messages.sh
+++ b/src/Messages.sh
@@ -10,7 +10,7 @@ done
$EXTRACTRC `find . -name \*.ui` >> rc.cpp
$EXTRACTRC `find . -name \*.kcfg` >> rc.cpp
$EXTRACTRC `find ../desktop -name \*.rc` >> rc.cpp
-$XGETTEXT `find . -name \*.cpp -o -name \*.h` -o $podir/konsole.pot
+$XGETTEXT `find . -name \*.cpp -o -name \*.h | grep -v '/tests/'` -o $podir/konsole.pot
rm -f schemas.cpp
#rm -f tips.cpp
rm -f rc.cpp