Commit 82795252 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

changed result count text in pagination to 'groups' rather than the default 'results'

parent a1ff0952
......@@ -130,7 +130,9 @@ $pagination = build_pagination(array(
'url' => 'find.php?filter=' . $filter . '&query=' . $query,
'count' => $groups['count'],
'limit' => $groupsperpage,
'offset' => $offset
'offset' => $offset,
'resultcounttextsingular' => get_string('group', 'group'),
'resultcounttextplural' => get_string('groups', 'group'),
));
function search_submit(Pieform $form, $values) {
......
......@@ -156,7 +156,9 @@ $pagination = build_pagination(array(
'url' => 'mygroups.php?filter=' . $filter,
'count' => $count,
'limit' => $groupsperpage,
'offset' => $offset
'offset' => $offset,
'resultcounttextsingular' => get_string('group', 'group'),
'resultcounttextplural' => get_string('groups', 'group'),
));
setup_groups($groups, 'mygroups');
......
......@@ -129,6 +129,8 @@ $string['groupsnotin'] = 'Groups I\'m not in';
$string['allgroups'] = 'All groups';
$string['trysearchingforgroups'] = 'Try %ssearching for groups%s to join!';
$string['nogroupsfound'] = 'No groups found :(';
$string['group'] = 'Group';
$string['groups'] = 'Groups';
// friendslist
$string['reasonoptional'] = 'Reason (optional)';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment