Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Using localized titles for permission formfields in PermissionR…

…ole and Member

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@99583 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
commit 246e86636229fee32d35502484a7dcd5811162cd 1 parent 17272c2
Ingo Schommer chillu authored
Showing with 4 additions and 3 deletions.
  1. +3 −2 security/Group.php
  2. +1 −1  security/PermissionRole.php
5 security/Group.php
View
@@ -82,10 +82,11 @@ public function getCMSFields() {
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'),
2  security/PermissionRole.php
View
@@ -30,7 +30,7 @@ function getCMSFields() {
$fields->addFieldToTab('Root.Main', new PermissionCheckboxSetField(
'Codes',
- 'Permissions',
+ singleton('Permission')->i18n_plural_name(),
'PermissionRoleCode',
'RoleID'));
Please sign in to comment.
Something went wrong with that request. Please try again.