Skip to content

Commit

Permalink
l10n: Fixed grammar
Browse files Browse the repository at this point in the history
Reported at Transifex.
  
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
  • Loading branch information
rakekniven committed Mar 4, 2023
1 parent cfc9ec3 commit d756bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/EditorController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit d756bb0

Please sign in to comment.