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

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Controller/FileHandlingController.php2
-rw-r--r--lib/Controller/PublicFileHandlingController.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/FileHandlingController.php b/lib/Controller/FileHandlingController.php
index 6fde7e6..bb269bc 100644
--- a/lib/Controller/FileHandlingController.php
+++ b/lib/Controller/FileHandlingController.php
@@ -84,7 +84,7 @@ class FileHandlingController extends Controller {
$file = $this->userFolder->get($path);
if ($file instanceof Folder) {
- return new DataResponse(['message' => $this->l->t('You can not open a folder.')], Http::STATUS_BAD_REQUEST);
+ return new DataResponse(['message' => $this->l->t('You cannot open a folder.')], Http::STATUS_BAD_REQUEST);
}
// default of 4MB
diff --git a/lib/Controller/PublicFileHandlingController.php b/lib/Controller/PublicFileHandlingController.php
index 47e0ac4..e81187e 100644
--- a/lib/Controller/PublicFileHandlingController.php
+++ b/lib/Controller/PublicFileHandlingController.php
@@ -93,7 +93,7 @@ class PublicFileHandlingController extends Controller {
}
if ($node instanceof Folder) {
- return new DataResponse(['message' => $this->l->t('You can not open a folder')], Http::STATUS_BAD_REQUEST);
+ return new DataResponse(['message' => $this->l->t('You cannot open a folder')], Http::STATUS_BAD_REQUEST);
}
$range = $this->request->getHeader('Range');