Update .pot file and it's generator.

This commit is contained in:
gdrooid 2014-08-30 21:14:08 +02:00
parent bfc12248bd
commit 69bb25e05b
2 changed files with 556 additions and 203 deletions

View File

@ -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