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:
Ingo Schommer 2010-02-22 04:37:34 +00:00
parent 17272c2126
commit 246e866362
2 changed files with 4 additions and 3 deletions

View File

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

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