mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-30 01:38:07 +00:00
806fd2eafb
Removed name attribute from default tools (ie those from tools.xml), so that they now get default names, which automatically translated if the application language is switched. With this patch, tools.xml no longer contains strings to be translated. NOTE: Messages.sh was not tested
4 lines
444 B
Bash
4 lines
444 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
|
|
$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
|