[I18N] Fix use of string concatenations in translations

This commit is contained in:
2022-03-05 13:53:24 +00:00
committed by Diogo Peralta Cordeiro
parent 3f14ad0f69
commit 46c91a4b39
7 changed files with 24 additions and 23 deletions

View File

@@ -80,7 +80,7 @@ class PersonFeed extends FeedController
'actor' => $person,
'nickname' => $person->getNickname(),
'notes' => E\Note::getAllNotesByActor($person),
'page_title' => _m($person->getNickname() . '\'s profile'),
'page_title' => _m('{nickname}\'s profile', ['{nickname}' => $person->getNickname()]),
'notes_feed_title' => (new Heading(level: 2, classes: ['section-title'], text: 'Notes by ' . $person->getNickname())),
];
}