diff --git a/lib/Controller/EditorController.php b/lib/Controller/EditorController.php index b52cd23..0c965b8 100644 --- a/lib/Controller/EditorController.php +++ b/lib/Controller/EditorController.php @@ -515,7 +515,7 @@ public function savePreview($fileId, $shareToken, $previewContents) if ($file instanceof Folder || !$writeable) { - return new DataResponse(['message' => $this->trans->t('You can not write to this path')], Http::STATUS_FORBIDDEN); + return new DataResponse(['message' => $this->trans->t('You cannot write to this path')], Http::STATUS_FORBIDDEN); } $prevFolder->newFile($file->getId() . '.png', base64_decode($previewContents));