diff --git a/effects/Messages.sh b/effects/Messages.sh index 22814c309b..70d65f73e3 100644 --- a/effects/Messages.sh +++ b/effects/Messages.sh @@ -1,4 +1,4 @@ #! /usr/bin/env bash $EXTRACTRC `find . -name \*.ui` >> rc.cpp || exit 11 -$XGETTEXT `find . -name \*.cpp` -o $podir/kwin_effects.pot +$XGETTEXT `find . -name \*.cpp -o -name \*.h` -o $podir/kwin_effects.pot rm -f rc.cpp diff --git a/kcmkwin/kwindecoration/Messages.sh b/kcmkwin/kwindecoration/Messages.sh old mode 100755 new mode 100644 index 6271947c32..97ccd22454 --- a/kcmkwin/kwindecoration/Messages.sh +++ b/kcmkwin/kwindecoration/Messages.sh @@ -1,4 +1,2 @@ #! /usr/bin/env bash -$EXTRACTRC `find . -name "*.ui"` >> rc.cpp || exit 11 $XGETTEXT `find . -name "*.cpp" -o -name "*.qml"` -o $podir/kcm_kwindecoration.pot -rm -f rc.cpp