From 2ab5d2f38acd453715bef7a31f8de14675c9d9f7 Mon Sep 17 00:00:00 2001 From: Piero Nicolli Date: Thu, 12 Dec 2024 17:00:26 +0100 Subject: [PATCH] Fixed italian i18n (#6533) --- locales/ca/LC_MESSAGES/volto.po | 11 +---- locales/de/LC_MESSAGES/volto.po | 11 +---- locales/en/LC_MESSAGES/volto.po | 11 +---- locales/es/LC_MESSAGES/volto.po | 11 +---- locales/eu/LC_MESSAGES/volto.po | 11 +---- locales/fi/LC_MESSAGES/volto.po | 11 +---- locales/fr/LC_MESSAGES/volto.po | 11 +---- locales/it/LC_MESSAGES/volto.po | 41 ++++++++----------- locales/ja/LC_MESSAGES/volto.po | 11 +---- locales/nl/LC_MESSAGES/volto.po | 11 +---- locales/pt/LC_MESSAGES/volto.po | 11 +---- locales/pt_BR/LC_MESSAGES/volto.po | 11 +---- locales/ro/LC_MESSAGES/volto.po | 11 +---- locales/volto.pot | 13 +----- locales/zh_CN/LC_MESSAGES/volto.po | 11 +---- news/6533.bugfix | 1 + src/components/manage/Blocks/ToC/View.jsx | 11 ++++- .../manage/Controlpanels/Controlpanels.jsx | 12 ------ 18 files changed, 41 insertions(+), 180 deletions(-) create mode 100644 news/6533.bugfix diff --git a/locales/ca/LC_MESSAGES/volto.po b/locales/ca/LC_MESSAGES/volto.po index afeaff9c51..3227d3cd23 100644 --- a/locales/ca/LC_MESSAGES/volto.po +++ b/locales/ca/LC_MESSAGES/volto.po @@ -229,11 +229,6 @@ msgstr "Afegeix {type}" msgid "Add-Ons" msgstr "" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3520,6 +3515,7 @@ msgstr "Taula" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Taula de continguts" @@ -4111,11 +4107,6 @@ msgstr "Nom d'usuari" msgid "Users" msgstr "usuaris" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Usuaris i Grups" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/de/LC_MESSAGES/volto.po b/locales/de/LC_MESSAGES/volto.po index 7ad42f876e..485c6f03d9 100644 --- a/locales/de/LC_MESSAGES/volto.po +++ b/locales/de/LC_MESSAGES/volto.po @@ -228,11 +228,6 @@ msgstr "{type} hinzufügen" msgid "Add-Ons" msgstr "Erweiterungen" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "Konfiguration von Erweiterungen" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3519,6 +3514,7 @@ msgstr "Tabelle" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Inhaltsverzeichnis" @@ -4110,11 +4106,6 @@ msgstr "Benutzername" msgid "Users" msgstr "Benutzer" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Benutzer und Gruppen" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/en/LC_MESSAGES/volto.po b/locales/en/LC_MESSAGES/volto.po index d1126f4f7a..72fc26924a 100644 --- a/locales/en/LC_MESSAGES/volto.po +++ b/locales/en/LC_MESSAGES/volto.po @@ -223,11 +223,6 @@ msgstr "" msgid "Add-Ons" msgstr "" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3514,6 +3509,7 @@ msgstr "" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "" @@ -4105,11 +4101,6 @@ msgstr "" msgid "Users" msgstr "" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/es/LC_MESSAGES/volto.po b/locales/es/LC_MESSAGES/volto.po index d5a8eb844b..5ca541aa21 100644 --- a/locales/es/LC_MESSAGES/volto.po +++ b/locales/es/LC_MESSAGES/volto.po @@ -230,11 +230,6 @@ msgstr "Agregar {type}" msgid "Add-Ons" msgstr "Complementos" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "Configuración de Complementos" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3521,6 +3516,7 @@ msgstr "Tabla" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Tabla de contenidos" @@ -4112,11 +4108,6 @@ msgstr "Nombre de usuario" msgid "Users" msgstr "Usuarios" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Usuarios y Grupos" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/eu/LC_MESSAGES/volto.po b/locales/eu/LC_MESSAGES/volto.po index dd0c635a49..ad246d6caf 100644 --- a/locales/eu/LC_MESSAGES/volto.po +++ b/locales/eu/LC_MESSAGES/volto.po @@ -230,11 +230,6 @@ msgstr "Gehitu {type}" msgid "Add-Ons" msgstr "Produktuak" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "Produktuen konfigurazioa" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3521,6 +3516,7 @@ msgstr "Taula" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Edukien taula" @@ -4112,11 +4108,6 @@ msgstr "Erabiltzaile izena" msgid "Users" msgstr "Erabiltzaileak" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Erabiltzaile eta taldeak" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/fi/LC_MESSAGES/volto.po b/locales/fi/LC_MESSAGES/volto.po index 150e364cc3..d57895f30a 100644 --- a/locales/fi/LC_MESSAGES/volto.po +++ b/locales/fi/LC_MESSAGES/volto.po @@ -228,11 +228,6 @@ msgstr "Lisää {type}" msgid "Add-Ons" msgstr "Laajennokset" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "Laajennosten asetukset" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3519,6 +3514,7 @@ msgstr "Taulukkoa" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Sisällys" @@ -4110,11 +4106,6 @@ msgstr "Käyttäjätunnus" msgid "Users" msgstr "Käyttäjät" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Käyttäjät ja ryhmät" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/fr/LC_MESSAGES/volto.po b/locales/fr/LC_MESSAGES/volto.po index 959ddd2c01..7c0b31122f 100644 --- a/locales/fr/LC_MESSAGES/volto.po +++ b/locales/fr/LC_MESSAGES/volto.po @@ -230,11 +230,6 @@ msgstr "Ajouter {type}" msgid "Add-Ons" msgstr "Modules" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "Configuration des modules" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3521,6 +3516,7 @@ msgstr "Table" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Table des matières" @@ -4112,11 +4108,6 @@ msgstr "Nom d'utilisateur" msgid "Users" msgstr "Utilisateurs" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Utilisateurs et groupes" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/it/LC_MESSAGES/volto.po b/locales/it/LC_MESSAGES/volto.po index bab570c8d9..330957574c 100644 --- a/locales/it/LC_MESSAGES/volto.po +++ b/locales/it/LC_MESSAGES/volto.po @@ -54,7 +54,7 @@ msgstr "Azioni" #. Default: "Activate and deactivate add-ons in the lists below." #: components/manage/Controlpanels/AddonsControlpanel msgid "Activate and deactivate" -msgstr "Attiva e disattiva" +msgstr "Questa è la sezione per la configurazione dei prodotti aggiuntivi, puoi attivare e disattivare i prodotti aggiuntivi attraverso la seguente lista." #. Default: "Active" #: components/manage/Rules/Rules @@ -86,7 +86,7 @@ msgstr "Aggiungi" #. Default: "To make new add-ons show up here, add them to your configuration, build, and restart the server process. For detailed instructions see" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add Addons" -msgstr "Aggiungi Add-ons" +msgstr "Per fare in modo che un prodotto aggiuntivo venga visualizzato qui aggiungilo nella configurazione del buildout, esegui il buildout e riavvia il server. Per maggiori informazioni vedi" #. Default: "Add Content…" #: components/manage/Toolbar/Types @@ -221,22 +221,17 @@ msgstr "Aggiungi {type}" #. Default: "Add-Ons" #: components/manage/Controlpanels/Controlpanels msgid "Add-Ons" -msgstr "Add-On" - -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "Configurazione Add-on" +msgstr "Prodotti aggiuntivi" #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" -msgstr "Add-On" +msgstr "Prodotti aggiuntivi" #. Default: "Add-ons Settings" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons Settings" -msgstr "Impostazioni Add-ons" +msgstr "Impostazioni prodotti aggiuntivi" #. Default: "Added" #: components/manage/Rules/Rules @@ -1322,7 +1317,7 @@ msgstr "Inserisci il tuo username per la verifica." #. Default: "Entries" #: components/manage/Blocks/ToC/Schema msgid "Entries" -msgstr "" +msgstr "Entità da inserire" #. Default: "Error" #: components/manage/Add/Add @@ -1559,7 +1554,7 @@ msgstr "licenza GNU GPL" #. Default: "General" #: components/manage/Controlpanels/Controlpanels msgid "General" -msgstr "Generali" +msgstr "Generale" #. Default: "Global role" #: components/manage/Sharing/Sharing @@ -1810,7 +1805,7 @@ msgstr "Versione installata" #. Default: "Installing a third party add-on" #: components/manage/Controlpanels/AddonsControlpanel msgid "Installing a third party add-on" -msgstr "Sto installando un add-on di terze parti..." +msgstr "Installazione di un prodotto aggiuntivo di terze parti" #. Default: "days" #: components/manage/Widgets/RecurrenceWidget/RecurrenceWidget @@ -3189,7 +3184,7 @@ msgstr "Invia una mail di conferma con un link per impostare la password." #. Default: "Server Error" #: components/theme/Error/ServerError msgid "Server Error" -msgstr "" +msgstr "Errore del server" #. Default: "Set my password" #: components/theme/PasswordReset/PasswordReset @@ -3437,7 +3432,7 @@ msgstr "Status" #. Default: "Sticky" #: components/manage/Blocks/ToC/Schema msgid "Sticky" -msgstr "" +msgstr "Posizione fissa" #. Default: "Stop compare" #: components/manage/Multilingual/CompareLanguages @@ -3514,6 +3509,7 @@ msgstr "Tabella" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Indice dei contenuti" @@ -3913,7 +3909,7 @@ msgstr "Non autorizzato" #: components/manage/Controlpanels/UndoControlpanel #: components/manage/Form/UndoToolbar msgid "Undo" -msgstr "Annulla" +msgstr "Annulla operazioni" #. Default: "Undo Controlpanel" #: components/manage/Controlpanels/UndoControlpanel @@ -4105,11 +4101,6 @@ msgstr "Username" msgid "Users" msgstr "Utenti" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Utenti e gruppi" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." @@ -4509,12 +4500,12 @@ msgstr "Questo sito non accetta file più grandi di {limit}" #. Default: "flush intIds and rebuild relations" #: helpers/MessageLabels/MessageLabels msgid "flush intIds and rebuild relations" -msgstr "elimina intIds e ricrea le relazioni" +msgstr "Elimina intId e ricrea le relazioni" #. Default: "

Check the log for details!

Warning: If you have add-ons relying on intIds, you should not flush them.

" #: helpers/MessageLabels/MessageLabels msgid "flushAndRebuildRelationsHints" -msgstr "" +msgstr "

Controlla i log per i dettagli!

Attenzione: se hai add-on che dipendono dagli intId, non dovresti eliminarli.

" #. Default: "Head title" #: components/manage/Blocks/Teaser/schema @@ -4723,7 +4714,7 @@ msgstr "Seleziona…" #. Default: "rebuild relations" #: helpers/MessageLabels/MessageLabels msgid "rebuild relations" -msgstr "ricrea le relazioni" +msgstr "Ricrea le relazioni" #. Default: "reference" #: components/manage/Contents/ContentsDeleteModal @@ -4984,7 +4975,7 @@ msgstr "Aggiorna da versione {origin} a {destination}" #. Default: "Upload an image from your computer" #: components/manage/Widgets/ImageWidget msgid "uploadAnImage" -msgstr "" +msgstr "Carica un'immagine dal tuo computer" #. Default: "Input must be valid url (www.something.com or http(s)://www.something.com)" #: helpers/MessageLabels/MessageLabels diff --git a/locales/ja/LC_MESSAGES/volto.po b/locales/ja/LC_MESSAGES/volto.po index cb196df629..80432dfbd1 100644 --- a/locales/ja/LC_MESSAGES/volto.po +++ b/locales/ja/LC_MESSAGES/volto.po @@ -228,11 +228,6 @@ msgstr "{type} を追加" msgid "Add-Ons" msgstr "" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3519,6 +3514,7 @@ msgstr "テーブル" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "目次" @@ -4110,11 +4106,6 @@ msgstr "ユーザ名" msgid "Users" msgstr "ユーザ" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "ユーザとグループ" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/nl/LC_MESSAGES/volto.po b/locales/nl/LC_MESSAGES/volto.po index 9bdef35383..7c26724d51 100644 --- a/locales/nl/LC_MESSAGES/volto.po +++ b/locales/nl/LC_MESSAGES/volto.po @@ -227,11 +227,6 @@ msgstr "Voeg {type} toe" msgid "Add-Ons" msgstr "" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3518,6 +3513,7 @@ msgstr "" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "" @@ -4109,11 +4105,6 @@ msgstr "" msgid "Users" msgstr "" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/pt/LC_MESSAGES/volto.po b/locales/pt/LC_MESSAGES/volto.po index 15f9436a36..b4d1641b9e 100644 --- a/locales/pt/LC_MESSAGES/volto.po +++ b/locales/pt/LC_MESSAGES/volto.po @@ -228,11 +228,6 @@ msgstr "Adicionar {type}" msgid "Add-Ons" msgstr "" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3519,6 +3514,7 @@ msgstr "Tabela" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "" @@ -4110,11 +4106,6 @@ msgstr "Nome de utilizador" msgid "Users" msgstr "Utilizadores" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Utilizadores e Grupos" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/pt_BR/LC_MESSAGES/volto.po b/locales/pt_BR/LC_MESSAGES/volto.po index c0d38b3c8c..9d799f40fb 100644 --- a/locales/pt_BR/LC_MESSAGES/volto.po +++ b/locales/pt_BR/LC_MESSAGES/volto.po @@ -229,11 +229,6 @@ msgstr "Adicionar {type}" msgid "Add-Ons" msgstr "Complementos" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "Configuração de complemento" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3520,6 +3515,7 @@ msgstr "Tabela" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Tabela de conteúdos" @@ -4111,11 +4107,6 @@ msgstr "Nome de usuário" msgid "Users" msgstr "Usuários" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Usuários e Grupos" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/ro/LC_MESSAGES/volto.po b/locales/ro/LC_MESSAGES/volto.po index 593e612c61..b48d4b27f8 100644 --- a/locales/ro/LC_MESSAGES/volto.po +++ b/locales/ro/LC_MESSAGES/volto.po @@ -223,11 +223,6 @@ msgstr "Adăugare {type}" msgid "Add-Ons" msgstr "" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3514,6 +3509,7 @@ msgstr "Tabel" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "Cuprins" @@ -4105,11 +4101,6 @@ msgstr "Nume utilizator" msgid "Users" msgstr "Utilizatori" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "Utilizatori și grupuri" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/volto.pot b/locales/volto.pot index 23b087c19c..68a9af7822 100644 --- a/locales/volto.pot +++ b/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-12-06T13:58:41.138Z\n" +"POT-Creation-Date: 2024-12-12T15:18:24.900Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -225,11 +225,6 @@ msgstr "" msgid "Add-Ons" msgstr "" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3516,6 +3511,7 @@ msgstr "" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "" @@ -4107,11 +4103,6 @@ msgstr "" msgid "Users" msgstr "" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/locales/zh_CN/LC_MESSAGES/volto.po b/locales/zh_CN/LC_MESSAGES/volto.po index 8b079a43c9..932a1a5879 100644 --- a/locales/zh_CN/LC_MESSAGES/volto.po +++ b/locales/zh_CN/LC_MESSAGES/volto.po @@ -229,11 +229,6 @@ msgstr "添加{type}" msgid "Add-Ons" msgstr "附加组件" -#. Default: "Add-on Configuration" -#: components/manage/Controlpanels/Controlpanels -msgid "Add-on Configuration" -msgstr "附加组件配置" - #. Default: "Add-ons" #: components/manage/Controlpanels/AddonsControlpanel msgid "Add-ons" @@ -3520,6 +3515,7 @@ msgstr "表格" #. Default: "Table of Contents" #: components/manage/Blocks/ToC/variations/DefaultTocRenderer #: components/manage/Blocks/ToC/variations/HorizontalMenu +#: components/manage/Blocks/ToC/View msgid "Table of Contents" msgstr "表格内容" @@ -4111,11 +4107,6 @@ msgstr "用户名" msgid "Users" msgstr "用户" -#. Default: "Users and Groups" -#: components/manage/Controlpanels/Controlpanels -msgid "Users and Groups" -msgstr "用户和组" - #. Default: "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." #: components/manage/Aliases/Aliases msgid "Using this form, you can manage alternative urls for an item. This is an easy way to make an item available under two different URLs." diff --git a/news/6533.bugfix b/news/6533.bugfix new file mode 100644 index 0000000000..b1952ca04f --- /dev/null +++ b/news/6533.bugfix @@ -0,0 +1 @@ +Added missing translation in Table of Contents block and added missing Italian translations. @pnicolli diff --git a/src/components/manage/Blocks/ToC/View.jsx b/src/components/manage/Blocks/ToC/View.jsx index 6594cb9a6b..7a4900b69b 100644 --- a/src/components/manage/Blocks/ToC/View.jsx +++ b/src/components/manage/Blocks/ToC/View.jsx @@ -5,7 +5,7 @@ import React from 'react'; import PropTypes from 'prop-types'; -import { injectIntl } from 'react-intl'; +import { defineMessages, injectIntl } from 'react-intl'; import cx from 'classnames'; import { Message } from 'semantic-ui-react'; import config from '@plone/volto/registry'; @@ -167,7 +167,7 @@ const View = (props) => { return (
{props.mode === 'edit' && !data.title && !tocEntries.length && ( - Table of content + {props.intl.formatMessage(messages.toc_placeholder)} )} {Renderer ? ( @@ -189,3 +189,10 @@ View.propTypes = { }; export default injectIntl(withBlockExtensions(View)); + +const messages = defineMessages({ + toc_placeholder: { + id: 'Table of Contents', + defaultMessage: 'Table of Contents', + }, +}); diff --git a/src/components/manage/Controlpanels/Controlpanels.jsx b/src/components/manage/Controlpanels/Controlpanels.jsx index fa8d3e880d..b6338e0fa3 100644 --- a/src/components/manage/Controlpanels/Controlpanels.jsx +++ b/src/components/manage/Controlpanels/Controlpanels.jsx @@ -30,18 +30,10 @@ const messages = defineMessages({ id: 'Back', defaultMessage: 'Back', }, - versionoverview: { - id: 'Version Overview', - defaultMessage: 'Version Overview', - }, general: { id: 'General', defaultMessage: 'General', }, - addonconfiguration: { - id: 'Add-on Configuration', - defaultMessage: 'Add-on Configuration', - }, content: { id: 'Content', defaultMessage: 'Content', @@ -50,10 +42,6 @@ const messages = defineMessages({ id: 'Moderate Comments', defaultMessage: 'Moderate Comments', }, - usersandgroups: { - id: 'Users and Groups', - defaultMessage: 'Users and Groups', - }, usersControlPanelCategory: { id: 'Users', defaultMessage: 'Users',