mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Translated Member formfields through fieldLabels()
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@63629 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
21859d3d97
commit
6691187cac
@ -965,6 +965,18 @@ class Member extends DataObject {
|
||||
return $fields;
|
||||
}
|
||||
|
||||
function fieldLabels() {
|
||||
$labels = parent::fieldLabels();
|
||||
|
||||
$labels['FirstName'] = _t('Member.FIRSTNAME');
|
||||
$labels['Surname'] = _t('Member.SURNAME');
|
||||
$labels['Email'] = _t('Member.EMAIL');
|
||||
$labels['FirstName'] = _t('Member.FIRSTNAME');
|
||||
$labels['FirstName'] = _t('Member.FIRSTNAME');
|
||||
|
||||
return $labels;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unsubscribe from newsletter
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user