tools/check_lua_locale_files.sh
author unc0rr
Sat, 03 Nov 2018 10:57:47 +0100
changeset 14135 9eca6f2cac6d
parent 14110 30565866db82
child 15793 aa4a4e222308
permissions -rwxr-xr-x
You cannot optimize integral division like this. You end up multiplying by 0, 1 or 2 instead of whole spectre of ratios.

#!/bin/sh -
echo "*** Luacheck of Lua locale files:"
luacheck ../share/hedgewars/Data/Locale/*.lua --globals locale -q
echo "Missing translations in Lua locale files:"
grep -c -- "^--" ../share/hedgewars/Data/Locale/*.lua