diff --git a/CHANGELOG.md b/CHANGELOG.md index c7f2484dc..38e151167 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,181 @@ +## [10.4.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.3.0...v10.4.0) (2023-11-14) + + +### Features + +* added image size and colorListWidget in Alert block ([#396](https://github.com/RedTurtle/design-comuni-plone-theme/issues/396)) ([63f3b5b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/63f3b5b60364e650de5123cf8b8108dd86eab9f9)) +* split VenueDescription component ([#399](https://github.com/RedTurtle/design-comuni-plone-theme/issues/399)) ([68c3ca5](https://github.com/RedTurtle/design-comuni-plone-theme/commit/68c3ca5338f27f4e64ea257f679ae91dc1842491)) + + +### Bug Fixes + +* documentFirstHeading in subsites without style ([#400](https://github.com/RedTurtle/design-comuni-plone-theme/issues/400)) ([9588073](https://github.com/RedTurtle/design-comuni-plone-theme/commit/9588073d4a2a72e4eb3664c5741b0368f59781fb)) +* icons in NumbersBlock and Sidebar Widget not updating ([#402](https://github.com/RedTurtle/design-comuni-plone-theme/issues/402)) ([0df93a5](https://github.com/RedTurtle/design-comuni-plone-theme/commit/0df93a59c100df69085db83b4ade85101601ed35)) +* locales ([c4bdc14](https://github.com/RedTurtle/design-comuni-plone-theme/commit/c4bdc148aa76ad7ee81945185f22b2eeead3feeb)) +* mark section filters correctly when navigating to search page from page header ([#401](https://github.com/RedTurtle/design-comuni-plone-theme/issues/401)) ([fdc6207](https://github.com/RedTurtle/design-comuni-plone-theme/commit/fdc62074fa2b92292b128a31f7d227ed5e97c074)) +* ParentSiteMenu now draws only Visible site menu elements in subsites ([#403](https://github.com/RedTurtle/design-comuni-plone-theme/issues/403)) ([9fc0a24](https://github.com/RedTurtle/design-comuni-plone-theme/commit/9fc0a2456030d1480fbe5b76cf4f9c29eab0d10e)) +* Photogallery popup image ([#395](https://github.com/RedTurtle/design-comuni-plone-theme/issues/395)) ([4fce154](https://github.com/RedTurtle/design-comuni-plone-theme/commit/4fce154045e2cbc710fed9d975842edb1af7e85a)) +* scroll position on h2 .visually-hidden ([#397](https://github.com/RedTurtle/design-comuni-plone-theme/issues/397)) ([9356e6a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/9356e6af8a3273ebb1d51c80d84ae0cce7c7dd3a)) + + +### Maintenance + +* split BandoView Text in different components ([#391](https://github.com/RedTurtle/design-comuni-plone-theme/issues/391)) ([e787f38](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e787f38899519daa2e6743e896e5f8d53fc8bf8a)) + + +### Documentation + +* updated publiccode and release log ([f95133b](https://github.com/RedTurtle/design-comuni-plone-theme/commit/f95133b0ddaa5ac27a07dfa772f48dfb1b59c067)) + +## [10.3.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v10.2.2...v10.3.0) (2023-11-08) + + +### Features + +* new BandoStatus component to manage the current status translations ([#390](https://github.com/redturtle/design-comuni-plone-theme/issues/390)) ([4f0f775](https://github.com/redturtle/design-comuni-plone-theme/commit/4f0f775e99572152f359c3dd6b227601ebffcdd9)) + + +### Bug Fixes + +* updated tipologia_bando data in Bando listing template ([#393](https://github.com/redturtle/design-comuni-plone-theme/issues/393)) ([6f38934](https://github.com/redturtle/design-comuni-plone-theme/commit/6f3893457c10035cfc17bede816b91fcbeae93d7)) + + +### Maintenance + +* preparing release ([73632c8](https://github.com/redturtle/design-comuni-plone-theme/commit/73632c832a5f7ad350d407cb2bfe5723d193730b)) +* Update RELEASE.md ([#394](https://github.com/redturtle/design-comuni-plone-theme/issues/394)) ([0da8790](https://github.com/redturtle/design-comuni-plone-theme/commit/0da8790b5238ade33a491894d98c06f2813e8993)) + +## [10.2.2](https://github.com/redturtle/design-comuni-plone-theme/compare/v10.2.1...v10.2.2) (2023-11-07) + + +### Bug Fixes + +* header Metadata to h2 ([d2952b7](https://github.com/redturtle/design-comuni-plone-theme/commit/d2952b781df8b7e42f9e8c48999aa9f79538081e)) + + +### Maintenance + +* preparing release ([6b70a73](https://github.com/redturtle/design-comuni-plone-theme/commit/6b70a739835175b39478156d29a6f144b1ecb9ae)) + +## [10.2.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v10.2.0...v10.2.1) (2023-11-06) + + +### Bug Fixes + +* fix id for gallery video title ([5d35058](https://github.com/redturtle/design-comuni-plone-theme/commit/5d35058308c04eaa416146a3966a9cfb4915bbab)) +* sidemenu by titles work only with h2 and not items with id #header-* ([71ca592](https://github.com/redturtle/design-comuni-plone-theme/commit/71ca5921f68ade764e9aaab47b529342befe51d3)) + + +### Maintenance + +* updated publiccode ([3041114](https://github.com/redturtle/design-comuni-plone-theme/commit/3041114b59fced1d47ea05812f19006daf55eb0b)) + +## [10.2.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v10.1.1...v10.2.0) (2023-11-06) + + +### Features + +* added pager-link data-element to search block pagination ([#389](https://github.com/RedTurtle/design-comuni-plone-theme/issues/389)) ([fbc32a3](https://github.com/RedTurtle/design-comuni-plone-theme/commit/fbc32a32ffc04054b39eb623584aadd1dc517beb)) +* added title param to SideMenuByTitle ([d6718b4](https://github.com/RedTurtle/design-comuni-plone-theme/commit/d6718b41ef0ce61959ca884ad0012825c09701bf)) + + +### Bug Fixes + +* messages in EventoView contatti ([348469f](https://github.com/RedTurtle/design-comuni-plone-theme/commit/348469fcbe63136dc9bfa3fcbfe04ea1728ab953)) +* missing locales update ([633be45](https://github.com/RedTurtle/design-comuni-plone-theme/commit/633be45a7ea425ebfa1a5e9bf7cf3c0b44d6250c)) + + +### Maintenance + +* split EventoVView Contatti in different components ([5abf0d8](https://github.com/RedTurtle/design-comuni-plone-theme/commit/5abf0d85d101fd2c67f663c8eb68ddce698d6c2d)) + + +### Documentation + +* updated publiccode and release log ([0a09061](https://github.com/RedTurtle/design-comuni-plone-theme/commit/0a090616afffd574822c8d3874e7de9abb90242a)) + +## [10.1.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v10.1.0...v10.1.1) (2023-11-06) + + +### Bug Fixes + +* fix sideMenuByTitles to remove duplicate text title when it is hidden ([9da33c8](https://github.com/redturtle/design-comuni-plone-theme/commit/9da33c8d5f5470e20873a04e5963d66a3cc46515)) + +## [10.1.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v10.0.0...v10.1.0) (2023-11-06) + + +### Features + +* Sidemenu customizable ([#388](https://github.com/redturtle/design-comuni-plone-theme/issues/388)) ([94fa0c1](https://github.com/redturtle/design-comuni-plone-theme/commit/94fa0c107f73acb9b7e89638f613206391cefc46)) + + +### Bug Fixes + +* GalleryPreview ([29f0299](https://github.com/redturtle/design-comuni-plone-theme/commit/29f02990f1e7467e536f151c9e86821c1b0c9e98)) +* locales ([14d268b](https://github.com/redturtle/design-comuni-plone-theme/commit/14d268be970d6fccce06c0c24f99c67745735fef)) +* useSideMenu observer ([bd2e4ab](https://github.com/redturtle/design-comuni-plone-theme/commit/bd2e4ab451d4bc5a05b2673cdbf4a2b05038f4b4)) + +## [10.0.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.9.0...v10.0.0) (2023-11-03) + + +### ⚠ BREAKING CHANGES + +* h titles in views (#381) + +### Bug Fixes + +* h titles in views ([#381](https://github.com/redturtle/design-comuni-plone-theme/issues/381)) ([1b871e9](https://github.com/redturtle/design-comuni-plone-theme/commit/1b871e9f86b3fa5866ddf7192ccbc900e2629ce7)) + + +### Maintenance + +* prapring release 9.0.1 ([7d7376c](https://github.com/redturtle/design-comuni-plone-theme/commit/7d7376cf2f536a8262c73b1e0f2aabda08818e78)) +* preparing release 8.10.0 ([a33e32b](https://github.com/redturtle/design-comuni-plone-theme/commit/a33e32bd6cdda6aea0227140580a43e26501f475)) +* preparing release 9.0.0 ([95f5cc0](https://github.com/redturtle/design-comuni-plone-theme/commit/95f5cc0bd486198c0b66dcd4d0b659113d51527f)) +* preparing release 9.0.1 (9.0.0) ([e230881](https://github.com/redturtle/design-comuni-plone-theme/commit/e23088116b5422081a9ce22763288cd0b65fc4cc)) + +## [8.9.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v8.8.2...v8.9.0) (2023-11-03) + + +### Features + +* added data-element for service-link pagination ([#387](https://github.com/RedTurtle/design-comuni-plone-theme/issues/387)) ([3ef75a5](https://github.com/RedTurtle/design-comuni-plone-theme/commit/3ef75a5f8dde74b948bbfe3e61fd58575baa7c13)) + + +### Bug Fixes + +* locales ([e6b8904](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e6b890401222739a756a77cc06958ea3b9173759)) + + +### Documentation + +* updated publiccode and release log ([2fe4539](https://github.com/RedTurtle/design-comuni-plone-theme/commit/2fe4539ee4cf6dcc88d0dfeb9fe9c49bb972244f)) + +## [8.8.2](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.8.1...v8.8.2) (2023-11-03) + + +### Maintenance + +* changed descrizione bando i18n id ([5bef0e8](https://github.com/redturtle/design-comuni-plone-theme/commit/5bef0e8e1ebfbf6e7254ee177817960cc829b3aa)) +* preparing release 8.8.2 ([d842e66](https://github.com/redturtle/design-comuni-plone-theme/commit/d842e66c891fd19a4eef81bea2aaaf2d33c6ead7)) + +## [8.8.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.8.0...v8.8.1) (2023-11-03) + + +### Bug Fixes + +* fix gallery preview image ([f2ddb87](https://github.com/redturtle/design-comuni-plone-theme/commit/f2ddb8798fcdd88cc003791c483240f4d95e3880)) +* fix slider dr dots margin ([8e24914](https://github.com/redturtle/design-comuni-plone-theme/commit/8e2491430c7951cbc87fcf30cb860c1ae0f55460)) +* RSS template div source moved inside condition and changed release.md ([#386](https://github.com/redturtle/design-comuni-plone-theme/issues/386)) ([200fefa](https://github.com/redturtle/design-comuni-plone-theme/commit/200fefad7b0c7596cdcb3109ef5962d53b643626)) +* source added for rss single card ([#384](https://github.com/redturtle/design-comuni-plone-theme/issues/384)) ([669f165](https://github.com/redturtle/design-comuni-plone-theme/commit/669f16575e93944a354119aff4a6dd4ba9cf58b8)) + + +### Maintenance + +* preparing release 8.8.1 ([d12c618](https://github.com/redturtle/design-comuni-plone-theme/commit/d12c61899c0cd5b658e6fa38234f90a029b1786c)) + ## [8.8.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v8.7.12...v8.8.0) (2023-10-31) diff --git a/RELEASE.md b/RELEASE.md index 5166bbba6..b56a84289 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,49 @@ - ... --> +## Versione 10.4.0 (14/11/2023) + +### Novità + +- Aggiunta la possibilità di selezionare la dimensione dell'immagine nel blocco Alert, inoltre è stato aggiornato anche il widget per la selezione del colore di sfondo. + +### Fix + +- Quando viene effettuata una ricerca dalla barra di ricerca nelle sezioni Amministrazione, Servizi, Novità, o Documenti e Dati, viene automaticamente impostato il filtro sulla sezione stessa così da mostrare solo i contenuti corrispondenti. +- Le icone del Blocco Numeri, del Blocco Icone e della Sidebar si aggiornano istantaneamente quando vengono cambiate +- Sistemato un bug nell'header dei sottositi che mostrava le voci del menu del sito padre anche se queste erano indicate come non visibili nella configurazione del menu. + +## Versione 10.3.0 (08/11/2023) + +### Fix + +- Sistemata la visualizzazione della tipologia del bando nel template del blocco elenco 'Bandi' +- Rimosso titolo della pagina nei sottositi senza nessuno stile applicato + +## Versione 10.2.0 (06/11/2023) + +### Novità + +- Aggiunto data-element pager-link al paginatore per il blocco Cerca per i quali viene impostata l'opzione service-link. + +## Versione 9.0.1 (03/11/2023) + +### Migliorie + +- Migliorata l'accessibilità dei titoli dei contenuti + +## Versione 8.9.0 (03/11/2023) + +### Novità + +- Aggiunto data-element pager-link al paginatore per i blocchi Elenco per i quali viene impostata l'opzione service-link. + +## Versione 8.8.1 (03/11/2023) + +### Fix + +- Nei template dei feed RSS ora viene mostrata la sorgente se presente. + ## Versione 8.7.12 (27/10/2023) ### Fix diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index 5c047c820..b3c680b26 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -86,6 +86,7 @@ msgstr "" msgid "CardImageRight" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar #: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar # defaultMessage: Dimensione immagine msgid "CardImageSize" @@ -133,21 +134,6 @@ msgstr "" msgid "Color" msgstr "" -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Rosso -msgid "Color_danger" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Giallo -msgid "Color_warning" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Arancione -msgid "Color_warning_orange" -msgstr "" - #: components/ItaliaTheme/View/EventoView/EventoContatti # defaultMessage: Contatti msgid "Contatti" @@ -711,7 +697,7 @@ msgstr "" msgid "VenuesSmall" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueMultimedia # defaultMessage: Video msgid "Video" msgstr "" @@ -1011,8 +997,7 @@ msgstr "" msgid "bandi_search_no_filters" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Scaduto msgid "bando_closed" msgstr "" @@ -1022,7 +1007,7 @@ msgstr "" msgid "bando_data_pubblicazione" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextDestinatari # defaultMessage: Destinatari del bando msgid "bando_destinatari" msgstr "" @@ -1033,19 +1018,17 @@ msgid "bando_effective" msgstr "" #: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextEnte # defaultMessage: Ente msgid "bando_ente" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: In corso msgid "bando_inProgress" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Attivo msgid "bando_open" msgstr "" @@ -1055,8 +1038,7 @@ msgstr "" msgid "bando_scadenza" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Programmato msgid "bando_scheduled" msgstr "" @@ -1221,6 +1203,16 @@ msgstr "" msgid "codice_ipa" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Rosso +msgid "color_danger" +msgstr "" + +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Arancione +msgid "color_orange" +msgstr "" + #: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar # defaultMessage: Primario @@ -1232,6 +1224,11 @@ msgstr "" msgid "color_transparent" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Giallo +msgid "color_warning" +msgstr "" + #: components/ItaliaTheme/View/IncaricoView/IncaricoView #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti #: components/ItaliaTheme/View/PersonaView/PersonaRuolo @@ -1263,11 +1260,6 @@ msgstr "" msgid "contatti" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti -# defaultMessage: Contatti interni -msgid "contatti_interni" -msgstr "" - #: components/ItaliaTheme/View/ServizioView/ServizioAChiSiRivolge # defaultMessage: Copertura geografica del servizio msgid "copertura_geografica" @@ -1595,7 +1587,6 @@ msgstr "" msgid "desc" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText #: components/ItaliaTheme/View/Commons/TrasparenzaFields #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView #: components/ItaliaTheme/View/VenueView/VenueDescription @@ -1604,6 +1595,11 @@ msgstr "" msgid "descrizione" msgstr "" +#: components/ItaliaTheme/View/BandoView/BandoText +# defaultMessage: Descrizione +msgid "descrizione_bando" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal # defaultMessage: Non cercare nella sezione msgid "deselectSearchSection" @@ -1817,7 +1813,7 @@ msgstr "" msgid "edit_social_links" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueElementiDiInteresse # defaultMessage: Elementi di interesse msgid "elementi_di_interesse" msgstr "" @@ -2210,6 +2206,7 @@ msgid "incarico" msgstr "" #: components/ItaliaTheme/View/Commons/SideMenu +#: components/ItaliaTheme/View/Commons/SideMenuByTitles # defaultMessage: Indice della pagina msgid "index" msgstr "" @@ -2372,7 +2369,7 @@ msgid "logo-subsite-alt" msgstr "" #: components/ItaliaTheme/View/PuntoDiContattoView/RelatedItemsChipsPDC -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueLuoghiCorrelati # defaultMessage: Luoghi correlati msgid "luoghi_correlati" msgstr "" @@ -2607,7 +2604,7 @@ msgstr "" msgid "order_by" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno # defaultMessage: Organizzato da msgid "organizzato_da" msgstr "" @@ -3694,7 +3691,7 @@ msgstr "" msgid "successivo" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiSupportatoDa # defaultMessage: Con il supporto di msgid "supported_by" msgstr "" @@ -3753,7 +3750,7 @@ msgstr "" msgid "timeline_tempi_scadenze_validation_error" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextTipologia # defaultMessage: Tipologia del bando msgid "tipologia_bando" msgstr "" @@ -3764,7 +3761,7 @@ msgstr "" msgid "tipologia_incarico" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueTipologia # defaultMessage: Tipo di luogo msgid "tipologia_luogo" msgstr "" diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index be46aa89c..2a34a39c0 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -71,6 +71,7 @@ msgstr "Show" msgid "CardImageRight" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar #: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar # defaultMessage: Dimensione immagine msgid "CardImageSize" @@ -118,21 +119,6 @@ msgstr "Click here to replace file" msgid "Color" msgstr "" -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Rosso -msgid "Color_danger" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Giallo -msgid "Color_warning" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Arancione -msgid "Color_warning_orange" -msgstr "" - #: components/ItaliaTheme/View/EventoView/EventoContatti # defaultMessage: Contatti msgid "Contatti" @@ -696,7 +682,7 @@ msgstr "View all" msgid "VenuesSmall" msgstr "Venues" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueMultimedia # defaultMessage: Video msgid "Video" msgstr "Video" @@ -996,8 +982,7 @@ msgstr "" msgid "bandi_search_no_filters" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Scaduto msgid "bando_closed" msgstr "Expired" @@ -1007,7 +992,7 @@ msgstr "Expired" msgid "bando_data_pubblicazione" msgstr "Publication date" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextDestinatari # defaultMessage: Destinatari del bando msgid "bando_destinatari" msgstr "Recipients of the competition notice" @@ -1018,19 +1003,17 @@ msgid "bando_effective" msgstr "Publication date" #: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextEnte # defaultMessage: Ente msgid "bando_ente" msgstr "Supplying authority" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: In corso msgid "bando_inProgress" msgstr "In progress" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Attivo msgid "bando_open" msgstr "Active" @@ -1040,8 +1023,7 @@ msgstr "Active" msgid "bando_scadenza" msgstr "Expiration date:" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Programmato msgid "bando_scheduled" msgstr "Scheduled" @@ -1206,6 +1188,16 @@ msgstr "Close search" msgid "codice_ipa" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Rosso +msgid "color_danger" +msgstr "" + +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Arancione +msgid "color_orange" +msgstr "" + #: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar # defaultMessage: Primario @@ -1217,6 +1209,11 @@ msgstr "" msgid "color_transparent" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Giallo +msgid "color_warning" +msgstr "" + #: components/ItaliaTheme/View/IncaricoView/IncaricoView #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti #: components/ItaliaTheme/View/PersonaView/PersonaRuolo @@ -1248,11 +1245,6 @@ msgstr "" msgid "contatti" msgstr "Contacts" -#: components/ItaliaTheme/View/EventoView/EventoContatti -# defaultMessage: Contatti interni -msgid "contatti_interni" -msgstr "Internal contacts" - #: components/ItaliaTheme/View/ServizioView/ServizioAChiSiRivolge # defaultMessage: Copertura geografica del servizio msgid "copertura_geografica" @@ -1580,7 +1572,6 @@ msgstr "Delegations" msgid "desc" msgstr "Quick links" -#: components/ItaliaTheme/View/BandoView/BandoText #: components/ItaliaTheme/View/Commons/TrasparenzaFields #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView #: components/ItaliaTheme/View/VenueView/VenueDescription @@ -1589,6 +1580,11 @@ msgstr "Quick links" msgid "descrizione" msgstr "Description" +#: components/ItaliaTheme/View/BandoView/BandoText +# defaultMessage: Descrizione +msgid "descrizione_bando" +msgstr "Description" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal # defaultMessage: Non cercare nella sezione msgid "deselectSearchSection" @@ -1802,7 +1798,7 @@ msgstr "Visibile" msgid "edit_social_links" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueElementiDiInteresse # defaultMessage: Elementi di interesse msgid "elementi_di_interesse" msgstr "Elements of interest" @@ -2195,6 +2191,7 @@ msgid "incarico" msgstr "assignment" #: components/ItaliaTheme/View/Commons/SideMenu +#: components/ItaliaTheme/View/Commons/SideMenuByTitles # defaultMessage: Indice della pagina msgid "index" msgstr "Page index" @@ -2357,7 +2354,7 @@ msgid "logo-subsite-alt" msgstr "" #: components/ItaliaTheme/View/PuntoDiContattoView/RelatedItemsChipsPDC -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueLuoghiCorrelati # defaultMessage: Luoghi correlati msgid "luoghi_correlati" msgstr "" @@ -2592,7 +2589,7 @@ msgstr "Opening time" msgid "order_by" msgstr "Order by" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno # defaultMessage: Organizzato da msgid "organizzato_da" msgstr "" @@ -3679,7 +3676,7 @@ msgstr "Tags" msgid "successivo" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiSupportatoDa # defaultMessage: Con il supporto di msgid "supported_by" msgstr "" @@ -3738,7 +3735,7 @@ msgstr "Insert a value" msgid "timeline_tempi_scadenze_validation_error" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextTipologia # defaultMessage: Tipologia del bando msgid "tipologia_bando" msgstr "Type of call" @@ -3749,7 +3746,7 @@ msgstr "Type of call" msgid "tipologia_incarico" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueTipologia # defaultMessage: Tipo di luogo msgid "tipologia_luogo" msgstr "" diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po index 841beeb9d..ecf1eb318 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -80,6 +80,7 @@ msgstr "Ver" msgid "CardImageRight" msgstr "Alinear imagen a la derecha" +#: components/ItaliaTheme/Blocks/Alert/Sidebar #: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar # defaultMessage: Dimensione immagine msgid "CardImageSize" @@ -127,21 +128,6 @@ msgstr "Haga clic aquí para reemplazar el archivo" msgid "Color" msgstr "Color" -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Rosso -msgid "Color_danger" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Giallo -msgid "Color_warning" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Arancione -msgid "Color_warning_orange" -msgstr "" - #: components/ItaliaTheme/View/EventoView/EventoContatti # defaultMessage: Contatti msgid "Contatti" @@ -705,7 +691,7 @@ msgstr "Ver todo" msgid "VenuesSmall" msgstr "Lugares" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueMultimedia # defaultMessage: Video msgid "Video" msgstr "Vídeo" @@ -1005,8 +991,7 @@ msgstr "Fondo de bloque" msgid "bandi_search_no_filters" msgstr "No hay filtros para mostrar. Seleccione yo filtros de búsqueda para mostrar desde la barra lateral." -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Scaduto msgid "bando_closed" msgstr "Expirado" @@ -1016,7 +1001,7 @@ msgstr "Expirado" msgid "bando_data_pubblicazione" msgstr "Fecha de publicación" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextDestinatari # defaultMessage: Destinatari del bando msgid "bando_destinatari" msgstr "Destinatarios del anuncio de concurso" @@ -1027,19 +1012,17 @@ msgid "bando_effective" msgstr "Fecha de publicación" #: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextEnte # defaultMessage: Ente msgid "bando_ente" msgstr "Autoridad proveedora" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: In corso msgid "bando_inProgress" msgstr "En progreso" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Attivo msgid "bando_open" msgstr "Activar" @@ -1049,8 +1032,7 @@ msgstr "Activar" msgid "bando_scadenza" msgstr "Fecha de expiración:" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Programmato msgid "bando_scheduled" msgstr "Programado" @@ -1215,6 +1197,16 @@ msgstr "Cerrar búsqueda" msgid "codice_ipa" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Rosso +msgid "color_danger" +msgstr "" + +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Arancione +msgid "color_orange" +msgstr "" + #: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar # defaultMessage: Primario @@ -1226,6 +1218,11 @@ msgstr "Primario" msgid "color_transparent" msgstr "Transparente" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Giallo +msgid "color_warning" +msgstr "" + #: components/ItaliaTheme/View/IncaricoView/IncaricoView #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti #: components/ItaliaTheme/View/PersonaView/PersonaRuolo @@ -1257,11 +1254,6 @@ msgstr "Contactos" msgid "contatti" msgstr "Contactos" -#: components/ItaliaTheme/View/EventoView/EventoContatti -# defaultMessage: Contatti interni -msgid "contatti_interni" -msgstr "Contactos internos" - #: components/ItaliaTheme/View/ServizioView/ServizioAChiSiRivolge # defaultMessage: Copertura geografica del servizio msgid "copertura_geografica" @@ -1589,7 +1581,6 @@ msgstr "Delegaciones" msgid "desc" msgstr "Enlaces rápidos" -#: components/ItaliaTheme/View/BandoView/BandoText #: components/ItaliaTheme/View/Commons/TrasparenzaFields #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView #: components/ItaliaTheme/View/VenueView/VenueDescription @@ -1598,6 +1589,11 @@ msgstr "Enlaces rápidos" msgid "descrizione" msgstr "Descripción" +#: components/ItaliaTheme/View/BandoView/BandoText +# defaultMessage: Descrizione +msgid "descrizione_bando" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal # defaultMessage: Non cercare nella sezione msgid "deselectSearchSection" @@ -1811,7 +1807,7 @@ msgstr "Visibile" msgid "edit_social_links" msgstr "Editar redes sociales" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueElementiDiInteresse # defaultMessage: Elementi di interesse msgid "elementi_di_interesse" msgstr "Elementos de interés" @@ -2204,6 +2200,7 @@ msgid "incarico" msgstr "Compromiso" #: components/ItaliaTheme/View/Commons/SideMenu +#: components/ItaliaTheme/View/Commons/SideMenuByTitles # defaultMessage: Indice della pagina msgid "index" msgstr "Índice de página" @@ -2366,7 +2363,7 @@ msgid "logo-subsite-alt" msgstr "" #: components/ItaliaTheme/View/PuntoDiContattoView/RelatedItemsChipsPDC -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueLuoghiCorrelati # defaultMessage: Luoghi correlati msgid "luoghi_correlati" msgstr "" @@ -2601,7 +2598,7 @@ msgstr "Hora de apertura" msgid "order_by" msgstr "Ordenado por" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno # defaultMessage: Organizzato da msgid "organizzato_da" msgstr "" @@ -3688,7 +3685,7 @@ msgstr "Etiquetas" msgid "successivo" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiSupportatoDa # defaultMessage: Con il supporto di msgid "supported_by" msgstr "Con el apoyo de" @@ -3747,7 +3744,7 @@ msgstr "Insertar un valor" msgid "timeline_tempi_scadenze_validation_error" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextTipologia # defaultMessage: Tipologia del bando msgid "tipologia_bando" msgstr "Tipo de llamada" @@ -3758,7 +3755,7 @@ msgstr "Tipo de llamada" msgid "tipologia_incarico" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueTipologia # defaultMessage: Tipo di luogo msgid "tipologia_luogo" msgstr "" diff --git a/locales/fr/LC_MESSAGES/volto.po b/locales/fr/LC_MESSAGES/volto.po index 1cde37fc9..53d5f1eb4 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -88,6 +88,7 @@ msgstr "Voir" msgid "CardImageRight" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar #: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar # defaultMessage: Dimensione immagine msgid "CardImageSize" @@ -135,21 +136,6 @@ msgstr "Cliquez ici pour remplacer le fichier" msgid "Color" msgstr "" -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Rosso -msgid "Color_danger" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Giallo -msgid "Color_warning" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Arancione -msgid "Color_warning_orange" -msgstr "" - #: components/ItaliaTheme/View/EventoView/EventoContatti # defaultMessage: Contatti msgid "Contatti" @@ -713,7 +699,7 @@ msgstr "Voir tout" msgid "VenuesSmall" msgstr "Lieux" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueMultimedia # defaultMessage: Video msgid "Video" msgstr "Vidéo" @@ -1013,8 +999,7 @@ msgstr "" msgid "bandi_search_no_filters" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Scaduto msgid "bando_closed" msgstr "Expiré" @@ -1024,7 +1009,7 @@ msgstr "Expiré" msgid "bando_data_pubblicazione" msgstr "Date de publication" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextDestinatari # defaultMessage: Destinatari del bando msgid "bando_destinatari" msgstr "Destinataires d'appels" @@ -1035,19 +1020,17 @@ msgid "bando_effective" msgstr "Date de publication" #: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextEnte # defaultMessage: Ente msgid "bando_ente" msgstr "Autorité fournisseur" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: In corso msgid "bando_inProgress" msgstr "En cours" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Attivo msgid "bando_open" msgstr "Actif" @@ -1057,8 +1040,7 @@ msgstr "Actif" msgid "bando_scadenza" msgstr "Date d'expiration" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Programmato msgid "bando_scheduled" msgstr "" @@ -1223,6 +1205,16 @@ msgstr "Fermer la recherche" msgid "codice_ipa" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Rosso +msgid "color_danger" +msgstr "" + +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Arancione +msgid "color_orange" +msgstr "" + #: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar # defaultMessage: Primario @@ -1234,6 +1226,11 @@ msgstr "" msgid "color_transparent" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Giallo +msgid "color_warning" +msgstr "" + #: components/ItaliaTheme/View/IncaricoView/IncaricoView #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti #: components/ItaliaTheme/View/PersonaView/PersonaRuolo @@ -1265,11 +1262,6 @@ msgstr "" msgid "contatti" msgstr "Contacts" -#: components/ItaliaTheme/View/EventoView/EventoContatti -# defaultMessage: Contatti interni -msgid "contatti_interni" -msgstr "Contacts internes" - #: components/ItaliaTheme/View/ServizioView/ServizioAChiSiRivolge # defaultMessage: Copertura geografica del servizio msgid "copertura_geografica" @@ -1597,7 +1589,6 @@ msgstr "Déléghe" msgid "desc" msgstr "Liens rapides" -#: components/ItaliaTheme/View/BandoView/BandoText #: components/ItaliaTheme/View/Commons/TrasparenzaFields #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView #: components/ItaliaTheme/View/VenueView/VenueDescription @@ -1606,6 +1597,11 @@ msgstr "Liens rapides" msgid "descrizione" msgstr "Description" +#: components/ItaliaTheme/View/BandoView/BandoText +# defaultMessage: Descrizione +msgid "descrizione_bando" +msgstr "Description" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal # defaultMessage: Non cercare nella sezione msgid "deselectSearchSection" @@ -1819,7 +1815,7 @@ msgstr "" msgid "edit_social_links" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueElementiDiInteresse # defaultMessage: Elementi di interesse msgid "elementi_di_interesse" msgstr "Objets d'intérêt" @@ -2212,6 +2208,7 @@ msgid "incarico" msgstr "Engagement" #: components/ItaliaTheme/View/Commons/SideMenu +#: components/ItaliaTheme/View/Commons/SideMenuByTitles # defaultMessage: Indice della pagina msgid "index" msgstr "Index des pages" @@ -2374,7 +2371,7 @@ msgid "logo-subsite-alt" msgstr "" #: components/ItaliaTheme/View/PuntoDiContattoView/RelatedItemsChipsPDC -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueLuoghiCorrelati # defaultMessage: Luoghi correlati msgid "luoghi_correlati" msgstr "" @@ -2609,7 +2606,7 @@ msgstr "Horaire d'ouverture" msgid "order_by" msgstr "Trier par" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno # defaultMessage: Organizzato da msgid "organizzato_da" msgstr "" @@ -3696,7 +3693,7 @@ msgstr "Sujettes" msgid "successivo" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiSupportatoDa # defaultMessage: Con il supporto di msgid "supported_by" msgstr "" @@ -3755,7 +3752,7 @@ msgstr "Entrez du texte" msgid "timeline_tempi_scadenze_validation_error" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextTipologia # defaultMessage: Tipologia del bando msgid "tipologia_bando" msgstr "Type d'appel" @@ -3766,7 +3763,7 @@ msgstr "Type d'appel" msgid "tipologia_incarico" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueTipologia # defaultMessage: Tipo di luogo msgid "tipologia_luogo" msgstr "" diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index 8f6015d7a..ef6034c7b 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -71,6 +71,7 @@ msgstr "Vedi" msgid "CardImageRight" msgstr "Allinea immagine a destra" +#: components/ItaliaTheme/Blocks/Alert/Sidebar #: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar # defaultMessage: Dimensione immagine msgid "CardImageSize" @@ -118,21 +119,6 @@ msgstr "Clicca qui per sostituire il file" msgid "Color" msgstr "Colore" -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Rosso -msgid "Color_danger" -msgstr "Rosso" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Giallo -msgid "Color_warning" -msgstr "Giallo" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Arancione -msgid "Color_warning_orange" -msgstr "Arancione" - #: components/ItaliaTheme/View/EventoView/EventoContatti # defaultMessage: Contatti msgid "Contatti" @@ -696,7 +682,7 @@ msgstr "Vedi tutto" msgid "VenuesSmall" msgstr "Luoghi" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueMultimedia # defaultMessage: Video msgid "Video" msgstr "Video" @@ -996,8 +982,7 @@ msgstr "Sfondo del blocco" msgid "bandi_search_no_filters" msgstr "Nessun filtro da mostrare. Seleziona i filtri di ricerca da mostrare dalla sidebar laterale." -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Scaduto msgid "bando_closed" msgstr "Scaduto" @@ -1007,7 +992,7 @@ msgstr "Scaduto" msgid "bando_data_pubblicazione" msgstr "Pubblicato il" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextDestinatari # defaultMessage: Destinatari del bando msgid "bando_destinatari" msgstr "Destinatari del bando" @@ -1018,19 +1003,17 @@ msgid "bando_effective" msgstr "Data di pubblicazione" #: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextEnte # defaultMessage: Ente msgid "bando_ente" msgstr "Ente erogatore" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: In corso msgid "bando_inProgress" msgstr "In corso" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Attivo msgid "bando_open" msgstr "Attivo" @@ -1040,8 +1023,7 @@ msgstr "Attivo" msgid "bando_scadenza" msgstr "Scadenza partecipazione" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Programmato msgid "bando_scheduled" msgstr "Programmato" @@ -1206,6 +1188,16 @@ msgstr "Chiudi ricerca" msgid "codice_ipa" msgstr "Codice dell'ente erogatore (ipa)" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Rosso +msgid "color_danger" +msgstr "" + +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Arancione +msgid "color_orange" +msgstr "" + #: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar # defaultMessage: Primario @@ -1217,6 +1209,11 @@ msgstr "Colore primario" msgid "color_transparent" msgstr "Trasparente" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Giallo +msgid "color_warning" +msgstr "" + #: components/ItaliaTheme/View/IncaricoView/IncaricoView #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti #: components/ItaliaTheme/View/PersonaView/PersonaRuolo @@ -1248,11 +1245,6 @@ msgstr "Contatti" msgid "contatti" msgstr "Contatti" -#: components/ItaliaTheme/View/EventoView/EventoContatti -# defaultMessage: Contatti interni -msgid "contatti_interni" -msgstr "Contatti interni" - #: components/ItaliaTheme/View/ServizioView/ServizioAChiSiRivolge # defaultMessage: Copertura geografica del servizio msgid "copertura_geografica" @@ -1580,7 +1572,6 @@ msgstr "Deleghe" msgid "desc" msgstr "Link rapidi" -#: components/ItaliaTheme/View/BandoView/BandoText #: components/ItaliaTheme/View/Commons/TrasparenzaFields #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView #: components/ItaliaTheme/View/VenueView/VenueDescription @@ -1589,6 +1580,11 @@ msgstr "Link rapidi" msgid "descrizione" msgstr "Descrizione" +#: components/ItaliaTheme/View/BandoView/BandoText +# defaultMessage: Descrizione +msgid "descrizione_bando" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal # defaultMessage: Non cercare nella sezione msgid "deselectSearchSection" @@ -1802,7 +1798,7 @@ msgstr "Visibile" msgid "edit_social_links" msgstr "Modifica i social" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueElementiDiInteresse # defaultMessage: Elementi di interesse msgid "elementi_di_interesse" msgstr "Elementi di interesse" @@ -2195,6 +2191,7 @@ msgid "incarico" msgstr "incarico" #: components/ItaliaTheme/View/Commons/SideMenu +#: components/ItaliaTheme/View/Commons/SideMenuByTitles # defaultMessage: Indice della pagina msgid "index" msgstr "Indice della pagina" @@ -2357,7 +2354,7 @@ msgid "logo-subsite-alt" msgstr "" #: components/ItaliaTheme/View/PuntoDiContattoView/RelatedItemsChipsPDC -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueLuoghiCorrelati # defaultMessage: Luoghi correlati msgid "luoghi_correlati" msgstr "Luoghi correlati" @@ -2592,7 +2589,7 @@ msgstr "Orario per il pubblico" msgid "order_by" msgstr "Ordina per" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno # defaultMessage: Organizzato da msgid "organizzato_da" msgstr "Organizzato da" @@ -3679,7 +3676,7 @@ msgstr "Tags" msgid "successivo" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiSupportatoDa # defaultMessage: Con il supporto di msgid "supported_by" msgstr "Con il supporto di" @@ -3738,7 +3735,7 @@ msgstr "Inserisci un valore" msgid "timeline_tempi_scadenze_validation_error" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextTipologia # defaultMessage: Tipologia del bando msgid "tipologia_bando" msgstr "Tipologia del bando" @@ -3749,7 +3746,7 @@ msgstr "Tipologia del bando" msgid "tipologia_incarico" msgstr "Tipo di incarico" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueTipologia # defaultMessage: Tipo di luogo msgid "tipologia_luogo" msgstr "Tipo di luogo" diff --git a/locales/volto.pot b/locales/volto.pot index 3da3cc86c..9601d4dbf 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2023-10-10T15:52:06.253Z\n" +"POT-Creation-Date: 2023-11-14T17:26:17.874Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -73,6 +73,7 @@ msgstr "" msgid "CardImageRight" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar #: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar # defaultMessage: Dimensione immagine msgid "CardImageSize" @@ -120,21 +121,6 @@ msgstr "" msgid "Color" msgstr "" -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Rosso -msgid "Color_danger" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Giallo -msgid "Color_warning" -msgstr "" - -#: components/ItaliaTheme/Blocks/Alert/Sidebar -# defaultMessage: Arancione -msgid "Color_warning_orange" -msgstr "" - #: components/ItaliaTheme/View/EventoView/EventoContatti # defaultMessage: Contatti msgid "Contatti" @@ -698,7 +684,7 @@ msgstr "" msgid "VenuesSmall" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueMultimedia # defaultMessage: Video msgid "Video" msgstr "" @@ -998,8 +984,7 @@ msgstr "" msgid "bandi_search_no_filters" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Scaduto msgid "bando_closed" msgstr "" @@ -1009,7 +994,7 @@ msgstr "" msgid "bando_data_pubblicazione" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextDestinatari # defaultMessage: Destinatari del bando msgid "bando_destinatari" msgstr "" @@ -1020,19 +1005,17 @@ msgid "bando_effective" msgstr "" #: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextEnte # defaultMessage: Ente msgid "bando_ente" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: In corso msgid "bando_inProgress" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Attivo msgid "bando_open" msgstr "" @@ -1042,8 +1025,7 @@ msgstr "" msgid "bando_scadenza" msgstr "" -#: components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate -#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderBando +#: components/ItaliaTheme/View/Commons/BandoStatus # defaultMessage: Programmato msgid "bando_scheduled" msgstr "" @@ -1208,6 +1190,16 @@ msgstr "" msgid "codice_ipa" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Rosso +msgid "color_danger" +msgstr "" + +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Arancione +msgid "color_orange" +msgstr "" + #: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar #: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar # defaultMessage: Primario @@ -1219,6 +1211,11 @@ msgstr "" msgid "color_transparent" msgstr "" +#: components/ItaliaTheme/Blocks/Alert/Sidebar +# defaultMessage: Giallo +msgid "color_warning" +msgstr "" + #: components/ItaliaTheme/View/IncaricoView/IncaricoView #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti #: components/ItaliaTheme/View/PersonaView/PersonaRuolo @@ -1250,11 +1247,6 @@ msgstr "" msgid "contatti" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti -# defaultMessage: Contatti interni -msgid "contatti_interni" -msgstr "" - #: components/ItaliaTheme/View/ServizioView/ServizioAChiSiRivolge # defaultMessage: Copertura geografica del servizio msgid "copertura_geografica" @@ -1582,7 +1574,6 @@ msgstr "" msgid "desc" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText #: components/ItaliaTheme/View/Commons/TrasparenzaFields #: components/ItaliaTheme/View/TrasparenzaView/DettagliProcedimentiView #: components/ItaliaTheme/View/VenueView/VenueDescription @@ -1591,6 +1582,11 @@ msgstr "" msgid "descrizione" msgstr "" +#: components/ItaliaTheme/View/BandoView/BandoText +# defaultMessage: Descrizione +msgid "descrizione_bando" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal # defaultMessage: Non cercare nella sezione msgid "deselectSearchSection" @@ -1804,7 +1800,7 @@ msgstr "" msgid "edit_social_links" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueElementiDiInteresse # defaultMessage: Elementi di interesse msgid "elementi_di_interesse" msgstr "" @@ -2197,6 +2193,7 @@ msgid "incarico" msgstr "" #: components/ItaliaTheme/View/Commons/SideMenu +#: components/ItaliaTheme/View/Commons/SideMenuByTitles # defaultMessage: Indice della pagina msgid "index" msgstr "" @@ -2359,7 +2356,7 @@ msgid "logo-subsite-alt" msgstr "" #: components/ItaliaTheme/View/PuntoDiContattoView/RelatedItemsChipsPDC -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueLuoghiCorrelati # defaultMessage: Luoghi correlati msgid "luoghi_correlati" msgstr "" @@ -2594,7 +2591,7 @@ msgstr "" msgid "order_by" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreInterno # defaultMessage: Organizzato da msgid "organizzato_da" msgstr "" @@ -3681,7 +3678,7 @@ msgstr "" msgid "successivo" msgstr "" -#: components/ItaliaTheme/View/EventoView/EventoContatti +#: components/ItaliaTheme/View/EventoView/EventoContattiSupportatoDa # defaultMessage: Con il supporto di msgid "supported_by" msgstr "" @@ -3740,7 +3737,7 @@ msgstr "" msgid "timeline_tempi_scadenze_validation_error" msgstr "" -#: components/ItaliaTheme/View/BandoView/BandoText +#: components/ItaliaTheme/View/BandoView/BandoTextTipologia # defaultMessage: Tipologia del bando msgid "tipologia_bando" msgstr "" @@ -3751,7 +3748,7 @@ msgstr "" msgid "tipologia_incarico" msgstr "" -#: components/ItaliaTheme/View/VenueView/VenueDescription +#: components/ItaliaTheme/View/VenueView/VenueTipologia # defaultMessage: Tipo di luogo msgid "tipologia_luogo" msgstr "" diff --git a/package.json b/package.json index 5fb09c242..a37342c27 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "design-comuni-plone-theme", "description": "Volto Theme for Italia design guidelines", "license": "GPL-v3", - "version": "8.8.0", + "version": "10.4.0", "main": "src/index.js", "keywords": [ "volto-addon", diff --git a/publiccode.yml b/publiccode.yml index 141c43b7a..ed289e88d 100644 --- a/publiccode.yml +++ b/publiccode.yml @@ -227,9 +227,9 @@ maintenance: name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici platforms: - web -releaseDate: '2023-10-31' +releaseDate: '2023-11-14' softwareType: standalone/web -softwareVersion: 8.8.0 +softwareVersion: 10.4.0 url: 'https://github.com/italia/design-comuni-plone-theme' usedBy: - ASP Comuni Modenesi Area Nord diff --git a/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx b/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx index 8c777ae64..ba8e71606 100644 --- a/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx +++ b/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx @@ -59,8 +59,8 @@ class Edit extends Component { constructor(props) { super(props); - if (!this.props.data.color) { - this.props.data.color = 'warning'; + if (!this.props.data.bg_color) { + this.props.data.bg_color = 'warning'; } this.blockNode = React.createRef(); } @@ -79,7 +79,7 @@ class Edit extends Component { @@ -89,7 +89,11 @@ class Edit extends Component { )} diff --git a/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx b/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx index e17b89a45..49db06346 100644 --- a/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx +++ b/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx @@ -1,32 +1,36 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; -import { Form } from 'semantic-ui-react'; -import { Button, Grid, Segment } from 'semantic-ui-react'; +import { Segment } from 'semantic-ui-react'; import { defineMessages, FormattedMessage, injectIntl } from 'react-intl'; import { FileWidget } from '@plone/volto/components'; import { ColorListWidget } from 'design-comuni-plone-theme/components/ItaliaTheme'; +import ImageSizeWidget from '@plone/volto/components/manage/Widgets/ImageSizeWidget'; const messages = defineMessages({ Color: { id: 'Color', defaultMessage: 'Colore', }, - Color_warning: { - id: 'Color_warning', + color_warning: { + id: 'color_warning', defaultMessage: 'Giallo', }, - Color_warning_orange: { - id: 'Color_warning_orange', + color_orange: { + id: 'color_orange', defaultMessage: 'Arancione', }, - Color_danger: { - id: 'Color_danger', + color_danger: { + id: 'color_danger', defaultMessage: 'Rosso', }, Image: { id: 'Image', defaultMessage: 'Immagine', }, + CardImageSize: { + id: 'CardImageSize', + defaultMessage: 'Dimensione immagine', + }, }); class Sidebar extends Component { @@ -38,6 +42,21 @@ class Sidebar extends Component { }; render() { + const bg_colors = [ + { + name: 'info', + label: this.props.intl.formatMessage(messages.color_warning), + }, + { + name: 'warning', + label: this.props.intl.formatMessage(messages.color_orange), + }, + { + name: 'danger', + label: this.props.intl.formatMessage(messages.color_danger), + }, + ]; + return (
@@ -48,23 +67,18 @@ class Sidebar extends Component { { this.props.onChangeBlock(this.props.block, { ...this.props.data, [id]: value, }); }} - colors={[ - { name: 'warning', label: 'Giallo' }, - { name: 'warning-orange', label: 'Arancione' }, - { name: 'danger', label: 'Rosso' }, - ]} + colors={bg_colors} /> - + { + this.props.onChangeBlock(this.props.block, { + ...this.props.data, + sizeImage: value, + }); + }} + value={this.props.data.sizeImage} + /> ); diff --git a/src/components/ItaliaTheme/Blocks/Alert/View.jsx b/src/components/ItaliaTheme/Blocks/Alert/View.jsx index 81083b0d0..8e91dfff7 100644 --- a/src/components/ItaliaTheme/Blocks/Alert/View.jsx +++ b/src/components/ItaliaTheme/Blocks/Alert/View.jsx @@ -18,7 +18,7 @@ import { TextBlockView } from '@plone/volto-slate/blocks/Text'; const View = ({ data, id }) => { return (
-
+
{data.image?.data && ( @@ -27,7 +27,9 @@ const View = ({ data, id }) => { src={`data:${data.image['content-type']};${data.image.encoding},${data.image.data}`} alt="" aria-hidden="true" - className="left-image" + className={cx('left-image', [ + data.sizeImage ? 'size-' + data.sizeImage : 'size-l', + ])} loading="lazy" /> diff --git a/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx b/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx index 54c94fd06..0cb3f1148 100644 --- a/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/Listing/BandiInEvidenceTemplate.jsx @@ -19,6 +19,8 @@ import { } from 'design-comuni-plone-theme/components/ItaliaTheme'; import { viewDate } from 'design-comuni-plone-theme/helpers'; +import { BandoStatus } from 'design-comuni-plone-theme/components/ItaliaTheme/View'; + const messages = defineMessages({ vedi: { id: 'bando_vedi', @@ -40,22 +42,6 @@ const messages = defineMessages({ id: 'bando_stato', defaultMessage: 'Stato:', }, - open: { - id: 'bando_open', - defaultMessage: 'Attivo', - }, - scheduled: { - id: 'bando_scheduled', - defaultMessage: 'Programmato', - }, - closed: { - id: 'bando_closed', - defaultMessage: 'Scaduto', - }, - inProgress: { - id: 'bando_inProgress', - defaultMessage: 'In corso', - }, ente: { id: 'bando_ente', defaultMessage: 'Ente', @@ -137,14 +123,13 @@ const BandiInEvidenceTemplate = ({ )} {/* Tipologia */} - - {show_tipologia && item.tipologia_bando?.title?.length > 0 && ( + {show_tipologia && item?.tipologia_bando && (
{intl.formatMessage(messages.tipologia)}:
- {item.tipologia_bando?.title} + {item.tipologia_bando}
)} @@ -215,7 +200,7 @@ const BandiInEvidenceTemplate = ({ ), })} > - {intl.formatMessage(messages[item.bando_state[0]])} +
diff --git a/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx b/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx index d68ca7704..2215a9514 100644 --- a/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/Listing/SliderTemplate.jsx @@ -79,7 +79,9 @@ function NextArrow(props) { id="sliderNextArrow" > - {intl.formatMessage(messages.successivo)} + + {intl.formatMessage(messages.successivo)} + ); } @@ -122,7 +124,9 @@ function PrevArrow(props) { onKeyDown={handleKeyboardUsers} > - {intl.formatMessage(messages.precedente)} + + {intl.formatMessage(messages.precedente)} + ); } diff --git a/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx b/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx index d6188eacc..90596d91f 100644 --- a/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx +++ b/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx @@ -49,6 +49,7 @@ class Edit extends SubblocksEdit { super(props); this.state.selectedField = 'title'; } + UNSAFE_componentWillReceiveProps(newProps) { if (newProps.selected) { if (!this.props.selected) { diff --git a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx index dfeb25a6b..9b758507d 100644 --- a/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx +++ b/src/components/ItaliaTheme/Blocks/RssBlock/CardWithImageRssTemplate.jsx @@ -83,11 +83,11 @@ const CardWithImageRssTemplate = ({ {' '}
{item.title} -
- {item?.source?.length > 0 && ( + {item?.source?.length > 0 && ( +
{item.source} - )} -
+
+ )} {item.title} -
- {item?.source?.length > 0 && ( + {item?.source?.length > 0 && ( +
{item.source} - )} -
+
+ )} {item.contentSnippet} diff --git a/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx b/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx index f1e8d4c1f..7d72e7d3f 100644 --- a/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx +++ b/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx @@ -11,7 +11,7 @@ const mockStore = configureStore(middlewares); const mock_fields = { '@type': 'alert', - color: 'warning', + bg_color: 'warning', image: { 'content-type': 'image/jpeg', data: diff --git a/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx b/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx index 6691398ac..b8de09e01 100644 --- a/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx +++ b/src/components/ItaliaTheme/CustomerSatisfaction/Steps/Commons/Rating.jsx @@ -79,7 +79,7 @@ export const Rating: FC = ({ if (isCustomLegendObject(legend)) { legendClass = classNames({ - 'sr-only': legend.srOnly + 'visually-hidden': legend.srOnly }); legendText = legend.content; } diff --git a/src/components/ItaliaTheme/GalleryPreview/GalleryPreview.jsx b/src/components/ItaliaTheme/GalleryPreview/GalleryPreview.jsx index a6a618578..06b11ddfc 100644 --- a/src/components/ItaliaTheme/GalleryPreview/GalleryPreview.jsx +++ b/src/components/ItaliaTheme/GalleryPreview/GalleryPreview.jsx @@ -1,11 +1,9 @@ import React, { useEffect, useState } from 'react'; import { defineMessages, useIntl } from 'react-intl'; -import { flattenToAppURL } from '@plone/volto/helpers'; - import PropTypes from 'prop-types'; import { Modal, ModalBody, Button, ModalHeader } from 'design-react-kit'; import { Icon } from 'design-comuni-plone-theme/components/ItaliaTheme'; -import DefaultImageSVG from '@plone/volto/components/manage/Blocks/Listing/default-image.svg'; +import Image from '@plone/volto/components/theme/Image/Image'; const messages = defineMessages({ view_prev: { @@ -31,11 +29,9 @@ const messages = defineMessages({ */ const GalleryPreview = ({ id, viewIndex, setViewIndex, items }) => { const intl = useIntl(); - const [modalIsOpen, setModalIsOpen] = useState(false); - const checkUrlImage = - items[viewIndex]?.image?.scales?.larger?.download || - items[viewIndex]?.image_scales?.image[0]?.scales?.larger?.download; + const [modalIsOpen, setModalIsOpen] = useState(false); + const image = items[viewIndex]; const closeModal = () => { setViewIndex(null); @@ -68,16 +64,13 @@ const GalleryPreview = ({ id, viewIndex, setViewIndex, items }) => { {viewIndex != null && ( <> - {items[viewIndex].title} + {image.title} - {items[viewIndex].description && ( -

{items[viewIndex].description}

- )} + {image.description &&

{image.description}

}
{items.length > 1 && ( )} -
- {checkUrlImage ? ( - {items[viewIndex].title} - ) : ( - - )} -
+ + {image && ( + {image.title} + )} {items.length > 1 && (