internationalized the high group count message

This commit is contained in:
Colin Kuskie 2007-11-09 16:05:11 +00:00
parent fd772980e4
commit a894e6a879
2 changed files with 6 additions and 1 deletions

View file

@ -615,7 +615,7 @@ sub www_listGroups {
my $output = getGroupSearchForm($session, "listGroups");
my ($groupCount) = $session->db->quickArray("select count(*) from groups where isEditable=1");
if($groupCount > 250) {
$output .= "<p>There are over 250 groups. Please use the search to find a group.</p>\n";
$output .= $i18n->get('high group count');
}
return _submenu($session,$output) unless ($session->form->process("doit") || $groupCount<250 || $session->form->process("pn") > 1);
$output .= '<table border="1" cellpadding="5" cellspacing="0" align="center">';

View file

@ -3915,6 +3915,11 @@ LongTruncOk=1</p>
lastUpdated => 1193196211,
},
'high group count' => {
message => q{<p>There are over 250 groups. Please use the search to find a group.</p>},
lastUpdated => 1193196211,
},
};
1;