Translate string when an error occured while sending a forgot password mail
Fix #7423
This commit is contained in:
parent
2f0db9af07
commit
922c1909f8
|
@ -69,7 +69,7 @@ class Controller {
|
|||
$defaults = new \OC_Defaults();
|
||||
\OC_Mail::send($email, $_POST['user'], $l->t('%s password reset', array($defaults->getName())), $msg, $from, $defaults->getName());
|
||||
} catch (Exception $e) {
|
||||
\OC_Template::printErrorPage( 'A problem occurs during sending the e-mail please contact your administrator.');
|
||||
\OC_Template::printErrorPage( $l->t('A problem has occurred whilst sending the email, please contact your administrator.') );
|
||||
}
|
||||
self::displayLostPasswordPage(false, true);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue