tools/update_frontend_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Thu, 04 Oct 2018 19:04:27 +0200
changeset 13832 10a3b80130b5
parent 13511 b62b14aa88d4
permissions -rwxr-xr-x
Change syntax for Format/FormatA, remove array in function to be friendlier to Pas2C This fixes a problem with Pas2C, but the price to pay is uglier code. :(

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