diff options
author | Niklp <89982526+Niklp09@users.noreply.github.com> | 2023-07-24 09:59:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 09:59:26 +0200 |
commit | 1440f35fa62fd2c01b4844261290c88e42d2430f (patch) | |
tree | e42db53056e5d6f1c4fd562a924934081ae787c4 /ontime_clocks/tools/updatepo.sh | |
parent | e0e03058362e038d07d4063c4fbd6999ad27109c (diff) | |
download | display_modpack_no_craft-1440f35fa62fd2c01b4844261290c88e42d2430f.tar.gz display_modpack_no_craft-1440f35fa62fd2c01b4844261290c88e42d2430f.zip |
Add luacheck, update translations, replace ABMs, bug fixes (#1)
* luacheck, mt 5 translation, german translation, maintenance
* fix luacheck warnings
* Fix digital clock nodebox and texture
* Fix luacheck usage
* Add comment why fonts are not split into several lines
Diffstat (limited to 'ontime_clocks/tools/updatepo.sh')
-rwxr-xr-x | ontime_clocks/tools/updatepo.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ontime_clocks/tools/updatepo.sh b/ontime_clocks/tools/updatepo.sh deleted file mode 100755 index feb2504..0000000 --- a/ontime_clocks/tools/updatepo.sh +++ /dev/null @@ -1,25 +0,0 @@ -#! /bin/bash - -# To create a new translation: -# msginit --locale=ll_CC -o locale/ll_CC.po -i locale/template.pot - -cd "$(dirname "${BASH_SOURCE[0]}")/.."; - -# Extract translatable strings. -xgettext --from-code=UTF-8 \ - --language=Lua \ - --sort-by-file \ - --keyword=S \ - --keyword=NS:1,2 \ - --keyword=N_ \ - --keyword=F \ - --add-comments='Translators:' \ - --add-location=file \ - -o locale/template.pot \ - $(find . -name '*.lua') - -# Update translations. -find locale -name '*.po' | while read -r file; do - echo $file - msgmerge --update $file locale/template.pot; -done |