diff --git a/po/make_pot.sh b/po/make_pot.sh index 57d4c78e0..d13409431 100755 --- a/po/make_pot.sh +++ b/po/make_pot.sh @@ -39,12 +39,7 @@ find ../automation -name '*.lua' \ | sed 's/\\/\\\\\\\\/g' \ | maybe_append -for i in 'Name' 'GenericName' 'Comment' -do - grep ^_$i -n ../packages/desktop/aegisub.desktop.template.in \ - | sed 's/\([0-9]\+\):[^=]\+=\(.*\)$/aegisub.desktop|\1|"\2"/' \ - | maybe_append -done +xgettext ../packages/desktop/aegisub.desktop.template --language=Desktop --join-existing -o aegisub.pot if which xmlstarlet >/dev/null 2>&1 && which jq >/dev/null 2>&1; then for i in 'name' 'summary' 'p' 'li' 'caption'; do