internationalize the warning in the Operation/User.pm for not displaying users when there are more than 250 of them

This commit is contained in:
Colin Kuskie 2007-11-05 16:15:04 +00:00
parent c6948b62d0
commit b6bab1723a
2 changed files with 6 additions and 1 deletions

View file

@ -638,7 +638,7 @@ sub www_listUsers {
my $output = getUserSearchForm($session,"listUsers");
my ($userCount) = $session->db->quickArray("select count(*) from users");
if($userCount > 250) {
$output .= "<p>There are over 250 users. Please use the search to find users.</p>\n";
$output .= $i18n->get('high user count');
}
return _submenu($session,{workarea => $output}) unless ($session->form->process("doit") || $userCount<250 || $session->form->process("pn") > 1);

View file

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