Terminology: Mutual friend(ship) -> Friend

This commit is contained in:
Marcus Funch 2025-06-04 15:25:16 +02:00
parent 5be0edb264
commit bbbcd049b6
4 changed files with 5 additions and 5 deletions

View file

@ -447,7 +447,7 @@ abstract class BaseModule implements ICanHandleRequests
'sel' => $current == 'following' ? 'active' : '',
],
[
'label' => DI::l10n()->t('Mutual friends'),
'label' => DI::l10n()->t('Friends'),
'url' => $baseUrl . '/contacts/mutuals',
'sel' => $current == 'mutuals' ? 'active' : '',
],

View file

@ -256,7 +256,7 @@ class Widget
$options = [
['ref' => 'followers', 'name' => DI::l10n()->t('Followers')],
['ref' => 'following', 'name' => DI::l10n()->t('Following')],
['ref' => 'mutuals', 'name' => DI::l10n()->t('Mutual friends')],
['ref' => 'mutuals', 'name' => DI::l10n()->t('Friends')],
['ref' => 'nothing', 'name' => DI::l10n()->t('No relationship')],
];

View file

@ -399,7 +399,7 @@ class Contact extends BaseModule
$header = DI::l10n()->t('Following');
break;
case 'mutuals':
$header = DI::l10n()->t('Mutual friends');
$header = DI::l10n()->t('Friends');
break;
case 'nothing':
$header = DI::l10n()->t('No relationship');
@ -565,7 +565,7 @@ class Contact extends BaseModule
if (!empty($contact['uid']) && !empty($contact['rel']) && DI::userSession()->getLocalUserId() == $contact['uid']) {
switch ($contact['rel']) {
case Model\Contact::FRIEND:
$alt_text = DI::l10n()->t('Mutual Friendship');
$alt_text = DI::l10n()->t('Friend');
break;
case Model\Contact::FOLLOWER:

View file

@ -126,7 +126,7 @@ class Contacts extends Module\BaseProfile
$title = $this->tt('Following (%s)', 'Following (%s)', $total);
break;
case 'mutuals':
$title = $this->tt('Mutual friend (%s)', 'Mutual friends (%s)', $total);
$title = $this->tt('Friend (%s)', 'Friends (%s)', $total);
$desc = $this->t(
'These contacts both follow and are followed by <strong>%s</strong>.',
htmlentities($profile['name'], ENT_COMPAT, 'UTF-8')