From 54868c58571768408cf374dac6c790c7cfa5e61f Mon Sep 17 00:00:00 2001 From: sabrina-bongiovanni <116291154+sabrina-bongiovanni@users.noreply.github.com> Date: Wed, 6 Mar 2024 12:13:09 +0100 Subject: [PATCH] fix: changed translations for weekdays in recurrence widget (#569) * fix: changed translations for weekdays in recurrence widget * chore: updated release.md * fix: added en translations --- RELEASE.md | 6 ++++++ locales/de/LC_MESSAGES/volto.po | 10 ++++++++++ locales/en/LC_MESSAGES/volto.po | 10 ++++++++++ locales/es/LC_MESSAGES/volto.po | 10 ++++++++++ locales/fr/LC_MESSAGES/volto.po | 10 ++++++++++ locales/it/LC_MESSAGES/volto.po | 10 ++++++++++ locales/volto.pot | 12 +++++++++++- src/overrideTranslations.jsx | 8 ++++++++ 8 files changed, 75 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index c9324362f..c1eb166cd 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,12 @@ - ... --> +## Versione X.X.X (dd/mm/yyyy) + +### Fix + +- Quando si imposta una ricorrenza per giorni feriali negli Eventi, viene visualizzato il testo corretto "ogni giorno feriale" + ## Versione 11.6.0 (05/03/2024) ### Migliorie diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index c2ed42f41..986324175 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -2985,6 +2985,16 @@ msgstr "" msgid "rrule_th" msgstr "" +#: overrideTranslations +# defaultMessage: giorno feriale +msgid "rrule_weekday" +msgstr "" + +#: overrideTranslations +# defaultMessage: giorni feriali +msgid "rrule_weekdays" +msgstr "" + #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate # defaultMessage: No results from RSS feed. diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index 34241408e..6a0c569ee 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -2970,6 +2970,16 @@ msgstr "st" msgid "rrule_th" msgstr "th" +#: overrideTranslations +# defaultMessage: giorno feriale +msgid "rrule_weekday" +msgstr "weekday" + +#: overrideTranslations +# defaultMessage: giorni feriali +msgid "rrule_weekdays" +msgstr "weekdays" + #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate # defaultMessage: No results from RSS feed. diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po index 342b7f0ff..af0188c2f 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -2979,6 +2979,16 @@ msgstr "" msgid "rrule_th" msgstr "" +#: overrideTranslations +# defaultMessage: giorno feriale +msgid "rrule_weekday" +msgstr "" + +#: overrideTranslations +# defaultMessage: giorni feriali +msgid "rrule_weekdays" +msgstr "" + #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate # defaultMessage: No results from RSS feed. diff --git a/locales/fr/LC_MESSAGES/volto.po b/locales/fr/LC_MESSAGES/volto.po index 61c9a7bf9..93196a701 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -2987,6 +2987,16 @@ msgstr "" msgid "rrule_th" msgstr "" +#: overrideTranslations +# defaultMessage: giorno feriale +msgid "rrule_weekday" +msgstr "" + +#: overrideTranslations +# defaultMessage: giorni feriali +msgid "rrule_weekdays" +msgstr "" + #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate # defaultMessage: No results from RSS feed. diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index de8c40594..e1d3de2d7 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -2970,6 +2970,16 @@ msgstr " " msgid "rrule_th" msgstr " " +#: overrideTranslations +# defaultMessage: giorno feriale +msgid "rrule_weekday" +msgstr "giorno feriale" + +#: overrideTranslations +# defaultMessage: giorni feriali +msgid "rrule_weekdays" +msgstr "giorni feriali" + #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate # defaultMessage: No results from RSS feed. diff --git a/locales/volto.pot b/locales/volto.pot index a91fa9b7f..845d7b47d 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-02-29T16:36:05.160Z\n" +"POT-Creation-Date: 2024-03-06T10:48:38.114Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -2972,6 +2972,16 @@ msgstr "" msgid "rrule_th" msgstr "" +#: overrideTranslations +# defaultMessage: giorno feriale +msgid "rrule_weekday" +msgstr "" + +#: overrideTranslations +# defaultMessage: giorni feriali +msgid "rrule_weekdays" +msgstr "" + #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate # defaultMessage: No results from RSS feed. diff --git a/src/overrideTranslations.jsx b/src/overrideTranslations.jsx index 5ce0f037a..d9684857d 100644 --- a/src/overrideTranslations.jsx +++ b/src/overrideTranslations.jsx @@ -25,6 +25,14 @@ defineMessages({ id: 'rrule_on the', defaultMessage: 'il', }, + weekdays: { + id: 'rrule_weekdays', + defaultMessage: 'giorni feriali', + }, + weekday: { + id: 'rrule_weekday', + defaultMessage: 'giorno feriale', + }, reset: { //volto-form-block id: 'form_reset',