[Debian-l10n-commits] r2075 - in /dl10n/trunk: Changelog dl10n-pts

nekral-guest at users.alioth.debian.org nekral-guest at users.alioth.debian.org
Fri Jan 1 19:50:29 UTC 2010


Author: nekral-guest
Date: Fri Jan  1 19:50:29 2010
New Revision: 2075

URL: http://svn.debian.org/wsvn/?sc=1&rev=2075
Log:
	* dl10n-pts: Added generation date and database version
	* dl10n-pts: Added description of errors.

Modified:
    dl10n/trunk/Changelog
    dl10n/trunk/dl10n-pts

Modified: dl10n/trunk/Changelog
URL: http://svn.debian.org/wsvn/dl10n/trunk/Changelog?rev=2075&op=diff
==============================================================================
--- dl10n/trunk/Changelog (original)
+++ dl10n/trunk/Changelog Fri Jan  1 19:50:29 2010
@@ -1,3 +1,8 @@
+2010-01-01  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* dl10n-pts: Added generation date and database version
+	* dl10n-pts: Added description of errors.
+
 2010-01-01  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* MANIFEST: Updated list of files.

Modified: dl10n/trunk/dl10n-pts
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-pts?rev=2075&op=diff
==============================================================================
--- dl10n/trunk/dl10n-pts (original)
+++ dl10n/trunk/dl10n-pts Fri Jan  1 19:50:29 2010
@@ -202,7 +202,7 @@
 #
 EOF
 my $gmt = gmtime;
-print PKGLIST "# Generated on: ".(POSIX::strftime "%Y-%m-%d %H:%M:%S", @$gmt)." UTC\n";
+print PKGLIST "# Generated on: ".(POSIX::strftime "%Y-%m-%d %H:%M:%S", @$gmt)." UTC (db: ".$data->get_date().")\n";
 foreach my $pkg (sort keys %global_score) {
     my $pkgstatus = pkg_letter($pkg)."/$pkg.html";
     next unless (   (    (defined $global_score{$pkg}{debian})
@@ -235,9 +235,12 @@
         msgfmt -c -o /dev/null &lt;po file&gt;
       </pre>
     </div>
-    <pre style="border-style:solid;border-width:1px">
+    <div>
+      The following errors were found in $pkg 's PO files:
+      <pre style="border-style:solid;border-width:1px">
 $errors{$pkg}
-    </pre>
+      </pre>
+    </div>
     <div>
       Please ask the translator (identified by the Last-Translator field
       in the PO file), the language team (identified by the Language-Team
@@ -330,8 +333,16 @@
             print PKGSTATUS "</tr>\n";
         }
     }
+    my $date = strftime('%a, %d %b %Y %H:%M:%S %z', gmtime);
+    my $db_date = $data->get_date();
     print PKGSTATUS <<EOF;
     </table>
+    <p>
+      <small>Generated on $date (db: $db_date) by </small>
+    </p>
+    <p>
+      <small>Comments: <a href='mailto:debian-l10n-devel\@lists.alioth.debian.org'>Debian L10N Development Team</a></small>
+    </p>
   </body>
 </html>
 EOF




More information about the Debian-l10n-commits mailing list