BUGFIX Fallback text for "Password" in ConfirmedPasswordField when no translation found

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@114719 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-12-08 22:06:33 +00:00 committed by Sam Minnee
parent 6d76f9040c
commit a87c743fc4

View File

@ -72,7 +72,7 @@ class ConfirmedPasswordField extends FormField {
$this->children = new FieldSet(
new PasswordField(
"{$name}[_Password]",
(isset($title)) ? $title : _t('Member.PASSWORD')),
(isset($title)) ? $title : _t('Member.PASSWORD', 'Password')),
new PasswordField(
"{$name}[_ConfirmPassword]",
(isset($titleConfirmField)) ? $titleConfirmField : _t('Member.CONFIRMPASSWORD', 'Confirm Password')