mirror of
https://github.com/friendica/friendica
synced 2025-04-22 03:50:11 +00:00
Remove unused translated yes/no labels in converted checkbox field definitions
This commit is contained in:
parent
f2732a4ad7
commit
557ece7d5a
5 changed files with 16 additions and 18 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue