diff --git a/lib/Service/ApprovalService.php b/lib/Service/ApprovalService.php index aa3dc80d..0c7aa7c5 100644 --- a/lib/Service/ApprovalService.php +++ b/lib/Service/ApprovalService.php @@ -450,7 +450,7 @@ public function request(int $fileId, int $ruleId, ?string $userId, bool $createS } if ($createShares && !$this->utilsService->userCanShareFile($fileId, $userId)) { - return ['error' => $this->l10n->t('You can not share this file')]; + return ['error' => $this->l10n->t('You cannot share this file')]; } $rule = $this->ruleService->getRule($ruleId);