diff --git a/lib/Model/ShareWrapper.php b/lib/Model/ShareWrapper.php index 9d4582283..036a26345 100644 --- a/lib/Model/ShareWrapper.php +++ b/lib/Model/ShareWrapper.php @@ -405,7 +405,7 @@ private function setShareDisplay(IShare $share, IURLGenerator $urlGenerator): vo $display = $circle->getDisplayName(); if ($circle->getSource() === Member::TYPE_CIRCLE) { $l10n = \OCP\Server::get(IFactory::class)->get('circles'); - $display = $l10n->t('%1 (Circle owned by %2)', [$display, $circle->getOwner()->getDisplayName()]); + $display = $l10n->t('%s (Circle owned by %s)', [$display, $circle->getOwner()->getDisplayName()]); } else { $display .= ' (' . Circle::$DEF_SOURCE[$circle->getSource()] . ')'; }