tools/update_frontend_locale_files.sh
author Wuzzy <Wuzzy2@mail.ru>
Sun, 05 Jul 2020 02:03:08 +0200
branchui-scaling
changeset 15672 b3c9f5463cee
parent 13511 b62b14aa88d4
permissions -rwxr-xr-x
[backport] Chat: Use Ctrl-A for 'select all' again (instead of Ctrl-B) Backport of 783959a6810b to branch ui-scaling by sheepluva
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13511
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     1
#!/bin/sh -
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     2
# Script to update all frontend locale files.
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     3
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     4
# HOW TO USE:
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     5
# - Run this script in the tools/ directory.
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     6
# Result: All .ts files in share/hedgewars/Data/Locale will be updated.
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     7
b62b14aa88d4 Document and clean up tools directory a bit
Wuzzy <Wuzzy2@mail.ru>
parents:
diff changeset
     8
lupdate ../QTfrontend -ts ../share/hedgewars/Data/Locale/hedgewars_*.ts