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 (from r99583)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99657 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
ba4bfaf6ff
commit
a179e144cb
@ -95,10 +95,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