cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
14 lines
521 B
Bash
Executable File
14 lines
521 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources.
|
|
# The results are stored in a pseudo .cpp file to be picked up by xgettext.
|
|
lst=`find . -name \*.rc -o -name \*.ui -o -name \*.kcfg`
|
|
if [ -n "$lst" ] ; then
|
|
$EXTRACTRC $lst >> rc.cpp
|
|
fi
|
|
|
|
# Extract strings from all source files.
|
|
# If your framework depends on KI18n, use $XGETTEXT. If it uses Qt translation
|
|
# system, use $EXTRACT_TR_STRINGS.
|
|
$XGETTEXT `find . -name \*.cpp -o -name \*.h -o -name \*.qml` -o $podir/kxmlgui6.pot
|