* Remove base Qt translations from repo, load translations from Qt itself * Prefix translation `qm` files with `rare_`. * Rename `translation_source.ts` to simply `source.ts` * If the selected language matches the system local, remove the option from the configuration.
11 lines
263 B
Bash
Executable file
11 lines
263 B
Bash
Executable file
#!/bin/sh
|
|
|
|
cwd="$(pwd)"
|
|
cd "$(dirname "$0")"/.. || exit
|
|
|
|
#py_files=$(find rare -iname "*.py" -not -path rare/ui)
|
|
#ui_files=$(find rare/ui -iname "*.ui")
|
|
|
|
pylupdate5 -noobsolete $(find rare/ -iname "*.py") -ts rare/resources/languages/source.ts
|
|
|
|
cd "$cwd" || exit
|