[Debtags-commits] [svn] r1454 - central-database/branches/alioth/webfrontend

Enrico Zini enrico at costa.debian.org
Mon Oct 31 13:32:31 UTC 2005


Author: enrico
Date: Mon Oct 31 13:32:30 2005
New Revision: 1454

Modified:
   central-database/branches/alioth/webfrontend/index.cgi
Log:
More fixes in the messages

Modified: central-database/branches/alioth/webfrontend/index.cgi
==============================================================================
--- central-database/branches/alioth/webfrontend/index.cgi	(original)
+++ central-database/branches/alioth/webfrontend/index.cgi	Mon Oct 31 13:32:30 2005
@@ -339,15 +339,18 @@
 {
 	$curpkgs_intro .= "More packages can be found by further refining the selection."
 } else {
+	my $cp_verb;
 	if ($sub == 1) {
 		$curpkgs_intro .= "<b>One</b> package from ";
+		$cp_verb = "is";
 	} else {
 		$curpkgs_intro .= "<b>$sub</b> packages from ";
+		$cp_verb = "are";
 	}
 	if ($subgroup_count == 1) {
-		$curpkgs_intro .= "<b>one</b> subgroup are$curpkgs_also displayed below.";
+		$curpkgs_intro .= "<b>one</b> subgroup $cp_verb$curpkgs_also displayed below.";
 	} else {
-		$curpkgs_intro .= "<b>$subgroup_count</b> subgroups are$curpkgs_also displayed below.";
+		$curpkgs_intro .= "<b>$subgroup_count</b> subgroups $cp_verb$curpkgs_also displayed below.";
 	}
 }
 $template->param(PKGS_INTRO => $curpkgs_intro);



More information about the Debtags-commits mailing list