mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 10:38:59 +00:00
Update .pot file and it's generator.
This commit is contained in:
parent
bfc12248bd
commit
69bb25e05b
@ -35,22 +35,40 @@ msgstr ""
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
cat ../../tomb | awk '
|
cat ../../tomb | awk '
|
||||||
/(_verbose|xxx) ".*"$/ { sub( /^(_verbose|xxx)/ , "");
|
/_verbose ".*"/ {
|
||||||
print "#: _verbose"; shift; print "msgid " substr($0, index($0,$2)); print "msgstr \"\"\n" }
|
split($0, arr, "\"");
|
||||||
|
print "#: _verbose";
|
||||||
|
print "msgid \"" arr[2] "\"";
|
||||||
|
print "msgstr \"\"\n" }
|
||||||
|
|
||||||
/(_success|yes) ".*"$/ { sub( /^(_success|yes)/ , "");
|
/_success ".*"/ {
|
||||||
print "#: _success"; print "msgid " substr($0, index($0,$2)); print "msgstr \"\"\n" }
|
split($0, arr, "\"");
|
||||||
|
print "#: _success";
|
||||||
|
print "msgid \"" arr[2] "\"";
|
||||||
|
print "msgstr \"\"\n" }
|
||||||
|
|
||||||
/(_warning|no) ".*"$/ { sub( /^(_warning|no)/ , "");
|
/_warning ".*"/ {
|
||||||
print "#: _warning"; print "msgid " substr($0, index($0,$2)); print "msgstr \"\"\n" }
|
split($0, arr, "\"");
|
||||||
|
print "#: _warning";
|
||||||
|
print "msgid \"" arr[2] "\"";
|
||||||
|
print "msgstr \"\"\n" }
|
||||||
|
|
||||||
/(_failure|die) ".*"$/ { sub( /^(_failure|die)/ , "");
|
/_failure ".*"/ {
|
||||||
print "#: _failure"; print "msgid " substr($0, index($0,$2)); print "msgstr \"\"\n" }
|
split($0, arr, "\"");
|
||||||
|
print "#: _failure";
|
||||||
|
print "msgid \"" arr[2] "\"";
|
||||||
|
print "msgstr \"\"\n" }
|
||||||
|
|
||||||
/(_message|say) ".*"$/ { sub( /^(_message|say)/ , "");
|
/_message ".*"/ {
|
||||||
print "#: _message"; print "msgid " substr($0, index($0,$2)); print "msgstr \"\"\n" }
|
split($0, arr, "\"");
|
||||||
|
print "#: _message";
|
||||||
|
print "msgid \"" arr[2] "\"";
|
||||||
|
print "msgstr \"\"\n" }
|
||||||
|
|
||||||
/(_message -n|act) ".*"$/ { sub( /^(_message -n|act)/ , "");
|
/_message -n ".*"/ {
|
||||||
print "#: _message -n"; print "msgid " substr($0, index($0,$2)); print "msgstr \"\"\n" }
|
split($0, arr, "\"");
|
||||||
|
print "#: _message -n";
|
||||||
|
print "msgid \"" arr[2] "\"";
|
||||||
|
print "msgstr \"\"\n" }
|
||||||
'
|
'
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user