aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2012-01-01 19:35:23 -0500
committercash <cash.costello@gmail.com>2012-01-01 19:35:23 -0500
commit147223bc786833d539b3325db966a3a1eed44956 (patch)
treea7d072043c30b154dfc7bd89b14213be1230a7e0 /mod
parente04c580e7064c24104f29a8aed295381c351b4a4 (diff)
downloadelgg-147223bc786833d539b3325db966a3a1eed44956.tar.gz
elgg-147223bc786833d539b3325db966a3a1eed44956.tar.bz2
Fixes #2230 group acl names are not i18n friendly
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/languages/en.php1
-rw-r--r--mod/groups/start.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/mod/groups/languages/en.php b/mod/groups/languages/en.php
index 3623c95fc..a4a9e2b2b 100644
--- a/mod/groups/languages/en.php
+++ b/mod/groups/languages/en.php
@@ -62,6 +62,7 @@ $english = array(
'groups:search:title' => "Search for groups tagged with '%s'",
'groups:search:none' => "No matching groups were found",
'groups:search_in_group' => "Search in this group",
+ 'groups:acl' => "Group: %s",
'groups:activity' => "Group activity",
'groups:enableactivity' => 'Enable group activity',
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 09362cbbc..86a1da279 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -663,7 +663,7 @@ function group_access_options($group) {
ACCESS_PRIVATE => 'private',
ACCESS_LOGGED_IN => 'logged in users',
ACCESS_PUBLIC => 'public',
- $group->group_acl => 'Group: ' . $group->name,
+ $group->group_acl => elgg_echo('groups:acl', array($group->name)),
);
return $access_array;
}