po/make_pot: sort lua files in POT

find may output matching files in any order.
To avoid unnecessary changes between regeneration
sort its output. For C++ sources xgettext’s --sort-by-file
already has an equivalent effect. All other files are already
statically listed in a fixed order.

Adopts part of: 4aee271d03
This commit is contained in:
Oneric 2023-04-29 01:04:13 +02:00
parent 5c00368e85
commit 87d810254c
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ grep '"[A-Za-z ]\+" : {' -n ../src/libresrc/default_hotkey.json \
| maybe_append
find ../automation -name *.lua \
| LC_ALL=C sort \
| xargs grep tr\"[^\"]\*\" -o -n \
| sed 's/\(.*\):\([0-9]\+\):tr\(".*"\)/\1|\2|\3/' \
| sed 's/\\/\\\\\\\\/g' \