diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index f36182860..aaf22effa 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -1945,6 +1945,16 @@ msgstr "" msgid "events" msgstr "" +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Expand items +msgid "expandItems" +msgstr "" + +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Uncheck to omit children items +msgid "expandItems_description" +msgstr "" + #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderDates # defaultMessage: Scadenza msgid "expire" @@ -2147,7 +2157,6 @@ msgstr "" msgid "info_color_tertiary" msgstr "" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/Calendar/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/UOSearch/Body @@ -3707,7 +3716,6 @@ msgstr "" msgid "variazione_situazione_patrimoniale" msgstr "" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters #: components/ItaliaTheme/Blocks/UOSearch/Body diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index 477654897..5626cfa9d 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -1930,6 +1930,16 @@ msgstr "Event website" msgid "events" msgstr "Appointments" +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Expand items +msgid "expandItems" +msgstr "" + +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Uncheck to omit children items +msgid "expandItems_description" +msgstr "" + #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderDates # defaultMessage: Scadenza msgid "expire" @@ -2132,7 +2142,6 @@ msgstr "" msgid "info_color_tertiary" msgstr "" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/Calendar/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/UOSearch/Body @@ -3692,7 +3701,6 @@ msgstr "Type" msgid "variazione_situazione_patrimoniale" msgstr "Change in balance sheet" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters #: components/ItaliaTheme/Blocks/UOSearch/Body diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po index 4ce8b5b09..d6296074d 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -1939,6 +1939,16 @@ msgstr "Sitio web del evento" msgid "events" msgstr "Cita" +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Expand items +msgid "expandItems" +msgstr "" + +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Uncheck to omit children items +msgid "expandItems_description" +msgstr "" + #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderDates # defaultMessage: Scadenza msgid "expire" @@ -2141,7 +2151,6 @@ msgstr "" msgid "info_color_tertiary" msgstr "" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/Calendar/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/UOSearch/Body @@ -3701,7 +3710,6 @@ msgstr "Tipo" msgid "variazione_situazione_patrimoniale" msgstr "Cambio en el balance" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters #: components/ItaliaTheme/Blocks/UOSearch/Body diff --git a/locales/fr/LC_MESSAGES/volto.po b/locales/fr/LC_MESSAGES/volto.po index e98b64a94..1eaeb98ea 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -1947,6 +1947,16 @@ msgstr "Site Web de l'événement" msgid "events" msgstr "Rendez-vous" +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Expand items +msgid "expandItems" +msgstr "" + +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Uncheck to omit children items +msgid "expandItems_description" +msgstr "" + #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderDates # defaultMessage: Scadenza msgid "expire" @@ -2149,7 +2159,6 @@ msgstr "" msgid "info_color_tertiary" msgstr "" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/Calendar/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/UOSearch/Body @@ -3709,7 +3718,6 @@ msgstr "Typologie" msgid "variazione_situazione_patrimoniale" msgstr "Changement de bilan" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters #: components/ItaliaTheme/Blocks/UOSearch/Body diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index 90e55b986..2e2e56741 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -1930,6 +1930,16 @@ msgstr "Sito web dell'evento" msgid "events" msgstr "Appuntamenti" +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Expand items +msgid "expandItems" +msgstr "Espande i sotto-elementi nei filtri di ricerca" + +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Uncheck to omit children items +msgid "expandItems_description" +msgstr "Togliere la spunta per sezioni con un numero elevato di elementi" + #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderDates # defaultMessage: Scadenza msgid "expire" @@ -2132,7 +2142,6 @@ msgstr "Colore secondario" msgid "info_color_tertiary" msgstr "Colore terziario" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/Calendar/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/UOSearch/Body @@ -3692,7 +3701,6 @@ msgstr "" msgid "variazione_situazione_patrimoniale" msgstr "Variazione situazione patrimoniale" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters #: components/ItaliaTheme/Blocks/UOSearch/Body diff --git a/locales/volto.pot b/locales/volto.pot index 34568edad..9c4c428a6 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-06-21T09:58:51.722Z\n" +"POT-Creation-Date: 2024-06-27T17:20:04.159Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -1932,6 +1932,16 @@ msgstr "" msgid "events" msgstr "" +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Expand items +msgid "expandItems" +msgstr "" + +#: components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm +# defaultMessage: Uncheck to omit children items +msgid "expandItems_description" +msgstr "" + #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderDates # defaultMessage: Scadenza msgid "expire" @@ -2134,7 +2144,6 @@ msgstr "" msgid "info_color_tertiary" msgstr "" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/Calendar/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/UOSearch/Body @@ -3694,7 +3703,6 @@ msgstr "" msgid "variazione_situazione_patrimoniale" msgstr "" -#: components/ItaliaTheme/Blocks/BandiSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/Body #: components/ItaliaTheme/Blocks/EventSearch/DefaultFilters #: components/ItaliaTheme/Blocks/UOSearch/Body diff --git a/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx b/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx index c4fc46482..913480f3d 100644 --- a/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx +++ b/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx @@ -21,15 +21,6 @@ const messages = defineMessages({ id: 'find', defaultMessage: 'Cerca', }, - insert_filter: { - id: 'insert_filter', - defaultMessage: - 'Inserire un filtro dal menù laterale per visualizzare i relativi risultati', - }, - venues: { - id: 'venues', - defaultMessage: 'Luoghi', - }, noResult: { id: 'noResult', defaultMessage: 'Nessun risultato trovato', diff --git a/src/components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm.jsx b/src/components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm.jsx index 8fd33b654..59d0d0d03 100644 --- a/src/components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm.jsx +++ b/src/components/ItaliaTheme/manage/Widgets/SearchSectionsConfigurationWidget/SearchSectionsConfigurationForm.jsx @@ -4,7 +4,7 @@ import { defineMessages, useIntl } from 'react-intl'; import { Form, Grid, Button } from 'semantic-ui-react'; import { flattenToAppURL } from '@plone/volto/helpers'; import withObjectBrowser from '@plone/volto/components/manage/Sidebar/ObjectBrowser'; -import { TextWidget } from '@plone/volto/components'; +import { TextWidget, CheckboxWidget } from '@plone/volto/components'; import navTreeSVG from '@plone/volto/icons/nav.svg'; import clearSVG from '@plone/volto/icons/clear.svg'; @@ -26,6 +26,14 @@ const messages = defineMessages({ id: 'searchsectionswidget-deleteitem-button', defaultMessage: 'Delete section item', }, + expandItems: { + id: 'expandItems', + defaultMessage: 'Expand items', + }, + expandItems_description: { + id: 'expandItems_description', + defaultMessage: 'Uncheck to omit children items', + }, }); const SearchSectionsConfigurationForm = ({ @@ -116,6 +124,14 @@ const SearchSectionsConfigurationForm = ({ onChange={(id, value) => onChangeFormData('href', value)} /> + onChangeFormData('expandItems', value)} + /> +