Skip to content

Commit e12d2d7

Browse files
authored
Merge pull request #7664 from nextcloud/rakekniven-patch-1
fix(i18n): Use positional placeholders
2 parents f744d24 + b241adb commit e12d2d7

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)