File indexing completed on 2024-11-10 12:25:15
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 # If your framework contains tips-of-the-day, call preparetips as well. 0014 if [ -f "data/tips" ] ; then 0015 ( cd data && $PREPARETIPS > ../tips.cpp ) 0016 fi 0017 0018 # Extract strings from all source files. 0019 # If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation 0020 # system, use $EXTRACT_TR_STRINGS. 0021 $XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/knewstuff5.pot