mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Fixed wrong _t() notation in ChangePasswordForm (broken in r103226 and r104596)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@104598 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
bfee88a323
commit
17c67c7869
@ -414,10 +414,7 @@ $lang['en_US']['Member']['INTERFACELANG'] = array(
|
||||
PR_MEDIUM,
|
||||
'Language of the CMS'
|
||||
);
|
||||
$lang['en_US']['Member']['INVALIDNEWPASSWORD'] = array(
|
||||
'We couldn\'t accept that password: %s',
|
||||
nl2br("\n".$isValid->starredList(
|
||||
);
|
||||
$lang['en_US']['Member']['INVALIDNEWPASSWORD'] = 'We couldn\'t accept that password: %s';
|
||||
$lang['en_US']['Member']['LOGGEDINAS'] = 'You\'re logged in as %s.';
|
||||
$lang['en_US']['Member']['MOBILE'] = 'Mobile';
|
||||
$lang['en_US']['Member']['NAME'] = 'Name';
|
||||
|
@ -114,8 +114,9 @@ class ChangePasswordForm extends Form {
|
||||
} else {
|
||||
$this->clearMessage();
|
||||
$this->sessionMessage(
|
||||
_t('Member.INVALIDNEWPASSWORD', "We couldn't accept that password: %s", nl2br("\n".$isValid->starredList())),
|
||||
"bad");
|
||||
sprintf(_t('Member.INVALIDNEWPASSWORD', "We couldn't accept that password: %s"), nl2br("\n".$isValid->starredList())),
|
||||
"bad"
|
||||
);
|
||||
Director::redirectBack();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user