Migrate ´ to '
This commit is contained in:
parent
cedca03ef5
commit
a53cfcb9d1
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
OC.Lostpassword = {
|
OC.Lostpassword = {
|
||||||
sendErrorMsg : t('core', 'Couldn’t send reset email. Please contact your administrator.'),
|
sendErrorMsg : t('core', 'Couldn\'t send reset email. Please contact your administrator.'),
|
||||||
|
|
||||||
sendSuccessMsg : t('core', 'The link to reset your password has been sent to your email. If you do not receive it within a reasonable amount of time, check your spam/junk folders.<br>If it is not there ask your local administrator.'),
|
sendSuccessMsg : t('core', 'The link to reset your password has been sent to your email. If you do not receive it within a reasonable amount of time, check your spam/junk folders.<br>If it is not there ask your local administrator.'),
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@ class LostController extends Controller {
|
||||||
|
|
||||||
if (!$this->userManager->userExists($user)) {
|
if (!$this->userManager->userExists($user)) {
|
||||||
throw new \Exception(
|
throw new \Exception(
|
||||||
$this->l10n->t('Couldn’t send reset email. Please make sure '.
|
$this->l10n->t('Couldn\'t send reset email. Please make sure '.
|
||||||
'your username is correct.'));
|
'your username is correct.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ class LostController extends Controller {
|
||||||
|
|
||||||
if (empty($email)) {
|
if (empty($email)) {
|
||||||
throw new \Exception(
|
throw new \Exception(
|
||||||
$this->l10n->t('Couldn’t send reset email because there is no '.
|
$this->l10n->t('Couldn\'t send reset email because there is no '.
|
||||||
'email address for this username. Please ' .
|
'email address for this username. Please ' .
|
||||||
'contact your administrator.')
|
'contact your administrator.')
|
||||||
);
|
);
|
||||||
|
@ -169,7 +169,7 @@ class LostController extends Controller {
|
||||||
);
|
);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw new \Exception($this->l10n->t(
|
throw new \Exception($this->l10n->t(
|
||||||
'Couldn’t send reset email. Please contact your administrator.'
|
'Couldn\'t send reset email. Please contact your administrator.'
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue