Extract messages from header file as well, optimize extraction

This commit is contained in:
Yuri Chornoivan 2020-02-16 11:54:48 +02:00
parent 7cee10d89e
commit 90a73b39d4
2 changed files with 1 additions and 3 deletions

View file

@ -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

2
kcmkwin/kwindecoration/Messages.sh Executable file → Normal file
View file

@ -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