From b241adbb7fa78f21606c1db1c7e1451e4f2033b9 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Fri, 20 Feb 2026 09:43:09 +0100 Subject: [PATCH] fix(i18n): Use positional placeholders Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- lib/Notification/Notifier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Notification/Notifier.php b/lib/Notification/Notifier.php index 15c43c8546..379b059501 100644 --- a/lib/Notification/Notifier.php +++ b/lib/Notification/Notifier.php @@ -238,7 +238,7 @@ public function prepare(INotification $notification, string $languageCode): INot } $federationOwnerDisplayName = $params[1]; $notification->setParsedSubject( - $l->t('The remote board %s has been shared with you by %s', [$params[0], $federationOwnerDisplayName]) + $l->t('The remote board %1$s has been shared with you by %2$s', [$params[0], $federationOwnerDisplayName]) ); $notification->setLink($this->getBoardUrl($boardId)); break;