tools/check_lua_locale_files.sh
author Grigory Ustinov <grenka@altlinux.org>
Tue, 27 Nov 2018 20:39:39 +0300
changeset 14348 85cd1aff2f04
parent 14110 30565866db82
child 15793 aa4a4e222308
permissions -rwxr-xr-x
sed -i -E "s/еж([аиу][^а-я])/ёжик\1/g" *ru* grep -E "еж[аиу][^а-я]" *ru* Comment: [^а-я] includes all spaces and punctuation and also finish of string

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