From 206e7566f091e831fdaf5fd580a03cf7cdfb07d9 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 10 Mar 2009 08:32:49 +0000 Subject: missing strings added git-svn-id: https://code.elgg.org/elgg/trunk@3149 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/languages/en.php | 4 +++- mod/groups/views/default/groups/grouplisting.php | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'mod/groups') 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 .= "

" . $mem . " / " . get_group_members($vars['entity']->guid, 10, 0, 0, true) ." " . elgg_echo("groups:member") . "

"; -- cgit v1.2.3