r515 - trunk/misc

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Feb 28 02:52:31 EST 2008


Author: icculus
Date: 2008-02-28 02:52:31 -0500 (Thu, 28 Feb 2008)
New Revision: 515

Modified:
   trunk/misc/localization2pot.pl
Log:
Output tweaks and proper .po header.


Modified: trunk/misc/localization2pot.pl
===================================================================
--- trunk/misc/localization2pot.pl	2008-02-28 07:36:41 UTC (rev 514)
+++ trunk/misc/localization2pot.pl	2008-02-28 07:52:31 UTC (rev 515)
@@ -9,17 +9,20 @@
 binmode(STDOUT, ":utf8");
 binmode(STDERR, ":utf8");
 
+my $now = `date '+%Y-%m-%d %H:%M:%S%z'`;
+chomp($now);
+
 my $svnver = `svnversion . 2>/dev/null`;
 chomp($svnver);
-$svnver = ", version svn-$svnver" if ($svnver ne '');
+$svnver = 'svn-' . (($svnver eq '') ? '???' : $svnver);
 
 print <<__EOF__;
-
 # MojoSetup; a portable, flexible installation application.
+#    http://icculus.org/mojosetup/
 #
 # Please see the file LICENSE.txt in the source's root directory.
 #
-# This file generated by localization2pot.pl${svnver} ...
+# This file generated by localization2pot.pl, version $svnver ...
 #
 #
 # NOTE: If you care about Unicode or ASCII chars above 127, this file _MUST_
@@ -43,6 +46,20 @@
 # Questions about the intent of a specific string can go to Ryan C. Gordon
 #  (icculus\@icculus.org).
 
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: mojosetup $svnver\\n"
+"Report-Msgid-Bugs-To: icculus\@icculus.org\\n"
+"POT-Creation-Date: $now\\n"
+"PO-Revision-Date: $now\\n"
+"Last-Translator: Ryan C. Gordon <icculus\@icculus.org>\\n"
+"Language-Team: Ryan C. Gordon <icculus\@icculus.org>\\n"
+"MIME-Version: 1.0\\n"
+"Content-Type: text/plain; charset=UTF-8\\n"
+"Content-Transfer-Encoding: 8bit\\n"
+
+
 __EOF__
 
 




More information about the mojosetup-commits mailing list