summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPino Toscano <[email protected]>2016-11-23 19:50:57 +0100
committerPino Toscano <[email protected]>2016-11-23 19:53:44 +0100
commit2a5a0b672dde7e13e8913c70a16ff6c4c0d7d51e (patch)
treea4d600ac9913f2e701b9dfd23ff96425d5ac2d9d
parent741b2590206a598f3bf4d61d732dd19237eac8f5 (diff)
i18n: do not extract messages from 'tests' subdirs
-rwxr-xr-xapplets/systemtray/Messages.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/systemtray/Messages.sh b/applets/systemtray/Messages.sh
index bea28f6..6d89905 100755
--- a/applets/systemtray/Messages.sh
+++ b/applets/systemtray/Messages.sh
@@ -1,4 +1,4 @@
#! /usr/bin/env bash
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
-$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp` -o $podir/plasma_applet_org.kde.plasma.private.systemtray.pot
+$XGETTEXT `find . -name \*.js -o -name \*.qml -o -name \*.cpp | grep -v '/tests/'` -o $podir/plasma_applet_org.kde.plasma.private.systemtray.pot
rm -f rc.cpp