tools/check_lua_locale_files.sh
author Lars Wendler <polynomial-c@gmx.de>
Mon, 27 Jan 2025 19:08:55 +0100 (7 weeks ago)
changeset 16068 a617af1ee757
parent 15771 aa4a4e222308
permissions -rwxr-xr-x
Rename appdata to metainfo See https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html chapter 2.1.2 "Filesystem locations" Signed-off-by: Lars Wendler <polynomial-c@gmx.de>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
14089
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:"
15771
aa4a4e222308 Lua locale check: Disable line length warning
Wuzzy <Wuzzy2@mail.ru>
parents: 14089
diff changeset
     3
luacheck ../share/hedgewars/Data/Locale/*.lua --globals locale --no-max-line-length -q
14089
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