Remove unused translated yes/no labels in converted checkbox field definitions
This commit is contained in:
@@ -97,7 +97,7 @@ class Introductions extends BaseNotifications
|
||||
default:
|
||||
if ($notification->getNetwork() === Protocol::DFRN) {
|
||||
$lbl_knowyou = DI::l10n()->t('Claims to be known to you: ');
|
||||
$knowyou = ($notification->getKnowYou() ? DI::l10n()->t('yes') : DI::l10n()->t('no'));
|
||||
$knowyou = ($notification->getKnowYou() ? DI::l10n()->t('Yes') : DI::l10n()->t('No'));
|
||||
} else {
|
||||
$lbl_knowyou = '';
|
||||
$knowyou = '';
|
||||
|
||||
@@ -219,8 +219,6 @@ class Index extends BaseSettings
|
||||
'hide-friends', //Name
|
||||
DI::l10n()->t('Hide contacts and friends:'), //Label
|
||||
!!$profile['hide-friends'], //Value
|
||||
'', //Help string
|
||||
[DI::l10n()->t('No'), DI::l10n()->t('Yes')] //Off - On strings
|
||||
],
|
||||
'$desc' => DI::l10n()->t('Hide your contact/friend list from viewers of this profile?'),
|
||||
'$yes_str' => DI::l10n()->t('Yes'),
|
||||
|
||||
Reference in New Issue
Block a user