Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/impersonate.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2022-04-05 12:59:40 +0300
committerGitHub <noreply@github.com>2022-04-05 12:59:40 +0300
commit220f5505ae81e603571d9404f2c22d4492ab2527 (patch)
treef8e9fd495ea594c939289d1920fe822fcccda74e
parentf7263f6e1826726961677eee67079f9c86a3e6d8 (diff)
l10n: Unification of messagesValdnet-patch-1
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
-rw-r--r--lib/Controller/SettingsController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/SettingsController.php b/lib/Controller/SettingsController.php
index dc1027e..087b3ef 100644
--- a/lib/Controller/SettingsController.php
+++ b/lib/Controller/SettingsController.php
@@ -127,7 +127,7 @@ class SettingsController extends Controller {
if ($user->getLastLogin() === 0) {
return new JSONResponse(
[
- 'message' => $this->l->t('Cannot impersonate the user because it was never logged in.'),
+ 'message' => $this->l->t('Cannot impersonate the user because it was never logged in'),
],
Http::STATUS_FORBIDDEN
);
@@ -136,7 +136,7 @@ class SettingsController extends Controller {
if ($user->getUID() === $currentUser->getUID()) {
return new JSONResponse(
[
- 'message' => $this->l->t('Cannot impersonate yourself.'),
+ 'message' => $this->l->t('Cannot impersonate yourself'),
],
Http::STATUS_FORBIDDEN
);