Files
2026-08-20 06:17:39 +08:00

14 lines
339 B
Bash
Executable File

#!/bin/bash
if [ $# -eq 0 ]; then
echo -e '\nlocale is missing\n'
exit
elif [ ${#1} -ne 2 ]; then
echo -e '\nlocale needs to be two characters\n'
exit
fi
echo -e '\ncreating language translation file qtdragon_hd_'"$1"'.ts\n'
pylupdate5 ./*.py ../*.py ../../../../../lib/python/qtvcp/widgets/*.py -ts "qtdragon_hd_$1.ts"