From aa397488b8b72b2f76256688a6b2a8a001201409 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Fri, 26 Oct 2018 12:54:12 +0100 Subject: [PATCH] =?UTF-8?q?Issue=20#2965786=20by=20svenryen,=20G=C3=A1bor?= =?UTF-8?q?=20Hojtsy:=20Translation=20of=20"Checked"=20as=20used=20on=20th?= =?UTF-8?q?e=20Status=20page=20needs=20context?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/lib/Drupal/Core/Render/Element/StatusReport.php | 2 +- core/modules/aggregator/src/Entity/Feed.php | 2 +- core/modules/system/src/Element/StatusReportPage.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/lib/Drupal/Core/Render/Element/StatusReport.php b/core/lib/Drupal/Core/Render/Element/StatusReport.php index d913066134e..85b12e25ff3 100644 --- a/core/lib/Drupal/Core/Render/Element/StatusReport.php +++ b/core/lib/Drupal/Core/Render/Element/StatusReport.php @@ -68,7 +68,7 @@ class StatusReport extends RenderElement { public static function getSeverities() { return [ REQUIREMENT_INFO => [ - 'title' => t('Checked'), + 'title' => t('Checked', [], ['context' => 'Examined']), 'status' => 'checked', ], REQUIREMENT_OK => [ diff --git a/core/modules/aggregator/src/Entity/Feed.php b/core/modules/aggregator/src/Entity/Feed.php index 1e332199456..a49c1228508 100644 --- a/core/modules/aggregator/src/Entity/Feed.php +++ b/core/modules/aggregator/src/Entity/Feed.php @@ -186,7 +186,7 @@ class Feed extends ContentEntityBase implements FeedInterface { ->setDisplayConfigurable('form', TRUE); $fields['checked'] = BaseFieldDefinition::create('timestamp') - ->setLabel(t('Checked')) + ->setLabel(t('Checked', [], ['context' => 'Examined'])) ->setDescription(t('Last time feed was checked for new items, as Unix timestamp.')) ->setDefaultValue(0) ->setDisplayOptions('view', [ diff --git a/core/modules/system/src/Element/StatusReportPage.php b/core/modules/system/src/Element/StatusReportPage.php index 1d8421b35a6..6c7f783fd0c 100644 --- a/core/modules/system/src/Element/StatusReportPage.php +++ b/core/modules/system/src/Element/StatusReportPage.php @@ -86,8 +86,8 @@ class StatusReportPage extends RenderElement { ], 'checked' => [ 'amount' => 0, - 'text' => t('Checked'), - 'text_plural' => t('Checked'), + 'text' => t('Checked', [], ['context' => 'Examined']), + 'text_plural' => t('Checked', [], ['context' => 'Examined']), ], ];