]> git.mxchange.org Git - friendica.git/commitdiff
fix gettext error
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 29 Oct 2024 06:07:05 +0000 (07:07 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Tue, 29 Oct 2024 06:59:44 +0000 (07:59 +0100)
xgettext was complaining that the term 'Error' was used once without the plural form

src/Module/Moderation/Item/Source.php

index 80edbe04b94f83449638e447ac3eef0c3976cbcf..b82f8d54a72e6066869e2267aab88586020b076c 100644 (file)
@@ -76,7 +76,7 @@ class Source extends BaseModeration
                                'urllbl'      => $this->t('URL'),
                                'mentionlbl'  => $this->t('Mention'),
                                'implicitlbl' => $this->t('Implicit Mention'),
-                               'error'       => $this->t('Error'),
+                               'error'       => $this->tt('Error','Errors', 1),
                                'notfound'    => $this->t('Item not found'),
                                '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.') : '',