diff --git a/code/CMSMain.php b/code/CMSMain.php index 238caa05..a5ff4174 100755 --- a/code/CMSMain.php +++ b/code/CMSMain.php @@ -1311,12 +1311,12 @@ JS; PR_MEDIUM, "Item in permission selection identifying the admin section, with title and classname. Example: Access to Files & Images" ), $title), - 'category' => 'CMS Access' + Two => _t('Permission.CMS_ACCESS_CATEGORY', 'CMS Access') ); } $perms["CMS_ACCESS_LeftAndMain"] = array( 'name' => _t('CMSMain.ACCESSALLINTERFACES', 'Access to all CMS sections'), - 'category' => 'CMS Access', + Two => _t('Permission.CMS_ACCESS_CATEGORY', 'CMS Access'), 'sort' => -100 ); diff --git a/code/SecurityAdmin.php b/code/SecurityAdmin.php index d0f2261e..bdce356f 100644 --- a/code/SecurityAdmin.php +++ b/code/SecurityAdmin.php @@ -264,14 +264,14 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider { return array( 'EDIT_PERMISSIONS' => array( 'name' => _t('SecurityAdmin.EDITPERMISSIONS', 'Manage permissions for groups'), - 'category' => 'Roles and access permissions', - 'help' => 'Ability to edit Permissions and IP Addresses for a group. Requires "Access to Security".', + 'category' => _t('Permissions.PERMISSIONS_CATEGORY', 'Roles and access permissions'), + 'help' => _t('SecurityAdmin.EDITPERMISSIONS_HELP', 'Ability to edit Permissions and IP Addresses for a group. Requires "Access to Security".'), 'sort' => 0 ), 'APPLY_ROLES' => array( 'name' => _t('SecurityAdmin.APPLY_ROLES', 'Apply roles to groups'), - 'category' => 'Roles and access permissions', - 'help' => 'Ability to edit the roles assigned to a group. Requires "Access to Security.".', + 'category' => _t('Permissions.PERMISSIONS_CATEGORY', 'Roles and access permissions'), + 'help' => _t('SecurityAdmin.APPLY_ROLES_HELP', 'Ability to edit the roles assigned to a group. Requires "Access to Security.".'), 'sort' => 0 ) ); diff --git a/lang/en_US.php b/lang/en_US.php index 952e092d..9877ec03 100755 --- a/lang/en_US.php +++ b/lang/en_US.php @@ -408,11 +408,13 @@ $lang['en_US']['PageCommentInterface_singlecomment.ss']['ISNTSPAM'] = 'this comm $lang['en_US']['PageCommentInterface_singlecomment.ss']['ISSPAM'] = 'this comment is spam'; $lang['en_US']['PageCommentInterface_singlecomment.ss']['PBY'] = 'Posted by'; $lang['en_US']['PageCommentInterface_singlecomment.ss']['REMCOM'] = 'remove this comment'; +$lang['en_US']['Permission']['CMS_ACCESS_CATEGORY'] = 'CMS Access'; $lang['en_US']['PermissionRoleAdmin']['MENUTITLE'] = array( 'Roles', 100, 'Menu title' ); +$lang['en_US']['Permissions']['PERMISSIONS_CATEGORY'] = 'Roles and access permissions'; $lang['en_US']['ReportAdmin']['MENUTITLE'] = array( 'Reports', 100, @@ -431,7 +433,9 @@ $lang['en_US']['ReportAdmin_right.ss']['WELCOME2'] = array( ); $lang['en_US']['SecurityAdmin']['ADDMEMBER'] = 'Add Member'; $lang['en_US']['SecurityAdmin']['APPLY_ROLES'] = 'Apply roles to groups'; +$lang['en_US']['SecurityAdmin']['APPLY_ROLES_HELP'] = 'Ability to edit the roles assigned to a group. Requires "Access to Security.".'; $lang['en_US']['SecurityAdmin']['EDITPERMISSIONS'] = 'Manage permissions for groups'; +$lang['en_US']['SecurityAdmin']['EDITPERMISSIONS_HELP'] = 'Ability to edit Permissions and IP Addresses for a group. Requires "Access to Security".'; $lang['en_US']['SecurityAdmin']['MENUTITLE'] = array( 'Security', 100,