From 90a73b39d403fcc7e235df35cef0a9990f94b496 Mon Sep 17 00:00:00 2001 From: Yuri Chornoivan Date: Sun, 16 Feb 2020 11:54:48 +0200 Subject: [PATCH] Extract messages from header file as well, optimize extraction --- effects/Messages.sh | 2 +- kcmkwin/kwindecoration/Messages.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) mode change 100755 => 100644 kcmkwin/kwindecoration/Messages.sh 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