tools/check_lua_locale_files.sh
author sheepluva
Sat, 07 Dec 2019 23:58:37 +0100
branchhedgeroid
changeset 15518 f0bf14ead75c
parent 14094 30565866db82
permissions -rwxr-xr-x
hedgeroid: adjust build.xml: fix app name; set java version; print hint if sdk build.xml is missing
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14094
30565866db82 Add some useful translation checker scripts for Lua
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     1
#!/bin/sh -
30565866db82 Add some useful translation checker scripts for Lua
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     2
echo "*** Luacheck of Lua locale files:"
30565866db82 Add some useful translation checker scripts for Lua
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     3
luacheck ../share/hedgewars/Data/Locale/*.lua --globals locale -q
30565866db82 Add some useful translation checker scripts for Lua
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     4
echo "Missing translations in Lua locale files:"
30565866db82 Add some useful translation checker scripts for Lua
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     5
grep -c -- "^--" ../share/hedgewars/Data/Locale/*.lua