tools/check_lua_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Sun, 05 Jul 2020 02:03:08 +0200
branchui-scaling
changeset 15672 b3c9f5463cee
parent 14089 30565866db82
child 15771 aa4a4e222308
permissions -rwxr-xr-x
[backport] Chat: Use Ctrl-A for 'select all' again (instead of Ctrl-B) Backport of 783959a6810b to branch ui-scaling by sheepluva
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14089
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