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:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2021-04-07 16:13:51 +0300
committerGitHub <noreply@github.com>2021-04-07 16:13:51 +0300
commit884da499fb75ccf3f72bc0018dde97cee6e8a9b7 (patch)
tree67dede0555cc7dfda09143524d9514269f2f1810
parent4d0bc00639b6a225406b0f563e12b32a4dec563f (diff)
parent1635d13dcd9bc26a37a4478a2ed2160092568ae7 (diff)
Merge pull request #347 from nextcloud/rakekniven-patch-1
l10n: Changed spelling
-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');