Skip to content

Commit

Permalink
fix: added translation to overrideTranslations
Browse files Browse the repository at this point in the history
  • Loading branch information
sabrina-bongiovanni committed Mar 25, 2024
1 parent c92060a commit f7132a3
Show file tree
Hide file tree
Showing 8 changed files with 35 additions and 5 deletions.
5 changes: 5 additions & 0 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3936,6 +3936,11 @@ msgstr ""
msgid "to"
msgstr ""

#: overrideTranslations
# defaultMessage: {action} il menu
msgid "toggle-menu"
msgstr ""

#: components/ItaliaTheme/Header/HeaderSearch/SearchModal
#: components/ItaliaTheme/Search/Search
#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti
Expand Down
5 changes: 5 additions & 0 deletions locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3921,6 +3921,11 @@ msgstr "title"
msgid "to"
msgstr "to"

#: overrideTranslations
# defaultMessage: {action} il menu
msgid "toggle-menu"
msgstr ""

#: components/ItaliaTheme/Header/HeaderSearch/SearchModal
#: components/ItaliaTheme/Search/Search
#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti
Expand Down
5 changes: 5 additions & 0 deletions locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3930,6 +3930,11 @@ msgstr "título"
msgid "to"
msgstr "a"

#: overrideTranslations
# defaultMessage: {action} il menu
msgid "toggle-menu"
msgstr ""

#: components/ItaliaTheme/Header/HeaderSearch/SearchModal
#: components/ItaliaTheme/Search/Search
#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti
Expand Down
5 changes: 5 additions & 0 deletions locales/fr/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3938,6 +3938,11 @@ msgstr "titre"
msgid "to"
msgstr "au"

#: overrideTranslations
# defaultMessage: {action} il menu
msgid "toggle-menu"
msgstr ""

#: components/ItaliaTheme/Header/HeaderSearch/SearchModal
#: components/ItaliaTheme/Search/Search
#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti
Expand Down
5 changes: 5 additions & 0 deletions locales/it/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -3921,6 +3921,11 @@ msgstr "titolo"
msgid "to"
msgstr "al"

#: overrideTranslations
# defaultMessage: {action} il menu
msgid "toggle-menu"
msgstr ""

#: components/ItaliaTheme/Header/HeaderSearch/SearchModal
#: components/ItaliaTheme/Search/Search
#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti
Expand Down
7 changes: 6 additions & 1 deletion locales/volto.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"POT-Creation-Date: 2024-03-06T10:48:38.114Z\n"
"POT-Creation-Date: 2024-03-25T16:36:34.513Z\n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language-Team: Plone i18n <[email protected]>\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -3923,6 +3923,11 @@ msgstr ""
msgid "to"
msgstr ""

#: overrideTranslations
# defaultMessage: {action} il menu
msgid "toggle-menu"
msgstr ""

#: components/ItaliaTheme/Header/HeaderSearch/SearchModal
#: components/ItaliaTheme/Search/Search
#: components/ItaliaTheme/View/Commons/PageHeader/PageHeaderTassonomiaArgomenti
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ const messages = defineMessages({
id: 'close-menu',
defaultMessage: 'Chiudi menu',
},
ToggleMenu: {
id: 'toggle-menu',
defaultMessage: '{action} il menu',
},
});

Navigation.propTypes = {
Expand Down
4 changes: 4 additions & 0 deletions src/overrideTranslations.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,8 @@ defineMessages({
id: 'form_default_cancel_label',
defaultMessage: 'Annulla',
},
ToggleMenu: {
id: 'toggle-menu',
defaultMessage: '{action} il menu',
},
});

0 comments on commit f7132a3

Please sign in to comment.