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:
Ingo Schommer 2010-02-23 00:54:13 +00:00 committed by Sam Minnee
parent ba4bfaf6ff
commit a179e144cb
2 changed files with 4 additions and 3 deletions

View File

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

View File

@ -30,7 +30,7 @@ class PermissionRole extends DataObject {
$fields->addFieldToTab('Root.Main', new PermissionCheckboxSetField(
'Codes',
'Permissions',
singleton('Permission')->i18n_plural_name(),
'PermissionRoleCode',
'RoleID'));