tools/update_frontend_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Fri, 31 Aug 2018 21:34:33 +0200
changeset 13726 247d1bcf3c5e
parent 13511 b62b14aa88d4
permissions -rwxr-xr-x
Add 2nd optional parameter to HedgewarsScriptLoad. If false, its OK if file does not exist. Also, return true/false on success

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