From ed9d20b2914b27312b3c57148da95ae5257213fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz=20=28admin=29?= Date: Sun, 1 Oct 2023 12:53:06 +0200 Subject: [PATCH] Change label of mention-button * "Mention" on users profile * "Post to group" on group/forums profile --- src/Content/Widget/VCard.php | 5 +++++ view/theme/frio/templates/widget/vcard.tpl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Content/Widget/VCard.php b/src/Content/Widget/VCard.php index 62a8e90853..32eb95e434 100644 --- a/src/Content/Widget/VCard.php +++ b/src/Content/Widget/VCard.php @@ -68,6 +68,7 @@ class VCard $follow_link = ''; $unfollow_link = ''; $wallmessage_link = ''; + $showforum_link = ''; $photo = Contact::getPhoto($contact); @@ -119,6 +120,10 @@ class VCard '$unfollow_link' => $unfollow_link, '$wallmessage' => DI::l10n()->t('Message'), '$wallmessage_link' => $wallmessage_link, + '$showforum' => DI::l10n()->t('Show forum'), + '$showforum_link' => $showforum_link, + '$mentioning' => DI::l10n()->t('Mention'), + '$post2group' => DI::l10n()->t('Post to group'), ]); } } diff --git a/view/theme/frio/templates/widget/vcard.tpl b/view/theme/frio/templates/widget/vcard.tpl index 3786939388..ecc47bea29 100644 --- a/view/theme/frio/templates/widget/vcard.tpl +++ b/view/theme/frio/templates/widget/vcard.tpl @@ -60,7 +60,7 @@ {{/if}}