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

Bug#146893: www.debian.org: Translation statistics for outdates are misleading



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



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



Reply to: