mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
po/make_pot: also update PO files
While meson already provides the aegisub-update-po target for this exact purpose, it insists on also running meson’s aegisub-pot target first, leading to missing translation strings.
This commit is contained in:
parent
0e9dd4b311
commit
a6cf70ba59
@ -54,3 +54,9 @@ do
|
|||||||
| sed 's/[^=]*=\(.*\)/packages\/win_installer\/fragment_strings.iss|1|"\1"/' \
|
| sed 's/[^=]*=\(.*\)/packages\/win_installer\/fragment_strings.iss|1|"\1"/' \
|
||||||
| maybe_append
|
| maybe_append
|
||||||
done
|
done
|
||||||
|
|
||||||
|
for lang in $(cat LINGUAS) ; do
|
||||||
|
# If using gettext < 0.21, run twice to avoid reversing order of old strings
|
||||||
|
# ref: https://savannah.gnu.org/bugs/?58778
|
||||||
|
msgmerge --update --backup=none --no-fuzzy-matching --sort-by-file "$lang".po aegisub.pot
|
||||||
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user