Consolidate all plasma-framework catalogs
This commit is contained in:
parent
3a150bb0e7
commit
0efc0572af
11
src/Messages.sh
Normal file
11
src/Messages.sh
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources.
|
||||||
|
# The results are stored in a pseudo .cpp file to be picked up by xgettext.
|
||||||
|
lst=`find . -name \*.rc -o -name \*.ui -o -name \*.kcfg`
|
||||||
|
if [ -n "$lst" ] ; then
|
||||||
|
$EXTRACTRC $lst >> rc.cpp
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Run xgettext to extract strings from all source files.
|
||||||
|
$XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/libplasma5.pot
|
@ -1,4 +0,0 @@
|
|||||||
#! /usr/bin/env bash
|
|
||||||
$EXTRACTRC private/*.ui >> rc.cpp
|
|
||||||
$XGETTEXT `ls *.cpp *.h */*.h */*.cpp | grep -v 'tests/'` -o $podir/libplasma.pot
|
|
||||||
rm -f *.ui
|
|
@ -1,2 +0,0 @@
|
|||||||
#! /usr/bin/env bash
|
|
||||||
$XGETTEXT *.cpp -o $podir/plasmapkg.pot
|
|
@ -1,2 +0,0 @@
|
|||||||
#! /usr/bin/env bash
|
|
||||||
$XGETTEXT `find . -name '*.cpp'` -o $podir/plasma_scriptengine_declarative.pot
|
|
Loading…
Reference in New Issue
Block a user