diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-26 22:19:57 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-02-26 22:19:57 +0100 |
commit | d4f15853e85fbf7e3dddd5332c5012d20a20a1bf (patch) | |
tree | ec55abeb9afb3bcddae03a0d3123d66a4e5a7017 | |
parent | 7f05c23231b7f77ccc155cdc229e1ae21267e0e5 (diff) | |
parent | 922c1909f828d32c74d4f465ec302610c7818a39 (diff) | |
download | nextcloud-server-d4f15853e85fbf7e3dddd5332c5012d20a20a1bf.tar.gz nextcloud-server-d4f15853e85fbf7e3dddd5332c5012d20a20a1bf.zip |
Merge pull request #7425 from owncloud/issue/7423
Translate string when an error occured while sending a forgot password mail
-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 { |