From 15d19c178228501977f97190a6c60c883c6caf13 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Thu, 24 Sep 2026 10:21:52 +0200 Subject: [PATCH] chore(i18n): Change error message for invalid circle to team Reported at Transifex Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- lib/private/Share20/Manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 7db6d8e4045da..e0f1a97a70542 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -192,7 +192,7 @@ protected function generalChecks(IShare $share): void { /** @psalm-suppress UndefinedClass */ $circle = Circles::detailsCircle($share->getSharedWith()); if ($circle === null) { - throw new \InvalidArgumentException($this->l->t('Share recipient is not a valid circle')); + throw new \InvalidArgumentException($this->l->t('Share recipient is not a valid team')); } } elseif ($share->getShareType() !== IShare::TYPE_ROOM && $share->getShareType() !== IShare::TYPE_DECK) { // We cannot handle other types yet