[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#256890: marked as done (www.debian.org: align figures in devel/website/stats/)



Your message dated Fri, 17 Sep 2004 01:46:27 +0200
with message-id <20040916234627.GJ2514@djpig.de>
and subject line Bug#256890: www.debian.org: align figures in devel/website/stats/
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Jun 2004 18:07:06 +0000
>From nico.bertol@free.fr Tue Jun 29 11:07:06 2004
Return-path: <nico.bertol@free.fr>
Received: from postfix3-1.free.fr [213.228.0.44] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BfN0c-0003lC-00; Tue, 29 Jun 2004 11:07:06 -0700
Received: from bertol (europe-1-82-227-82-133.fbx.proxad.net [82.227.82.133])
	by postfix3-1.free.fr (Postfix) with ESMTP id E06FD173743
	for <submit@bugs.debian.org>; Tue, 29 Jun 2004 20:07:04 +0200 (CEST)
Received: from nico by bertol with local (Exim 3.35 #1 (Debian))
	id 1BfN0Z-0003Ln-00; Tue, 29 Jun 2004 20:07:03 +0200
Date: Tue, 29 Jun 2004 20:07:03 +0200
From: Nicolas Bertolissio <nico.bertol@free.fr>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: www.debian.org: align figures in devel/website/stats/
Message-ID: <20040629180703.GA12872@free.fr>
Mail-Followup-To: Nicolas Bertolissio <nico.bertol@free.fr>,
	Debian Bug Tracking System <submit@bugs.debian.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="QTprm0S8XgL7H0Dt"
Content-Disposition: inline
X-Reportbug-Version: 2.61
User-Agent: Mutt/1.5.6+20040523i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--QTprm0S8XgL7H0Dt
Content-Type: multipart/mixed; boundary="azLHFNyN32YCQGCU"
Content-Disposition: inline


--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: www.debian.org
Severity: wishlist
Tags: patch

Hi,

it would be easier to read and compare number of pages by column if they
where aligned.

the attached patch looks like this with lynx:

=3D=3D=3D=3D=3D
                   Debian web site translation statistics

Translated web pages

   There are 2211 pages to translate.

      Language         Translations     Up to date    Outdated   Not transl=
ated
 [1]Arabic (ar)         8 (0%)           7 (88%)       1 (12%)   2203 (100%)
 [2]Bulgarian (bg)     23 (1%)          16 (70%)       7 (30%)   2188 (99%)
 [3]Catalan (ca)      147 (7%)         138 (94%)       9 (6%)    2064 (93%)
 [4]Chinese (zh-cn)   189 (9%)         163 (86%)      26 (14%)   4220 (91%)
 [5]Chinese (zh-tw)   189 (9%)         163 (86%)      26 (14%)   4220 (91%)
 [6]Croatian (hr)     271 (12%)        238 (88%)      33 (12%)   1940 (88%)
 [7]Czech (cs)          1 (0%)           0 (0%)        1 (100%)  2210 (100%)
[...]

Translated templates (gettext files)

   There are 835 strings to translate.

        Language       Up to date    Fuzzy   Not translated
   [61]Arabic (ar)     354 (42%)   107 (13%) 374 (45%)
   [62]Bulgarian (bg)  646 (77%)    25 (3%)  164 (20%)
   [63]Catalan (ca)    755 (90%)    12 (1%)   68 (8%)
   [64]Chinese (zh-cn) 326 (39%)    38 (5%)  471 (56%)
   [65]Chinese (zh-tw) 326 (39%)    38 (5%)  471 (56%)
   [66]Croatian (hr)   605 (72%)    19 (2%)  211 (25%)
   [67]Czech (cs)      145 (17%)     2 (0%)  688 (82%)
[...]
=3D=3D=3D=3D=3D

Regards


Nicolas Bertolissio

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=3Dfr_FR@euro, LC_CTYPE=3Dfr_FR@euro

--=20

--azLHFNyN32YCQGCU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="stattrans.pl.diff"
Content-Transfer-Encoding: quoted-printable

--- stattrans.pl	2004-05-08 17:56:10.000000000 +0200
+++ stattrans.0.pl	2004-06-29 19:52:19.000000000 +0200
@@ -447,7 +447,7 @@
=20
 print HTML $border_head;
 print HTML "<table width=3D\"100%\" border=3D0 bgcolor=3D\"#cdc9c9\">\n";
-print HTML "<tr><th>Language</th><th>Translations</th><th>Up to date</th><=
th>Outdated</th><th>Not translated</th></tr>\n";
+print HTML "<tr><th>Language</th><th colspan=3D\"2\">Translations</th><th =
colspan=3D\"2\">Up to date</th><th colspan=3D\"2\">Outdated</th><th colspan=
=3D\"2\">Not translated</th></tr>\n";
 foreach $lang (@search_in) {
     my @processed_langs =3D ($langs{$lang});
     @processed_langs =3D ("zh-cn", "zh-tw") if $langs{$lang} eq "zh";
@@ -459,11 +459,11 @@
=20
         print HTML "<tr>";
         printf HTML "<td><a href=3D\"%s.html\">%s</a> (%s)</td>", $l, ucfi=
rst $lang, $l;
-        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d (%d%%)</td>", $=
color_a, $wml{$lang}, $percent_a{$lang};
-        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d (%d%%)</td>", $=
color_t, $translated{$lang}, $percent_t{$lang};
-        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d (%d%%)</td>", $=
color_o, $outdated{$lang}, $percent_o{$lang};
-        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d (%d%%)</td>", $=
color_u, $untranslated{$lang}, $percent_u{$lang};
-        print HTML "</tr>\n",
+        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d</td><td>(%d%%)<=
/td>", $color_a, $wml{$lang}, $percent_a{$lang};
+        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d</td><td>(%d%%)<=
/td>", $color_t, $translated{$lang}, $percent_t{$lang};
+        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d</td><td>(%d%%)<=
/td>", $color_o, $outdated{$lang}, $percent_o{$lang};
+        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d</td><td>(%d%%)<=
/td>", $color_u, $untranslated{$lang}, $percent_u{$lang};
+        print HTML "</tr>\n";
     }
 }
 print HTML "</table>\n";
@@ -473,7 +473,7 @@
 printf HTML "<p>There are %d strings to translate.</p>\n",$po_total{'total=
'};
 print HTML $border_head;
 print HTML "<table width=3D\"100%\" border=3D0 bgcolor=3D\"#cdc9c9\">\n";
-print HTML "<tr><th>Language</th><th>Up to date</th><th>Fuzzy</th><th>Not =
translated</th></tr>\n";
+print HTML "<tr><th>Language</th><th colspan=3D\"2\">Up to date</th><th co=
lspan=3D\"2\">Fuzzy</th><th colspan=3D\"2\">Not translated</th></tr>\n";
 foreach $lang (@search_in) {
     next if $lang eq 'english';
     my @processed_langs =3D ($langs{$lang});
@@ -484,9 +484,9 @@
         $color_t =3D get_color ($percent_po_t{'total'}{$lang});
         $color_f =3D get_color (100 - $percent_po_f{'total'}{$lang});
         $color_u =3D get_color (100 - $percent_po_u{'total'}{$lang});
-        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d (%d%%)</td>", $=
color_t, $po_translated{'total'}{$lang}, $percent_po_t{'total'}{$lang};
-        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d (%d%%)</td>", $=
color_f, $po_fuzzy{'total'}{$lang}, $percent_po_f{'total'}{$lang};
-        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d (%d%%)</td>", $=
color_u, $po_untranslated{'total'}{$lang}, $percent_po_u{'total'}{$lang};
+        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d</td><td>(%d%%)<=
/td>", $color_t, $po_translated{'total'}{$lang}, $percent_po_t{'total'}{$la=
ng};
+        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d</td><td>(%d%%)<=
/td>", $color_f, $po_fuzzy{'total'}{$lang}, $percent_po_f{'total'}{$lang};
+        printf HTML "<td bgcolor=3D\"%s\" align=3Dright>%d</td><td>(%d%%)<=
/td>", $color_u, $po_untranslated{'total'}{$lang}, $percent_po_u{'total'}{$=
lang};
         print HTML "</tr>\n";
     }
 }

