okular/Messages.sh
Burkhard Lück 984d38ab9e extract also the tool names for translation
CCMAIL:toscano.pino@tiscali.it
CCMAIL:okular-devel@kde.org 

svn path=/trunk/KDE/kdegraphics/okular/; revision=744494
2007-12-03 20:01:53 +00:00

6 lines
604 B
Bash

#!/bin/sh
$EXTRACTRC *.rc */*.rc >> rc.cpp || exit 11
$EXTRACTRC $(find conf/ -name "*.ui") $(find core/ -name "*.ui") $(find ui/ -name "*.ui") $(ls . | grep -E '\.ui') >> rc.cpp || exit 12
$EXTRACTRC --tag=tooltip --context='Annotation tool' ui/data/tools.xml >> rc.cpp || exit 13
$EXTRACTATTR -attr=tool,name ui/data/tools.xml >> rc.cpp || exit 14
$XGETTEXT $(find conf/ -name "*.cpp" -o -name "*.h") $(find core/ -name "*.cpp" -o -name "*.h") $(find ui/ -name "*.cpp" -o -name "*.h") $(find shell/ -name "*.cpp" -o -name "*.h") $(ls . | grep -E '\.cpp$') $(ls . | grep -E '\.h$') -o $podir/okular.pot