okular/Messages.sh
Albert Astals Cid 079a13d622 Extract i18n from gui
Sorry to have missed this :/
2022-06-30 00:01:01 +02:00

7 lines
743 B
Bash

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