tools/check_lua_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Mon, 21 Jan 2019 02:09:30 +0100
changeset 14660 3e15412536c8
parent 14110 30565866db82
child 15793 aa4a4e222308
permissions -rwxr-xr-x
ACF5: Register is as "spare traitor" if player walks too far away This is done to prevent free attacks at cannibals, which don't get a turn before the choice was made.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14110
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