tools/check_lua_locale_files.sh
author Grigory Ustinov <grenka@altlinux.org>
Wed, 28 Nov 2018 17:20:22 +0300
changeset 14330 6b56a0a0afb4
parent 14089 30565866db82
child 15771 aa4a4e222308
permissions -rwxr-xr-x
sed -i -E "s/ёж$/ёжик/g" *ru*; sed -i -E "s/еж([аиу])$/ёжик\1/g" *ru* grep -E "(ёж|еж[аиу])$" *ru*

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