fix gettext error

xgettext was complaining that the term 'Error' was used once without the plural form
This commit is contained in:
Tobias Diekershoff 2024-10-29 07:07:05 +01:00
parent b2b879851c
commit db95def246

View file

@ -76,7 +76,7 @@ class Source extends BaseModeration
'urllbl' => $this->t('URL'), 'urllbl' => $this->t('URL'),
'mentionlbl' => $this->t('Mention'), 'mentionlbl' => $this->t('Mention'),
'implicitlbl' => $this->t('Implicit Mention'), 'implicitlbl' => $this->t('Implicit Mention'),
'error' => $this->t('Error'), 'error' => $this->tt('Error','Errors', 1),
'notfound' => $this->t('Item not found'), 'notfound' => $this->t('Item not found'),
'nosource' => $this->t('No source recorded'), 'nosource' => $this->t('No source recorded'),
'noconfig' => !$this->config->get('debug', 'store_source') ? $this->t('Please make sure the <code>debug.store_source</code> config key is set in <code>config/local.config.php</code> for future items to have sources.') : '', 'noconfig' => !$this->config->get('debug', 'store_source') ? $this->t('Please make sure the <code>debug.store_source</code> config key is set in <code>config/local.config.php</code> for future items to have sources.') : '',