diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-02-26 15:19:42 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-02-26 17:29:47 +0100 |
commit | 922c1909f828d32c74d4f465ec302610c7818a39 (patch) | |
tree | 52886aa885c703a1d1c95ad35216fed4aab79d9d /core/lostpassword | |
parent | 2f0db9af07013655393ba199a1890fbf0e55ba0f (diff) | |
download | nextcloud-server-922c1909f828d32c74d4f465ec302610c7818a39.tar.gz nextcloud-server-922c1909f828d32c74d4f465ec302610c7818a39.zip |
Translate string when an error occured while sending a forgot password mail
Fix #7423
Diffstat (limited to 'core/lostpassword')
-rw-r--r-- | core/lostpassword/controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/lostpassword/controller.php b/core/lostpassword/controller.php index fd20c6ba249..c858696885b 100644 --- a/core/lostpassword/controller.php +++ b/core/lostpassword/controller.php @@ -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 { |