mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 09:05:55 +00:00
MINOR i18n'd a whole bunch of the new permission codes (from r90493)
This commit is contained in:
parent
45efdc80c0
commit
d2da1fe03e
@ -211,9 +211,9 @@ class GroupSubsites extends DataObjectDecorator implements PermissionProvider {
|
||||
function providePermissions() {
|
||||
return array(
|
||||
'SECURITY_SUBSITE_GROUP' => array(
|
||||
'name' => 'Manage subsites for groups',
|
||||
'category' => 'Roles and access permissions',
|
||||
'help' => 'Ability to limit the permissions for a group to one or more subsites.',
|
||||
'name' => _t('GroupSubsites.MANAGE_SUBSITES', 'Manage subsites for groups'),
|
||||
'category' => _t('Permissions.PERMISSIONS_CATEGORY', 'Roles and access permissions'),
|
||||
'help' => _t('GroupSubsites.MANAGE_SUBSITES_HELP', 'Ability to limit the permissions for a group to one or more subsites.'),
|
||||
'sort' => 200
|
||||
)
|
||||
);
|
||||
|
@ -548,9 +548,9 @@ JS;
|
||||
function providePermissions() {
|
||||
return array(
|
||||
'SUBSITE_ASSETS_CREATE_SUBSITE' => array(
|
||||
'name' => 'Manage assets for subsites',
|
||||
'category' => 'Roles and access permissions',
|
||||
'help' => 'Ability to select the subsite to which an asset folder belongs. Requires "Access to Files & Images."',
|
||||
'name' => _t('Subsite.MANAGE_ASSETS', 'Manage assets for subsites'),
|
||||
'category' => _t('Permissions.PERMISSIONS_CATEGORY', 'Roles and access permissions'),
|
||||
'help' => _t('Subsite.MANAGE_ASSETS_HELP', 'Ability to select the subsite to which an asset folder belongs. Requires "Access to Files & Images."'),
|
||||
'sort' => 300
|
||||
)
|
||||
);
|
||||
|
@ -10,8 +10,11 @@ $lang['en_US']['SubsiteAdmin']['MENUTITLE'] = array(
|
||||
$lang['en_US']['GroupSubsites']['ACCESSALL'] = 'All subsites';
|
||||
$lang['en_US']['GroupSubsites']['ACCESSONLY'] = 'Only these subsites';
|
||||
$lang['en_US']['GroupSubsites']['ACCESSRADIOTITLE'] = 'Give this group access to';
|
||||
$lang['en_US']['GroupSubsites']['MANAGE_SUBSITES'] = 'Manage subsites for groups';
|
||||
$lang['en_US']['GroupSubsites']['MANAGE_SUBSITES_HELP'] = 'Ability to limit the permissions for a group to one or more subsites.';
|
||||
$lang['en_US']['GroupSubsites']['SECURITYTABTITLE'] = 'Subsites';
|
||||
$lang['en_US']['ModelAdmin']['LOADEDFOREDITING'] = 'Loaded \'%s\' for editing.';
|
||||
$lang['en_US']['Permissions']['PERMISSIONS_CATEGORY'] = 'Roles and access permissions';
|
||||
$lang['en_US']['RelatedPageLink']['PLURALNAME'] = array(
|
||||
'Related Page Links',
|
||||
50,
|
||||
@ -22,6 +25,8 @@ $lang['en_US']['RelatedPageLink']['SINGULARNAME'] = array(
|
||||
50,
|
||||
'Singular name of the object, used in dropdowns and to generally identify a single object in the interface'
|
||||
);
|
||||
$lang['en_US']['Subsite']['MANAGE_ASSETS'] = 'Manage assets for subsites';
|
||||
$lang['en_US']['Subsite']['MANAGE_ASSETS_HELP'] = 'Ability to select the subsite to which an asset folder belongs. Requires "Access to Files & Images."';
|
||||
$lang['en_US']['Subsite']['PLURALNAME'] = array(
|
||||
'Subsits',
|
||||
50,
|
||||
|
Loading…
x
Reference in New Issue
Block a user