tools/check_translations.sh
author Wuzzy <Wuzzy2@mail.ru>
Sat, 02 Nov 2019 13:01:28 +0100
changeset 15501 5a30396f8fb2
parent 14089 30565866db82
permissions -rwxr-xr-x
ClimbHome: Change misleading Seed assignment to nil value This was "Seed = ClimbHome", but ClimbHome was a nil value. This code still worked as the engine interpreted the nil value as empty string. But it can be very misleading. This changeset makes the Seed assignment more explicit by assigning the empty string directly. The compability has been tested.

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