From 2726710e9941055dfdb6e222da3c683967810810 Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Wed, 6 Mar 2024 12:03:18 +0100 Subject: [PATCH 1/3] fix: changed translations for weekdays in recurrence widget --- 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 ++++++++ 7 files changed, 69 insertions(+), 1 deletion(-) 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..2cf0230ba 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 "" + +#: 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/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', From 444a6cdc0827c3eb009c845cc253ec780555a25b Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Wed, 6 Mar 2024 12:05:17 +0100 Subject: [PATCH 2/3] chore: updated release.md --- RELEASE.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 From 4460300b72cacb65e69b781d29afdf49cb1dff20 Mon Sep 17 00:00:00 2001 From: Sabrina Bongiovanni Date: Wed, 6 Mar 2024 12:11:10 +0100 Subject: [PATCH 3/3] fix: added en translations --- locales/en/LC_MESSAGES/volto.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index 2cf0230ba..6a0c569ee 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -2973,12 +2973,12 @@ msgstr "th" #: overrideTranslations # defaultMessage: giorno feriale msgid "rrule_weekday" -msgstr "" +msgstr "weekday" #: overrideTranslations # defaultMessage: giorni feriali msgid "rrule_weekdays" -msgstr "" +msgstr "weekdays" #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate