Re: Activation of Catalan in the DDTP
On Thu, 2006-10-05 at 05:21:51 +0300, Guillem Jover wrote:
> I'll add Catalan to the webwml/english/international/l10n/ddtp.wml if
> you don't mind.
I've done so already with the other fixes you proposed...
> Also does it have to be tweaked somewhere so that it appears as well
> in the stats at <http://ddtp.debian.net/>? Or is it going to appear
> after some time when it gets regenerated?
> (I was looking for the source, but I'm not sure the one I found
> in svn.debian.org is the one currently running).
I've found the source (reading the mailing list) at
<http://ddtp.debian.net/source/> but it does not seem to include the
stuff that produces the main page?
I'm attaching two patches against that source, though.
The first one adds linux as a variant for kernel, as the packages have
been renamed now, also I added a '-' at the end of ^kernel otherwise
it was matching stuff like kerneltop.
The other is a minor doc fix (the sv is justified from the
diff -Naur ddts.debian.net.old/Packages2db.pl ddts.debian.net/Packages2db.pl
--- ddts.debian.net.old/Packages2db.pl 2006-09-27 18:24:46.000000000 +0300
+++ ddts.debian.net/Packages2db.pl 2006-10-05 06:05:06.000000000 +0300
@@ -126,11 +126,11 @@
- $prioritize -= 1 if $package =~ /^kernel/i;
- $prioritize -= 1 if $package =~ /^kernel-source/i;
- $prioritize -= 2 if $package =~ /^kernel-patch/i;
- $prioritize -= 3 if $package =~ /^kernel-header/i;
- $prioritize += 3 if $package =~ /^kernel-image/i;
+ $prioritize -= 1 if $package =~ /^(linux|kernel)-/i;
+ $prioritize -= 1 if $package =~ /^(linux|kernel)-source/i;
+ $prioritize -= 2 if $package =~ /^(linux|kernel)-patch/i;
+ $prioritize -= 3 if $package =~ /^(linux|kernel)-header/i;
+ $prioritize += 3 if $package =~ /^(linux|kernel)-image/i;
$prioritize -= 2 if $package =~ /^lib/i;
$prioritize -= 1 if $package =~ /-doc$/i;
$prioritize -= 6 if $package =~ /-dev$/i;
diff -Naur ddts.debian.net.old/ddts/ddts-text/guides/guide.txt ddts.debian.net/ddts/ddts-text/guides/guide.txt
--- ddts.debian.net.old/ddts/ddts-text/guides/guide.txt 2006-09-27 18:25:22.000000000 +0300
+++ ddts.debian.net/ddts/ddts-text/guides/guide.txt 2006-10-05 06:22:50.000000000 +0300
@@ -16,20 +16,21 @@
+ hu (Hungarian)
pt_BR (Brazilian Portuguese)
+ sk (Slovak)
+ sv (Swedish)
+ ca (Catalan)