From b820fb697582a3bac1d0088f61a400ead357715b Mon Sep 17 00:00:00 2001 From: Tom Rix Date: Wed, 28 Oct 2009 21:23:08 +0000 Subject: [PATCH] MINOR permission name changes git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90332 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CMSMain.php | 7 +++---- code/SecurityAdmin.php | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/code/CMSMain.php b/code/CMSMain.php index 58f7c7b5..d2b5a3d9 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1294,17 +1294,16 @@ JS; $perms["CMS_ACCESS_" . $class] = sprintf( _t( 'CMSMain.ACCESS', - "Access to '%s' (%s)", + "Access to '%s'", PR_MEDIUM, "Item in permission selection identifying the admin section, with title and classname. Example: Access to 'Files & Images' (AssetAdmin)" ), - $title, - $class + $title ); } $perms["CMS_ACCESS_LeftAndMain"] = _t( 'CMSMain.ACCESSALLINTERFACES', - 'Access to all CMS interfaces' + 'Access to all CMS sections' ); return $perms; } diff --git a/code/SecurityAdmin.php b/code/SecurityAdmin.php index 5f9c9301..b1f15337 100644 --- a/code/SecurityAdmin.php +++ b/code/SecurityAdmin.php @@ -262,7 +262,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { function providePermissions() { return array( - 'EDIT_PERMISSIONS' => _t('SecurityAdmin.EDITPERMISSIONS', 'Edit permissions and IP addresses on each group'), + 'EDIT_PERMISSIONS' => _t('SecurityAdmin.EDITPERMISSIONS', 'Manage permissions for groups'), ); } }