tools/update_frontend_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Wed, 08 Aug 2018 13:34:39 +0200
changeset 13640 cb0191394133
parent 13511 b62b14aa88d4
permissions -rwxr-xr-x
Use full string for sidFuel and avoid string concatenation Fuel as in fuel for saucer, landgun, flamethrower, icegun. Old string was built with like this: sidFuel + ": " + fuel + "%". New string us built with proper format string instead

#!/bin/sh -
# Script to update all frontend locale files.

# HOW TO USE:
# - Run this script in the tools/ directory.
# Result: All .ts files in share/hedgewars/Data/Locale will be updated.

lupdate ../QTfrontend -ts ../share/hedgewars/Data/Locale/hedgewars_*.ts