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

Bug#146893: marked as done (www.debian.org: Translation statistics for outdates are misleading)



Your message dated Tue, 14 May 2002 12:43:54 +0200
with message-id <200205141044.g4EAhse5029289@chico.rediris.es>
and subject line Bug#146893: www.debian.org: Translation statistics for outdates are misleading
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; 14 May 2002 05:59:41 +0000
>From egonw@garak.sci.kun.nl Tue May 14 00:59:41 2002
Return-path: <egonw@garak.sci.kun.nl>
Received: from garak.sci.kun.nl (garak) [131.174.9.35] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 177VLZ-00043o-00; Tue, 14 May 2002 00:59:41 -0500
Received: from egonw by garak with local (Exim 3.35 #1 (Debian))
	id 177VNp-0000Cy-00; Tue, 14 May 2002 08:02:01 +0200
From: Egon Willighagen <egonw@sci.kun.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: www.debian.org: Translation statistics for outdates are misleading
X-Mailer: reportbug 1.50
Date: Tue, 14 May 2002 08:02:00 +0200
Message-Id: <[🔎] E177VNp-0000Cy-00@garak>
Sender: Egon Willighagen <egonw@garak.sci.kun.nl>
Delivered-To: submit@bugs.debian.org

Package: www.debian.org
Version: N/A; reported 2002-05-14
Severity: normal
Tags: patch

first of all thanx to the one setting up the translation statistics [1]...
It makes keeping the translations uptodate a lot easier...

However, I do have a comment on the percentage that is uptodate...
(Not sure someone did so before...) Wouldn't it make more sense to
say that when 40 out of 40 files (e.g. dutch) are uptodate that the percentage 
that is uptodate equals 100%? A red color (=bad) for a translation that is 
completely uptodate is a bit of a downer...

And along the same line, a green color (=ok) when 77 files out of the 132 are
outdated (e.g. Korean, please do not take this personal ;) is a bit to 
positive..

The diff on stattrans.pl in CVS (v 1.38) [2] should be rather easy. Something 
like:

266,267c266,267
<     $percent_t{$lang} = int ($translated{$lang}/$nfiles * 100 + .5);
<     $percent_o{$lang} = $percent_a{$lang} - $percent_t{$lang};
---
>     $percent_t{$lang} = int ($translated{$lang}/$wml{$lang} * 100 + .5);
>     $percent_o{$lang} = 100 - $percent_t{$lang};

Egon

1. http://www.debian.org/devel/website/stats/
2. http://cvs.debian.org/webwml/stattrans.pl?cvsroot=webwml


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux garak 2.4.9 #1 Thu Oct 25 13:08:37 CEST 2001 i686
Locale: LANG=en_US, LC_CTYPE=en_US


---------------------------------------
Received: (at 146893-close) by bugs.debian.org; 14 May 2002 10:44:07 +0000
>From ender@debian.org Tue May 14 05:44:07 2002
Return-path: <ender@debian.org>
Received: from chico.rediris.es [130.206.1.3] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 177Zmo-0003YE-00; Tue, 14 May 2002 05:44:07 -0500
Received: from there (snuggle.rediris.es [130.206.1.171])
	by chico.rediris.es (8.12.1/8.9.1) with SMTP id g4EAhse5029289;
	Tue, 14 May 2002 12:44:01 +0200 (CEST)
Message-Id: <200205141044.g4EAhse5029289@chico.rediris.es>
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Martinez Moreno <ender@debian.org>
To: Egon Willighagen <egonw@sci.kun.nl>, 146893-close@bugs.debian.org
Subject: Re: Bug#146893: www.debian.org: Translation statistics for outdates are misleading
Date: Tue, 14 May 2002 12:43:54 +0200
X-Mailer: KMail [version 1.3.2]
References: <[🔎] E177VNp-0000Cy-00@garak>
In-Reply-To: <[🔎] E177VNp-0000Cy-00@garak>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Delivered-To: 146893-close@bugs.debian.org

On Tue 14 May 2002 08:02, Egon Willighagen wrote:
> And along the same line, a green color (=ok) when 77 files out of the 132
> are outdated (e.g. Korean, please do not take this personal ;) is a bit to
> positive..
>
> The diff on stattrans.pl in CVS (v 1.38) [2] should be rather easy.
> Something like:
>
> 266,267c266,267
> <     $percent_t{$lang} = int ($translated{$lang}/$nfiles * 100 + .5);
> <     $percent_o{$lang} = $percent_a{$lang} - $percent_t{$lang};
> ---
>
> >     $percent_t{$lang} = int ($translated{$lang}/$wml{$lang} * 100 + .5);
> >     $percent_o{$lang} = 100 - $percent_t{$lang};

	You're completely right. :-)

	The changes are committed to CVS. Thank you very much for the patch.


		Ender.
-- 
 Why is a cow? Mu. (Ommmmmmmmmm)
--
Servicios de red - Network services
Centro de Comunicaciones CSIC/RedIRIS
Spanish Academic Network for Research and Development
Madrid (Spain)
Tlf (+34) 91.585.49.05


-- 
To UNSUBSCRIBE, email to debian-www-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: