diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2021-04-12 16:17:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 16:17:23 +0300 |
commit | 84b6ded071f333c281b7cd18247179dae57e465a (patch) | |
tree | 1456ab449f79e38e3107679eaa57b18630b6973d | |
parent | 2599fd2fc59ff20b58dd5a7aee5f73bb36d35581 (diff) | |
parent | 9cbc840266ccd1e56b711876944c6e6efdce80ef (diff) |
Merge pull request #1485 from nextcloud/Valdnet-patch-1
l10n: Unify spelling
-rw-r--r-- | lib/Controller/DocumentController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Controller/DocumentController.php b/lib/Controller/DocumentController.php index 8235da68..7f40a601 100644 --- a/lib/Controller/DocumentController.php +++ b/lib/Controller/DocumentController.php @@ -521,14 +521,14 @@ class DocumentController extends Controller { } catch (NotFoundException $e) { return new JSONResponse([ 'status' => 'error', - 'message' => $this->l10n->t('Can\'t create document') + 'message' => $this->l10n->t('Cannot create document') ], Http::STATUS_BAD_REQUEST); } if (!($folder instanceof Folder)) { return new JSONResponse([ 'status' => 'error', - 'message' => $this->l10n->t('Can\'t create document') + 'message' => $this->l10n->t('Cannot create document') ], Http::STATUS_BAD_REQUEST); } @@ -597,7 +597,7 @@ class DocumentController extends Controller { return new JSONResponse([ 'status' => 'error', - 'message' => $this->l10n->t('Can\'t create document') + 'message' => $this->l10n->t('Cannot create document') ]); } } |