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

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
HOT-NEWs-sv_SE.txt file).

regards,
guillem

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 @@
 			$package=$1;
 			$source=$1;
 			$prioritize=40;
-			$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 @@
   de (German)
   cs (Czech)
   fr (French)
-  hu
+  hu (Hungarian)
   it (Italian)
   ja (Japanese)
   nl (Dutch)
   pl (Polish)
   pt_BR (Brazilian Portuguese)
   ru (Russian)
-  sk
-  sv_SE
+  sk (Slovak)
+  sv (Swedish)
   uk (Ukrainian)
   es (Spanish)
   eo (Esperanto)
   fi (Finnish)
   ko (Korean)
+  ca (Catalan)
 
 
 Notes:

Reply to: