Make the 'Mail everyone on this page' message grammatically correct for the 1 user case

Bug #165946 r=timeless
This commit is contained in:
cls%seawood.org 2004-09-22 23:06:57 +00:00
Родитель 32b4f5eaea
Коммит 38f6d691cc
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -223,9 +223,11 @@ my $menu = "
<a href=cvsqueryform.cgi?$ENV{QUERY_STRING}>Modify Query</a>
";
if ($pCount) {
my $persons = "people";
$persons = "person" if ($pCount == 1);
$menu .= "
<br><a href=mailto:$s>Mail everyone on this page</a>
<NOBR>($pCount people)</NOBR>
<NOBR>($pCount $persons)</NOBR>
<br><a href=cvsquery.cgi?$ENV{QUERY_STRING}&generateBackoutCVSCommands=1>Show commands which could be used to back out these changes</a>
";
}