mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Using localized titles for permission formfields in PermissionRole and Member
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@99583 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
17272c2126
commit
246e866362
@ -82,10 +82,11 @@ class Group extends DataObject {
|
||||
new DropdownField('HtmlEditorConfig', 'HTML Editor Configuration', HtmlEditorConfig::get_available_configs_map()),
|
||||
new PermissionCheckboxSetField(
|
||||
'Permissions',
|
||||
'Permissions',
|
||||
singleton('Permission')->i18n_plural_name(),
|
||||
'Permission',
|
||||
'GroupID',
|
||||
$this)
|
||||
$this
|
||||
)
|
||||
),
|
||||
|
||||
new Tab(_t('Security.IPADDRESSES', 'IP Addresses'),
|
||||
|
@ -30,7 +30,7 @@ class PermissionRole extends DataObject {
|
||||
|
||||
$fields->addFieldToTab('Root.Main', new PermissionCheckboxSetField(
|
||||
'Codes',
|
||||
'Permissions',
|
||||
singleton('Permission')->i18n_plural_name(),
|
||||
'PermissionRoleCode',
|
||||
'RoleID'));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user