diff options
Diffstat (limited to 'lib')
-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') ]); } } |