tools/check_translations.sh
author Wuzzy <Wuzzy2@mail.ru>
Thu, 25 Apr 2019 19:42:19 +0200
changeset 14832 769189675b6c
parent 14089 30565866db82
permissions -rwxr-xr-x
Add lookup table for Hedgewars key IDs instead of generating IDs on the fly This makes sure the key IDs never change. Previous implementation abused SDL_GetScancodeName to generate the IDs programmatically, which was not reliable and explicitly adviced against in the SDL documentation <https://wiki.libsdl.org/SDL_GetScancodeName#Remarks>.

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