aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/languages/en.php4
-rw-r--r--mod/groups/views/default/groups/grouplisting.php4
2 files changed, 5 insertions, 3 deletions
diff --git a/mod/groups/languages/en.php b/mod/groups/languages/en.php
index 0a8367b90..4b583683e 100644
--- a/mod/groups/languages/en.php
+++ b/mod/groups/languages/en.php
@@ -43,6 +43,8 @@
'groups:cantedit' => 'You can not edit this group',
'groups:saved' => 'Group saved',
'groups:featured' => 'Featured groups',
+ 'groups:makeunfeatured' => 'Unfeature',
+ 'groups:makefeatured' => 'Make featured',
'groups:featuredon' => 'You have made this group a featured one.',
'groups:unfeature' => 'You have removed this group from the featured list',
'groups:joinrequest' => 'Request membership',
@@ -134,7 +136,7 @@
'groups:notowner' => 'Sorry, you are not the owner of this group.',
'groups:alreadymember' => 'You are already a member of this group!',
'groups:userinvited' => 'User has been invited.',
- 'groups:usernotinvited' => 'User could not be invited.',
+ 'groups:usernotinvited' => 'User could not be invited.',
'groups:useralreadyinvited' => 'User has already been invited',
'groups:updated' => "Last comment",
'groups:invite:subject' => "%s you have been invited to join %s!",
diff --git a/mod/groups/views/default/groups/grouplisting.php b/mod/groups/views/default/groups/grouplisting.php
index 516f8ad98..b82976d22 100644
--- a/mod/groups/views/default/groups/grouplisting.php
+++ b/mod/groups/views/default/groups/grouplisting.php
@@ -28,10 +28,10 @@
//for admins display the feature or unfeature option
if($vars['entity']->featured_group == "yes"){
$url = $vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&action=unfeature";
- $wording = "Unfeature";
+ $wording = elgg_echo("groups:makeunfeatured");
}else{
$url = $vars['url'] . "action/groups/featured?group_guid=" . $vars['entity']->guid . "&action=feature";
- $wording = "Make featured";
+ $wording = elgg_echo("groups:makefeatured");
}
$info .= "<div class=\"groupdetails\"><p>" . $mem . " / <b>" . get_group_members($vars['entity']->guid, 10, 0, 0, true) ."</b> " . elgg_echo("groups:member") . "</p>";