Remove unused translated yes/no labels in converted checkbox field definitions

This commit is contained in:
Hypolite Petovan 2020-02-05 21:42:53 -05:00
parent f2732a4ad7
commit 557ece7d5a
5 changed files with 16 additions and 18 deletions

View file

@ -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 = '';