tools/check_lua_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Sun, 18 Nov 2018 15:38:40 +0100
changeset 14221 6b7997406121
parent 14089 30565866db82
child 15771 aa4a4e222308
permissions -rwxr-xr-x
Make sure all engine locale files start with either digit, semicolon or are empty

#!/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