FIX. Use i18n_plural_name() instead of plural_name()

This commit is contained in:
Elvinas L. 2015-01-13 15:31:17 +02:00
parent cf9c6666dd
commit ab24ed3bea

View File

@ -281,7 +281,7 @@ class SecurityAdmin extends LeftAndMain implements PermissionProvider {
$firstCrumb = $crumbs->shift();
if($params['FieldName'] == 'Groups') {
$crumbs->unshift(new ArrayData(array(
'Title' => singleton('Group')->plural_name(),
'Title' => singleton('Group')->i18n_plural_name(),
'Link' => $this->Link('groups')
)));
} elseif($params['FieldName'] == 'Users') {