Issue #2965786 by svenryen, Gábor Hojtsy: Translation of "Checked" as used on the Status page needs context
parent
19513d5f01
commit
aa397488b8
|
@ -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 => [
|
||||
|
|
|
@ -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', [
|
||||
|
|
|
@ -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']),
|
||||
],
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue