From db95def246a54004abf10bece6ed218c73ad3321 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 29 Oct 2024 07:07:05 +0100 Subject: [PATCH 1/2] fix gettext error xgettext was complaining that the term 'Error' was used once without the plural form --- src/Module/Moderation/Item/Source.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Moderation/Item/Source.php b/src/Module/Moderation/Item/Source.php index 80edbe04b9..b82f8d54a7 100644 --- a/src/Module/Moderation/Item/Source.php +++ b/src/Module/Moderation/Item/Source.php @@ -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 debug.store_source config key is set in config/local.config.php for future items to have sources.') : '', From 718722419fe2daf3eaa4a20f850553f27964e726 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 29 Oct 2024 08:02:33 +0100 Subject: [PATCH 2/2] recreate messages.po --- view/lang/C/messages.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/lang/C/messages.po b/view/lang/C/messages.po index bf278ac011..dafd67761c 100644 --- a/view/lang/C/messages.po +++ b/view/lang/C/messages.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 2024.09-rc\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-10-29 05:54+0000\n" +"POT-Creation-Date: 2024-10-29 07:00+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"