Follow-up Comment #2, bug #11294 (project wesnoth):
The script is very simple apart from the node info stuff I didn't try to
understand as the contributor should be available still.
It's simply extracting every _ "..." sequence handling multi-line strings if
the domain is the same as given in the domain= parameter.
If a #textdomain declaration is inside a macro it's only valid until the end
of the macro.
Input is done by:
GetOptions ('directory=s' => \$toplevel,
'initialdomain=s' => \$initialdomain,
'domain=s' => \$domain);
Output seems to be:
print <<EOH
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\\n"
"Report-Msgid-Bugs-To: http://bugs.wesnoth.org/\\n"
"POT-Creation-Date: $date\\n"
EOH
;
# we must break this string to avoid triggering a bug in some po-mode
# installations, at save-time for this file
print "\"PO-Revision-Date: YEAR-MO-DA ", "HO:MI+ZONE\\n\"\n";
print <<EOH
"Last-Translator: FULL NAME <[EMAIL PROTECTED]>\\n"
"Language-Team: LANGUAGE <[EMAIL PROTECTED]>\\n"
"MIME-Version: 1.0\\n"
"Content-Type: text/plain; charset=UTF-8\\n"
"Content-Transfer-Encoding: 8bit\\n"
EOH
Followed by the sorted strings where the po format requires that none is
doubled, multiple occurences are only marked in the comment line.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11294>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs