diff --git a/lib/Service/ApprovalService.php b/lib/Service/ApprovalService.php index 5f0aebf6..b41cd2a7 100644 --- a/lib/Service/ApprovalService.php +++ b/lib/Service/ApprovalService.php @@ -452,7 +452,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);