tools/update_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Sat, 02 Nov 2019 13:01:28 +0100
changeset 15501 5a30396f8fb2
parent 13511 b62b14aa88d4
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 update all Lua and frontend locale files.

# HOW TO USE:
# - Run this script in the tools/ directory.
# Result: All .ts and .lua files in share/hedgewars/Data/Locale will be updated.
# This will take a while!

./update_frontend_locale_files.sh
./update_lua_locale_files.sh