Issue #2965786 by svenryen, Gábor Hojtsy: Translation of "Checked" as used on the Status page needs context

8.7.x
Nathaniel Catchpole 2018-10-26 12:54:12 +01:00
parent 19513d5f01
commit aa397488b8
3 changed files with 4 additions and 4 deletions

View File

@ -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 => [

View File

@ -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', [

View File

@ -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']),
],
];