tools/check_translations.sh
author sheepluva
Mon, 05 Aug 2019 00:20:45 +0200
changeset 15300 f382ec6dba11
parent 14094 30565866db82
permissions -rwxr-xr-x
In hindsight my emscripten-ifdef (70d416a8f63f) is nonsense. As fpcrtl_glShaderSource() would not be defined and lead to compiling issues. So either it's 3 ifdefs (in pas2cRedo, pas2cSystem and misc.c), in order to toggle between fpcrtl_ and the native function, or alternatively have no ifdef for it at all. I'm going with none at all, which means emscripten will compile with the original (const) function prototype, being wrapped by the fpcrtl_ function, same as non-emscripten builds.

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