File indexing completed on 2024-09-29 06:33:19

0001 #!/bin/sh
0002 
0003 # SPDX-FileCopyrightText: none
0004 # SPDX-License-Identifier: CC0-1.0
0005 
0006 # Invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources.
0007 # The results are stored in a pseudo .cpp file to be picked up by xgettext.
0008 lst=`find . -name \*.rc -o -name \*.ui -o -name \*.kcfg`
0009 if [ -n "$lst" ] ; then
0010     $EXTRACTRC $lst >> rc.cpp
0011 fi
0012 
0013 # Extract strings from all source files.
0014 # If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation
0015 # system, use $EXTRACT_TR_STRINGS.
0016 $XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/knewstuff6.pot