Issue #3089495 by andrewmacpherson, Kristen Pol: BooleanCheckboxWidget settings summary is not fully translatable

(cherry picked from commit 8d32cf2245)
merge-requests/64/head
Alex Pott 2020-08-03 01:08:38 +01:00
parent bf44721fd6
commit 158ce4313b
No known key found for this signature in database
GPG Key ID: 31905460D4A69276
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class BooleanCheckboxWidget extends WidgetBase {
$summary = [];
$display_label = $this->getSetting('display_label');
$summary[] = t('Use field label: @display_label', ['@display_label' => ($display_label ? t('Yes') : 'No')]);
$summary[] = t('Use field label: @display_label', ['@display_label' => ($display_label ? t('Yes') : t('No'))]);
return $summary;
}