File indexing completed on 2024-12-08 08:05:02
0001 #! /bin/bash 0002 0003 $EXTRACT_TR_STRINGS `find . -name \*.cpp -o -name \*.h` -o $podir/rolisteam-diceparser_qt.pot 0004 0005 #previousText="" 0006 0007 #cat HelpMe.md | { cat ; echo ; } | while read line; 0008 #do 0009 # if [ -z "$line" ]; 0010 # then 0011 # if [ -n "$previousText" ]; 0012 # then 0013 # echo "i18nd(\"HelpMe\", \"$previousText\");" >> rc.cpp 0014 # previousText="" 0015 # fi 0016 # else 0017 # if [ -n "$previousText" ]; 0018 # then 0019 # previousText="$previousText\n$line" 0020 # else 0021 # previousText="$line" 0022 # fi 0023 # fi 0024 #done 0025 #if [ -n "$previousText" ]; 0026 #then 0027 # echo "i18nd(\"HelpMe\", \"$previousText\");" >> rc.cpp 0028 #fi 0029 0030 #$XGETTEXT rc.cpp -o $podir/rolisteam-diceparser_documentation.pot