File indexing completed on 2024-12-01 12:35:26
0001 #!/bin/sh 0002 0003 # Invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources. 0004 # The results are stored in a pseudo .cpp file to be picked up by xgettext. 0005 lst=`find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` 0006 if [ -n "$lst" ] ; then 0007 $EXTRACTRC $lst >> rc.cpp 0008 fi 0009 0010 # If your framework contains tips-of-the-day, call preparetips as well. 0011 if [ -f "data/tips" ] ; then 0012 ( cd data && $PREPARETIPS > ../tips.cpp ) 0013 fi 0014 0015 # Extract strings from all source files. 0016 # If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation 0017 # system, use $EXTRACT_TR_STRINGS. 0018 $XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kinit5.pot