mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:02:54 +00:00
Replace author name by server host in Ignore Server labels
This commit is contained in:
parent
f2c1ecd19b
commit
15d24a77c7
2 changed files with 2 additions and 2 deletions
|
@ -435,7 +435,7 @@ class Item
|
|||
$this->l10n->t('Block') => $block_link,
|
||||
$this->l10n->t('Ignore') => $ignore_link,
|
||||
$this->l10n->t('Collapse') => $collapse_link,
|
||||
$this->l10n->t("Ignore %s's server", $item['author-name']) => $ignoreserver_link,
|
||||
$this->l10n->t("Ignore %s server", $authorBaseUri->getHost()) => $ignoreserver_link,
|
||||
];
|
||||
|
||||
if (!empty($item['language'])) {
|
||||
|
|
|
@ -285,7 +285,7 @@ class Post
|
|||
$authorBaseUri = new Uri($item['author-baseurl'] ?? '');
|
||||
if ($authorBaseUri->getHost() && !DI::baseUrl()->isLocalUrl($authorBaseUri)) {
|
||||
$ignoreServer = [
|
||||
'label' => DI::l10n()->t("Ignore %s's server", $item['author-name']),
|
||||
'label' => DI::l10n()->t("Ignore %s server", $authorBaseUri->getHost()),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue