mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
"lost password" translation master (fixes #2725)
This commit is contained in:
parent
ca0c56e203
commit
23371b01aa
@ -477,6 +477,7 @@ en:
|
||||
ERRORPASSWORDPERMISSION: 'You must be logged in in order to change your password!'
|
||||
LOGGEDOUT: 'You have been logged out. If you would like to log in again, enter your credentials below.'
|
||||
LOGIN: 'Log in'
|
||||
LOSTPASSWORDHEADER: 'Lost Password'
|
||||
NOTEPAGESECURED: 'That page is secured. Enter your credentials below and we will send you right along.'
|
||||
NOTERESETLINKINVALID: '<p>The password reset link is invalid or expired.</p><p>You can request a new one <a href="{link1}">here</a> or change your password after you <a href="{link2}">logged in</a>.</p>'
|
||||
NOTERESETPASSWORD: 'Enter your e-mail address and we will send you a link with which you can reset your password'
|
||||
|
@ -549,7 +549,7 @@ class Security extends Controller {
|
||||
public function passwordsent($request) {
|
||||
if(class_exists('SiteTree')) {
|
||||
$tmpPage = new Page();
|
||||
$tmpPage->Title = _t('Security.LOSTPASSWORDHEADER');
|
||||
$tmpPage->Title = _t('Security.LOSTPASSWORDHEADER', 'Lost Password');
|
||||
$tmpPage->URLSegment = 'Security';
|
||||
$tmpPage->ID = -1; // Set the page ID to -1 so we dont get the top level pages as its children
|
||||
$controller = Page_Controller::create($tmpPage);
|
||||
|
Loading…
Reference in New Issue
Block a user