Commit aa397488 authored by catch's avatar catch

Issue #2965786 by svenryen, Gábor Hojtsy: Translation of "Checked" as used on...

Issue #2965786 by svenryen, Gábor Hojtsy: Translation of "Checked" as used on the Status page needs context
parent 19513d5f
......@@ -68,7 +68,7 @@ public static function preRenderGroupRequirements($element) {
public static function getSeverities() {
return [
REQUIREMENT_INFO => [
'title' => t('Checked'),
'title' => t('Checked', [], ['context' => 'Examined']),
'status' => 'checked',
],
REQUIREMENT_OK => [
......
......@@ -186,7 +186,7 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) {
->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', [
......
......@@ -86,8 +86,8 @@ public static function preRenderCounters($element) {
],
'checked' => [
'amount' => 0,
'text' => t('Checked'),
'text_plural' => t('Checked'),
'text' => t('Checked', [], ['context' => 'Examined']),
'text_plural' => t('Checked', [], ['context' => 'Examined']),
],
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment