Update src/Object/Post.php

Sugfestion accepted

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
xundeenergie 2023-10-11 15:55:02 +02:00 committed by GitHub
parent de28a375c8
commit 035c9dbfa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -505,7 +505,7 @@ class Post
'parentguid' => $parent_guid, 'parentguid' => $parent_guid,
'isreplyto' => DI::l10n()->t('is reply to %s', $parent_username), 'isreplyto' => DI::l10n()->t('is reply to %s', $parent_username),
'isunknown' => $parent_unknown, 'isunknown' => $parent_unknown,
'isunknown_label' => DI::l10n()->t('parent is probably private or not federated'), 'isunknown_label' => DI::l10n()->t('Parent is probably private or not federated.'),
'template' => $this->getTemplate(), 'template' => $this->getTemplate(),
'type' => implode('', array_slice(explode('/', $item['verb']), -1)), 'type' => implode('', array_slice(explode('/', $item['verb']), -1)),
'comment_firstcollapsed' => false, 'comment_firstcollapsed' => false,