diff --git a/core/modules/block/src/BlockListBuilder.php b/core/modules/block/src/BlockListBuilder.php index 4eb79afe63f..444d98956aa 100644 --- a/core/modules/block/src/BlockListBuilder.php +++ b/core/modules/block/src/BlockListBuilder.php @@ -215,7 +215,7 @@ class BlockListBuilder extends ConfigEntityListBuilder implements FormInterface ), ); $form['blocks'][$region]['title'] = array( - '#markup' => $region != BlockInterface::BLOCK_REGION_NONE ? $title : t('Disabled'), + '#markup' => $region != BlockInterface::BLOCK_REGION_NONE ? $title : t('Disabled', array(), array('context' => 'Plural')), '#wrapper_attributes' => array( 'colspan' => 5, ), diff --git a/core/modules/field_ui/src/DisplayOverviewBase.php b/core/modules/field_ui/src/DisplayOverviewBase.php index 09322d31b8b..307a9bb5327 100644 --- a/core/modules/field_ui/src/DisplayOverviewBase.php +++ b/core/modules/field_ui/src/DisplayOverviewBase.php @@ -149,7 +149,7 @@ abstract class DisplayOverviewBase extends FormBase { 'message' => $this->t('No field is displayed.') ), 'hidden' => array( - 'title' => $this->t('Disabled'), + 'title' => $this->t('Disabled', array(), array('context' => 'Plural')), 'message' => $this->t('No field is hidden.') ), ); diff --git a/core/modules/views_ui/src/ViewListBuilder.php b/core/modules/views_ui/src/ViewListBuilder.php index 10e0d7e359a..f9ac0e1a570 100644 --- a/core/modules/views_ui/src/ViewListBuilder.php +++ b/core/modules/views_ui/src/ViewListBuilder.php @@ -197,8 +197,8 @@ class ViewListBuilder extends ConfigEntityListBuilder { ), ); - $list['enabled']['heading']['#markup'] = '

' . $this->t('Enabled') . '

'; - $list['disabled']['heading']['#markup'] = '

' . $this->t('Disabled') . '

'; + $list['enabled']['heading']['#markup'] = '

' . $this->t('Enabled', array(), array('context' => 'Plural')) . '

'; + $list['disabled']['heading']['#markup'] = '

' . $this->t('Disabled', array(), array('context' => 'Plural')) . '

'; foreach (array('enabled', 'disabled') as $status) { $list[$status]['#type'] = 'container'; $list[$status]['#attributes'] = array('class' => array('views-list-section', $status));