mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed wrong _t() notation in ChangePasswordForm (broken in r103226 and r104596) (from r104598)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112356 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
079167ccac
commit
3a6b79a6f3
@ -412,10 +412,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…
Reference in New Issue
Block a user