--azLHFNyN32YCQGCU--

--QTprm0S8XgL7H0Dt
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA4a/HPnQ0OX3ZAY0RAgqAAJ4tgtyzyTW2CktLDyXMHyEM/KnObwCfYDGS
8U5RpXzcWuoHxiY2wXXYvdI=
=Pj61
-----END PGP SIGNATURE-----

--QTprm0S8XgL7H0Dt--

---------------------------------------
Received: (at 256890-done) by bugs.debian.org; 16 Sep 2004 23:47:05 +0000
>From frank@lichtenheld.de Thu Sep 16 16:47:05 2004
Return-path: <frank@lichtenheld.de>
Received: from mail.sorgfalt.net [217.160.169.191] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C85xx-0007VA-00; Thu, 16 Sep 2004 16:47:05 -0700
Received: from p54808494.dip.t-dialin.net ([84.128.132.148] helo=djpig.djpig.de)
	by mail.sorgfalt.net with asmtp 
	(Cipher TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34 1)
	id 1C8604-0007fS-Jo
	for <256890-done@bugs.debian.org>; Fri, 17 Sep 2004 01:49:16 +0200
Received: from djpig by djpig.djpig.de with local (Exim 3.35 #1 (Debian))
	id 1C85xL-0004PB-00
	for <256890-done@bugs.debian.org>; Fri, 17 Sep 2004 01:46:27 +0200
Date: Fri, 17 Sep 2004 01:46:27 +0200
To: 256890-done@bugs.debian.org
Subject: Re: Bug#256890: www.debian.org: align figures in devel/website/stats/
Message-ID: <20040916234627.GJ2514@djpig.de>
References: <20040629180703.GA12872@free.fr> <20040916145502.GC2514@djpig.de> <20040916192344.GC3720@free.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20040916192344.GC3720@free.fr>
User-Agent: Mutt/1.5.6+20040722i
From: Frank Lichtenheld <frank@lichtenheld.de>
Delivered-To: 256890-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Thu, Sep 16, 2004 at 09:23:44PM +0200, Nicolas Bertolissio wrote:
> Le jeudi 16 septembre 2004, Frank Lichtenheld écrit :
> > On Tue, Jun 29, 2004 at 08:07:03PM +0200, Nicolas Bertolissio wrote:
> > > it would be easier to read and compare number of pages by column if they
> > > where aligned.
> > 
> > Any specific reasons why you haven't committed the patch yet?
> 
> Yes, I am not responsible for this script and I would like someone else
> check it even if I do think it works fine.

Hmm, ok. I think you certainly can be more aggressive about that but
as you wish ;) I applied your patch.

Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/



Reply to: