MINOR permission name changes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90332 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Tom Rix 2009-10-28 21:23:08 +00:00
parent 22702dc8a4
commit b820fb6975
2 changed files with 4 additions and 5 deletions

View File

@ -1294,17 +1294,16 @@ JS;
$perms["CMS_ACCESS_" . $class] = sprintf( $perms["CMS_ACCESS_" . $class] = sprintf(
_t( _t(
'CMSMain.ACCESS', 'CMSMain.ACCESS',
"Access to '%s' (%s)", "Access to '%s'",
PR_MEDIUM, PR_MEDIUM,
"Item in permission selection identifying the admin section, with title and classname. Example: Access to 'Files & Images' (AssetAdmin)" "Item in permission selection identifying the admin section, with title and classname. Example: Access to 'Files & Images' (AssetAdmin)"
), ),
$title, $title
$class
); );
} }
$perms["CMS_ACCESS_LeftAndMain"] = _t( $perms["CMS_ACCESS_LeftAndMain"] = _t(
'CMSMain.ACCESSALLINTERFACES', 'CMSMain.ACCESSALLINTERFACES',
'Access to all CMS interfaces' 'Access to all CMS sections'
); );
return $perms; return $perms;
} }

View File

@ -262,7 +262,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
function providePermissions() { function providePermissions() {
return array( return array(
'EDIT_PERMISSIONS' => _t('SecurityAdmin.EDITPERMISSIONS', 'Edit permissions and IP addresses on each group'), 'EDIT_PERMISSIONS' => _t('SecurityAdmin.EDITPERMISSIONS', 'Manage permissions for groups'),
); );
} }
} }