Import LinuxCNC source tree
This commit is contained in:
13
share/qtvcp/screens/qtdragon/languages/langfile
Executable file
13
share/qtvcp/screens/qtdragon/languages/langfile
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/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_'"$1"'.ts\n'
|
||||
|
||||
pylupdate5 ./*.py ../*.py ../../../../../lib/python/qtvcp/widgets/*.py -ts "qtdragon_$1.ts"
|
||||
Reference in New Issue
Block a user