Skip to content

Commit b241adb

Browse files
committed
fix(i18n): Use positional placeholders
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
1 parent 17fa243 commit b241adb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Notification/Notifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public function prepare(INotification $notification, string $languageCode): INot
238238
}
239239
$federationOwnerDisplayName = $params[1];
240240
$notification->setParsedSubject(
241-
$l->t('The remote board %s has been shared with you by %s', [$params[0], $federationOwnerDisplayName])
241+
$l->t('The remote board %1$s has been shared with you by %2$s', [$params[0], $federationOwnerDisplayName])
242242
);
243243
$notification->setLink($this->getBoardUrl($boardId));
244244
break;

0 commit comments

Comments
 (0)