tools/check_translations.sh
author unc0rr
Sat, 03 Nov 2018 10:57:47 +0100
changeset 14135 9eca6f2cac6d
parent 14110 30565866db82
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 -
# Script to check locale files

# HOW TO USE:
# - Run this script in the tools/ directory.
# Result: Problems and missing translations in some locale files will be reported

# SYNTAX:
#
#     ./check_locale_files.sh
#

./check_engine_locale_files.sh ALL 0
./check_lua_locale_files.sh
lua ./check_lua_locale_files.lua