[Debian-l10n-commits] r2844 - /dl10n/trunk/dl10n-nmu
bubulle at users.alioth.debian.org
bubulle at users.alioth.debian.org
Tue Jan 17 21:05:17 UTC 2012
Author: bubulle
Date: Tue Jan 17 21:05:16 2012
New Revision: 2844
URL: http://svn.debian.org/wsvn/?sc=1&rev=2844
Log:
Change scores for languages
Modified:
dl10n/trunk/dl10n-nmu
Modified: dl10n/trunk/dl10n-nmu
URL: http://svn.debian.org/wsvn/dl10n/trunk/dl10n-nmu?rev=2844&op=diff
==============================================================================
--- dl10n/trunk/dl10n-nmu (original)
+++ dl10n/trunk/dl10n-nmu Tue Jan 17 21:05:16 2012
@@ -58,7 +58,7 @@
$pkg = $soap_status->{$bug_nb}->{package} unless (defined $pkg and $pkg ne "");
my $date = $soap_status->{$bug_nb}->{date};
#these packages are skipped in the database
- next if ($pkg =~ /(kde-i18n|wordtrans|kernel-image-2\.4\.27-m68k|manpages|debian-med|pptpd)/);
+ next if ($pkg =~ /(kde-i18n|wordtrans|kernel-image-2\.4\.27-m68k|manpages|debian-med|pptpd|lintian)/);
my @tags = $soap_status->{$bug_nb}->{tags};
next if (grep ( /^fixed$/, @tags ));
my $bug_title = $soap_status->{$bug_nb}->{subject};
@@ -71,7 +71,15 @@
$pop->{$pkg} = 1;
}
my $coeff = 1;
- $coeff = 5 if ($bug_title =~ /Please switch to gettext-based debconf template/);
+ $coeff = 15 if ($bug_title =~ /Please switch to gettext-based debconf template/);
+ # Languages targeting 100%
+ $coeff = 8 if ($bug_title =~ /(Czech|German|Spanish|French|Portuguese|Russian|Swedish)/);
+ # Languages targeting 100% in long term with a systematic effort
+ $coeff = 5 if ($bug_title =~ /(Danish|Dutch)/);
+ # Languages not so far from 100% but with more hectic effort
+ $coeff = 3 if ($bug_title =~ /(Japanese|Vietnamese)/);
+ # To avoid catching Brazilian when catching Portuguese
+ $coeff = 1 if ($bug_title =~ /(Brazilian)/);
if (not $bug_title eq "gdm does not use gettext-based debconf templates; see README.Debian") {
$packages->{$pkg}->{score} += ((time - $date) / (60 * 60 * 24 * 7) * $coeff * $pop->{$pkg});
}
More information about the Debian-l10n-commits
mailing list