File indexing completed on 2024-10-06 03:28:26
0001 #! /bin/sh 0002 $EXTRACTRC `find src -name \*.ui` src/*.rc src/*.kcfg >> rc.cpp || exit 11 0003 $EXTRACTRC --tag-group=none --tag=name --tag=desc --tag=refitem data/knowledge.xml >> rc.cpp || exit 14 0004 $EXTRACTRC --tag-group=none --tag=name --tag=desc data/tools.xml >> rc.cpp || exit 15 0005 0006 # extracting a reduced version of the elements.xml, with only the data we want 0007 echo "<?xml version=\"1.0\" ?><tmp>" > element_tiny.xml 0008 cat libscience/data/elements.xml | grep 'bo:name' >> element_tiny.xml 0009 echo "</tmp>" >> element_tiny.xml 0010 $EXTRACTATTR --attr=label,value element_tiny.xml >> rc.cpp 0011 $EXTRACTRC --tag-group=none --tag=scalar element_tiny.xml >> rc.cpp 0012 0013 $XGETTEXT rc.cpp compoundviewer/*.cpp libscience/*.cpp `find src -name \*.cpp | grep -v 'src/conversion'` -o $podir/kalzium.pot 0014 0015 rm -f element_tiny.xml