Skip to content

Commit d589408

Browse files
committed
Also collect strings from .moon files in make_pot.sh
Fixes #380.
1 parent ef18d55 commit d589408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

po/make_pot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ grep '"[A-Za-z ]\+" : {' -n ../src/libresrc/default_hotkey.json \
3939
| sed 's/^\([0-9]\+:\).*\("[^"]\+"\).*$/default_hotkey.json|\1|\2/' \
4040
| maybe_append
4141

42-
find ../automation -name '*.lua' \
42+
find ../automation -name '*.lua' -o -name '*.moon' \
4343
| LC_ALL=C sort \
4444
| xargs grep 'tr"[^"]*"' -o -n \
4545
| sed 's/\(.*\):\([0-9]\+\):tr\(".*"\)/\1|\2|\3/' \

0 commit comments

Comments
 (0)