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:
Ingo Schommer 2008-10-03 18:30:27 +00:00
parent 21859d3d97
commit 6691187cac

View File

@ -964,6 +964,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