MINOR i18n'd a whole bunch of the new permission codes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@90493 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Tom Rix 2009-10-30 01:43:34 +00:00
parent 8e2a5bf7c6
commit 1d281472ab
3 changed files with 10 additions and 6 deletions

View File

@ -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
);

View File

@ -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
)
);

View File

@ -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,