[Debian-l10n-commits] dl10n branch master updated. 0fc303d5c8afe1b858266a8cf0445384deaad4e3

David Prévot taffit at alioth.debian.org
Sat Jul 6 21:41:52 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "dl10n".

The branch, master has been updated
       via  0fc303d5c8afe1b858266a8cf0445384deaad4e3 (commit)
      from  d980e7dd1733aff29c46f89f82a15aaffeeaf66e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

http://anonscm.debian.org/gitweb/?p=debian-l10n/dl10n.git;a=commitdiff;h=0fc303d5c8afe1b858266a8cf0445384deaad4e3

commit 0fc303d5c8afe1b858266a8cf0445384deaad4e3
Author: David Prévot <taffit at debian.org>
Date:   Sat Jul 6 17:39:30 2013 -0400

    Link graphs to data on www.d.o (Closes: #687225)

-----------------------------------------------------------------------

Summary of changes:
 dl10n-pts |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dl10n-pts b/dl10n-pts
index 286b75d..b04f755 100755
--- a/dl10n-pts
+++ b/dl10n-pts
@@ -27,6 +27,7 @@ my $IGNORE_FILE='';
 my $GENDIR="l10n-pkg-status";
 my $STATUS_FILE='./data/status.$lang';
 my $assume_bts = 0;
+my $WEBSITE='http://www.debian.org/international/l10n/';
 
 use Debian::L10n::Db;
 
@@ -324,11 +325,11 @@ EOF
     foreach my $lang (sort keys %{$langs{$pkg}}) {
         if ($lang ne "_" and $lang ne "__") {
             print PKGSTATUS "      <tr><td align=\"right\">$lang</td>";
-            print PKGSTATUS "<td>".graph_stats($score{$pkg}{"podebconf"}{$lang})."</td>"
+            print PKGSTATUS '<td><a href="'.$WEBSITE."po-debconf/$lang#$pkg\">".graph_stats($score{$pkg}{"podebconf"}{$lang}).'</a></td>'
                 if defined $score{$pkg}{"podebconf"};
-            print PKGSTATUS "<td>".graph_stats($score{$pkg}{"po"}{$lang})."</td>"
+            print PKGSTATUS '<td><a href="'.$WEBSITE."po/$lang#$pkg\">".graph_stats($score{$pkg}{"po"}{$lang}).'</a></td>'
                 if defined $score{$pkg}{"po"};
-            print PKGSTATUS "<td>".graph_stats($score{$pkg}{"po4a"}{$lang})."</td>"
+            print PKGSTATUS '<td><a href="'.$WEBSITE."po4a/$lang#$pkg\">".graph_stats($score{$pkg}{"po4a"}{$lang}).'</a></td>'
                 if defined $score{$pkg}{"po4a"};
             print PKGSTATUS "</tr>\n";
         }
-----------------------------------------------------------------------


hooks/post-receive
-- 
dl10n



More information about the Debian-l10n-commits mailing list