diff po/stats.pl @ 11466:eaa10266cd96

[gaim-migrate @ 13706] translation stats update (http://gaim.sf.net/l10n/ now points to statistics from HEAD instead of oldstatus) yes, I'll make the XSL prettier later. It's "good enough" for the moment committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Thu, 08 Sep 2005 05:11:07 +0000
parents e4868370c433
children 6aa833b18a05
line wrap: on
line diff
--- a/po/stats.pl	Wed Sep 07 16:20:39 2005 +0000
+++ b/po/stats.pl	Thu Sep 08 05:11:07 2005 +0000
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# Copyright 2003-2004 Nathan Walp <faceprint@faceprint.com>
+# Copyright 2003-2005 Nathan Walp <faceprint@faceprint.com>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -17,6 +17,8 @@
 # Foundation, Inc., 50 Temple Place, Suite 330, Boston, MA 02111-1307  USA
 #
 
+use POSIX qw(strftime);
+
 
 my $PACKAGE="gaim";
 
@@ -47,10 +49,11 @@
 die "unable to get total: $!" unless (/(\d+) untranslated messages/);
 
 $total = $1;
+$generated = strftime "%Y-%m-%d %H:%M:%S", gmtime;
 
 print "<?xml version='1.0'?>\n";
 print "<?xml-stylesheet type='text/xsl' href='l10n.xsl'?>\n";
-print "<project version='1.0' xmlns:l10n='http://faceprint.com/code/l10n' name='$PACKAGE' pofile='$PACKAGE.pot' strings='$total'>\n";
+print "<project version='1.0' xmlns:l10n='http://faceprint.com/code/l10n' name='$PACKAGE' pofile='$PACKAGE.pot' strings='$total' generated='$generated'>\n";
 
 foreach $index (0 .. $#pos) {
 	$trans = $fuzz = $untrans = 0;