tools/update_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Thu, 25 Apr 2019 23:01:05 +0200
changeset 14839 e239378a9400
parent 13511 b62b14aa88d4
permissions -rwxr-xr-x
Prevent entering “/”, “\” and “:” in team and scheme names. The name of teams and schems is saved in the file name itself, so these characters would cause trouble as they are used in path names in Linux and Windows.

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