spelling: author

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-21 21:33:28 -04:00
parent e884cd19b0
commit 739ca603bc

View File

@ -118,10 +118,10 @@ EOT;
</object> </object>
EOT; EOT;
$tagger_link = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]'; $tagger_link = '[url=' . $contact['url'] . ']' . $contact['name'] . '[/url]';
$aauthor_link = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]'; $author_link = '[url=' . $item['author-link'] . ']' . $item['author-name'] . '[/url]';
$post_link = '[url=' . $item['plink'] . ']' . ($item['resource-id'] ? $this->t('photo') : $this->t('post')) . '[/url]'; $post_link = '[url=' . $item['plink'] . ']' . ($item['resource-id'] ? $this->t('photo') : $this->t('post')) . '[/url]';
$term_link = '#[url=' . $tagid . ']' . $term . '[/url]'; $term_link = '#[url=' . $tagid . ']' . $term . '[/url]';
$post = [ $post = [
'guid' => System::createUUID(), 'guid' => System::createUUID(),
@ -138,7 +138,7 @@ EOT;
'author-name' => $contact['name'], 'author-name' => $contact['name'],
'author-link' => $contact['url'], 'author-link' => $contact['url'],
'author-avatar' => $contact['thumb'], 'author-avatar' => $contact['thumb'],
'body' => $this->t('%1$s tagged %2$s\'s %3$s with %4$s', $tagger_link, $aauthor_link, $post_link, $term_link), 'body' => $this->t('%1$s tagged %2$s\'s %3$s with %4$s', $tagger_link, $author_link, $post_link, $term_link),
'verb' => Activity::TAG, 'verb' => Activity::TAG,
'target-type' => $targettype, 'target-type' => $targettype,
'target' => $target, 'target' => $target,