Modify make_pot to use xgettext instead of grep
To match the change in af5060d6a3
This commit is contained in:
parent
0fbcaea871
commit
0e29c8d0e4
1 changed files with 1 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue