From kde-commits Sat Dec 31 17:14:50 2016 From: Pino Toscano Date: Sat, 31 Dec 2016 17:14:50 +0000 To: kde-commits Subject: [ktechlab] /: i18n: do not extract messages from 'tests' subdirs Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=148320450507798 Git commit b0339c32caf605a5345e746193ef342b0701aead by Pino Toscano. Committed on 31/12/2016 at 17:12. Pushed by pino into branch 'master'. i18n: do not extract messages from 'tests' subdirs M +2 -2 Messages.sh https://commits.kde.org/ktechlab/b0339c32caf605a5345e746193ef342b0701aead diff --git a/Messages.sh b/Messages.sh index 34c2ce52..95c2be87 100644 --- a/Messages.sh +++ b/Messages.sh @@ -1,4 +1,4 @@ #! /bin/sh -$EXTRACTRC `find . -name "*.rc" -o -name "*.ui" -o -name "*.kcfg"` >> rc.c= pp -$XGETTEXT `find . -name \*.h -o -name \*.cpp` -o $podir/ktechlab.pot +$EXTRACTRC `find . -name "*.rc" -o -name "*.ui" -o -name "*.kcfg" | grep -= v '/tests/'` >> rc.cpp +$XGETTEXT `find . -name \*.h -o -name \*.cpp | grep -v '/tests/'` -o $podi= r/ktechlab.pot rm -f rc.cpp