diff --git a/RELEASE.md b/RELEASE.md index c994cbcea..6ce95f2de 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -43,6 +43,9 @@ ## Versione 11.9.0 (03/04/2024) +### Fix + +- Tradotto il messaggio per Screen Reader del bottone per aprire e chiudere il menu in mobile. ### Migliorie - Effettuate diverse migliorie di accessibilità. diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index cd1ca7a97..5aef367d5 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -3958,6 +3958,21 @@ msgstr "" msgid "to" msgstr "" +#: overrideTranslations +# defaultMessage: {action} il menu +msgid "toggle-menu" +msgstr "" + +#: overrideTranslations +# defaultMessage: Chiudi +msgid "toggleMenu_close" +msgstr "" + +#: overrideTranslations +# defaultMessage: Apri +msgid "toggleMenu_open" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal #: components/ItaliaTheme/Search/Search #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index 508551d8a..37135a8ab 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -3943,6 +3943,21 @@ msgstr "title" msgid "to" msgstr "to" +#: overrideTranslations +# defaultMessage: {action} il menu +msgid "toggle-menu" +msgstr "{action} the menu" + +#: overrideTranslations +# defaultMessage: Chiudi +msgid "toggleMenu_close" +msgstr "Close" + +#: overrideTranslations +# defaultMessage: Apri +msgid "toggleMenu_open" +msgstr "Open" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal #: components/ItaliaTheme/Search/Search #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po index 067d25f03..c8d4e98ed 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -3952,6 +3952,21 @@ msgstr "título" msgid "to" msgstr "a" +#: overrideTranslations +# defaultMessage: {action} il menu +msgid "toggle-menu" +msgstr "" + +#: overrideTranslations +# defaultMessage: Chiudi +msgid "toggleMenu_close" +msgstr "" + +#: overrideTranslations +# defaultMessage: Apri +msgid "toggleMenu_open" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal #: components/ItaliaTheme/Search/Search #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti diff --git a/locales/fr/LC_MESSAGES/volto.po b/locales/fr/LC_MESSAGES/volto.po index 9642bfdd9..6e206b814 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -3960,6 +3960,21 @@ msgstr "titre" msgid "to" msgstr "au" +#: overrideTranslations +# defaultMessage: {action} il menu +msgid "toggle-menu" +msgstr "" + +#: overrideTranslations +# defaultMessage: Chiudi +msgid "toggleMenu_close" +msgstr "" + +#: overrideTranslations +# defaultMessage: Apri +msgid "toggleMenu_open" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal #: components/ItaliaTheme/Search/Search #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index 939c0bb9f..790033409 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -3943,6 +3943,21 @@ msgstr "titolo" msgid "to" msgstr "al" +#: overrideTranslations +# defaultMessage: {action} il menu +msgid "toggle-menu" +msgstr "" + +#: overrideTranslations +# defaultMessage: Chiudi +msgid "toggleMenu_close" +msgstr "" + +#: overrideTranslations +# defaultMessage: Apri +msgid "toggleMenu_open" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal #: components/ItaliaTheme/Search/Search #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti diff --git a/locales/volto.pot b/locales/volto.pot index 1d61e9560..e0de02685 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-04-02T15:16:18.332Z\n" +"POT-Creation-Date: 2024-03-28T15:22:56.240Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "MIME-Version: 1.0\n" @@ -3280,7 +3280,7 @@ msgid "search_startDate" msgstr "" #: helpers/Translations/searchBlockExtendedTranslations -# defaultMessage: Ricerca per: {searchedtext}. +# defaultMessage: Ricerca per: {searchedtext}. msgid "searchedFor" msgstr "" @@ -3945,6 +3945,21 @@ msgstr "" msgid "to" msgstr "" +#: overrideTranslations +# defaultMessage: {action} il menu +msgid "toggle-menu" +msgstr "" + +#: overrideTranslations +# defaultMessage: Chiudi +msgid "toggleMenu_close" +msgstr "" + +#: overrideTranslations +# defaultMessage: Apri +msgid "toggleMenu_open" +msgstr "" + #: components/ItaliaTheme/Header/HeaderSearch/SearchModal #: components/ItaliaTheme/Search/Search #: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti diff --git a/src/customizations/volto/components/theme/Navigation/Navigation.jsx b/src/customizations/volto/components/theme/Navigation/Navigation.jsx index f710f8533..4550e9fed 100644 --- a/src/customizations/volto/components/theme/Navigation/Navigation.jsx +++ b/src/customizations/volto/components/theme/Navigation/Navigation.jsx @@ -100,7 +100,11 @@ const Navigation = ({ pathname }) => { { setCollapseOpen(!collapseOpen); setFocusTrapActive(!focusTrapActive); @@ -185,9 +189,17 @@ const messages = defineMessages({ id: 'close-menu', defaultMessage: 'Chiudi menu', }, - toggleNavigation: { - id: 'toggle-navigation', - defaultMessage: 'Apri il menu', + toggleMenu: { + id: 'toggle-menu', + defaultMessage: '{action} il menu', + }, + toggleMenu_open: { + id: 'toggleMenu_open', + defaultMessage: 'Apri', + }, + toggleMenu_close: { + id: 'toggleMenu_close', + defaultMessage: 'Chiudi', }, }); diff --git a/src/overrideTranslations.jsx b/src/overrideTranslations.jsx index d9684857d..633362aaa 100644 --- a/src/overrideTranslations.jsx +++ b/src/overrideTranslations.jsx @@ -48,4 +48,16 @@ defineMessages({ id: 'form_default_cancel_label', defaultMessage: 'Annulla', }, + toggleMenu: { + id: 'toggle-menu', + defaultMessage: '{action} il menu', + }, + toggleMenu_open: { + id: 'toggleMenu_open', + defaultMessage: 'Apri', + }, + toggleMenu_close: { + id: 'toggleMenu_close', + defaultMessage: 'Chiudi', + }, });