tools/update_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Mon, 17 Jun 2019 20:27:34 +0200
changeset 15171 2765731b378b
parent 13511 b62b14aa88d4
permissions -rwxr-xr-x
New formula to calculate drawn map sizes, now every FeatureSize leads to an unique size It works by using 4 hardcoded map sizes and the rest is simply interpolated. Size 1: 1024×512 Size 6: 2048×1024 Size 12: 4096×2048 (default, compatible with pre-1.0.0) Size 25: 8192×4096

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