diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index ab9db93a0..1e19dc2ba 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -2721,6 +2721,36 @@ msgstr "" msgid "risultati_indagini_customer_satisfaction" msgstr "" +#: overrideTranslations +# defaultMessage: il giorno +msgid "rrule_in" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_nd" +msgstr "" + +#: overrideTranslations +# defaultMessage: il +msgid "rrule_on the" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_rd" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_st" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_th" +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 48a165ef3..8414108ec 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -2706,6 +2706,36 @@ msgstr "Rights" msgid "risultati_indagini_customer_satisfaction" msgstr "Customer satisfaction survey results" +#: overrideTranslations +# defaultMessage: il giorno +msgid "rrule_in" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_nd" +msgstr "" + +#: overrideTranslations +# defaultMessage: il +msgid "rrule_on the" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_rd" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_st" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_th" +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 da4e21887..e8537522d 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -2715,6 +2715,36 @@ msgstr "Derechos" msgid "risultati_indagini_customer_satisfaction" msgstr "Resultados de la encuesta de satisfacción del cliente" +#: overrideTranslations +# defaultMessage: il giorno +msgid "rrule_in" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_nd" +msgstr "" + +#: overrideTranslations +# defaultMessage: il +msgid "rrule_on the" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_rd" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_st" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_th" +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 28560574d..b07206a71 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -2723,6 +2723,36 @@ msgstr "Droits" msgid "risultati_indagini_customer_satisfaction" msgstr "Résultats des enquêtes de satisfaction clients" +#: overrideTranslations +# defaultMessage: il giorno +msgid "rrule_in" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_nd" +msgstr "" + +#: overrideTranslations +# defaultMessage: il +msgid "rrule_on the" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_rd" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_st" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_th" +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 b52d64507..eb46f45c6 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -2706,6 +2706,36 @@ msgstr "Diritti" msgid "risultati_indagini_customer_satisfaction" msgstr "Risultati indagini di customer satisfaction" +#: overrideTranslations +# defaultMessage: il giorno +msgid "rrule_in" +msgstr "il giorno" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_nd" +msgstr " " + +#: overrideTranslations +# defaultMessage: il +msgid "rrule_on the" +msgstr "il" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_rd" +msgstr " " + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_st" +msgstr " " + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_th" +msgstr " " + #: 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 f2f5570df..132f1f9b8 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2023-09-19T07:30:36.575Z\n" +"POT-Creation-Date: 2024-01-11T13:44:54.156Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -2708,6 +2708,36 @@ msgstr "" msgid "risultati_indagini_customer_satisfaction" msgstr "" +#: overrideTranslations +# defaultMessage: il giorno +msgid "rrule_in" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_nd" +msgstr "" + +#: overrideTranslations +# defaultMessage: il +msgid "rrule_on the" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_rd" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_st" +msgstr "" + +#: overrideTranslations +# defaultMessage: _ +msgid "rrule_th" +msgstr "" + #: components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate #: components/ItaliaTheme/Blocks/RssBlock/CardWithoutImageRssTemplate # defaultMessage: No results from RSS feed. diff --git a/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderEventDates.jsx b/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderEventDates.jsx index 28ca8cc8e..8762e18d6 100644 --- a/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderEventDates.jsx +++ b/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderEventDates.jsx @@ -39,6 +39,7 @@ const PageHeaderEventDates = ({ content, moment, rrule }) => { forceset: true, }); const RRULE_LANGUAGE = rrulei18n(intl, Moment); + console.log(rruleSet.rrules()[0]); eventRecurrenceText = rruleSet.rrules()[0]?.toText( (t) => { return RRULE_LANGUAGE.strings[t]; diff --git a/src/overrideTranslations.jsx b/src/overrideTranslations.jsx new file mode 100644 index 000000000..3667a5eaf --- /dev/null +++ b/src/overrideTranslations.jsx @@ -0,0 +1,28 @@ +import { defineMessages } from 'react-intl'; + +const messages = defineMessages({ + rrule_st: { + id: 'rrule_st', + defaultMessage: '_', //in italiano non si traduce + }, + rrule_nd: { + id: 'rrule_nd', + defaultMessage: '_', //in italiano non si traduce + }, + rrule_rd: { + id: 'rrule_rd', + defaultMessage: '_', //in italiano non si traduce + }, + rrule_th: { + id: 'rrule_th', + defaultMessage: '_', //in italiano non si traduce + }, + rrule_in: { + id: 'rrule_in', + defaultMessage: 'il giorno', + }, + rrule_on_the: { + id: 'rrule_on the', + defaultMessage: 'il', + }, +});