From 6e803c2dd94cd70d9e152787057ce8cdb6634842 Mon Sep 17 00:00:00 2001 From: Giulia Ghisini Date: Fri, 6 Dec 2024 14:21:55 +0100 Subject: [PATCH 1/8] feat: improve link integrity popup --- .../volto/locales/ca/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/de/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/en/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/es/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/eu/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/fi/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/fr/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/hi/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/it/LC_MESSAGES/volto.po | 102 +++-- .../volto/locales/ja/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/nl/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/pt/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/pt_BR/LC_MESSAGES/volto.po | 58 ++- .../volto/locales/ro/LC_MESSAGES/volto.po | 58 ++- packages/volto/locales/volto.pot | 60 ++- .../volto/locales/zh_CN/LC_MESSAGES/volto.po | 58 ++- .../components/manage/Contents/Contents.jsx | 359 +---------------- .../manage/Contents/ContentsDeleteModal.jsx | 379 ++++++++++++++++++ .../src/components/manage/Rules/Rules.jsx | 8 +- packages/volto/src/reducers/index.js | 2 + .../reducers/linkIntegrity/linkIntegrity.js | 51 +++ .../linkIntegrity/linkIntegrity.test.js | 54 +++ 22 files changed, 1273 insertions(+), 554 deletions(-) create mode 100644 packages/volto/src/components/manage/Contents/ContentsDeleteModal.jsx create mode 100644 packages/volto/src/reducers/linkIntegrity/linkIntegrity.js create mode 100644 packages/volto/src/reducers/linkIntegrity/linkIntegrity.test.js diff --git a/packages/volto/locales/ca/LC_MESSAGES/volto.po b/packages/volto/locales/ca/LC_MESSAGES/volto.po index e9e7fe90a2..fc19db2d9d 100644 --- a/packages/volto/locales/ca/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ca/LC_MESSAGES/volto.po @@ -559,6 +559,7 @@ msgstr "No es pot editar el disseny per al tipus de contingut {type}{type} kann nicht verändert werden, da das #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1058,12 +1059,12 @@ msgid "Delete row" msgstr "Zeile löschen" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1073,7 +1074,7 @@ msgid "Deleted" msgstr "Gelöscht" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2358,6 +2359,11 @@ msgstr "Schmal" msgid "Navigate back" msgstr "Zurück navigieren" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3240,6 +3246,11 @@ msgstr "Anzuzeigende Spalten wählen" msgid "Select relation" msgstr "Wählen Sie eine Relation" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3437,12 +3448,12 @@ msgid "Small" msgstr "Klein" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3810,6 +3821,11 @@ msgstr "Es gibt Fehler" msgid "There were some errors." msgstr "Es sind Fehler aufgetreten." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3831,7 +3847,7 @@ msgid "This is a working copy of {title}" msgstr "Das ist eine Arbeitskopie von {title}" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4240,7 +4256,7 @@ msgid "View changes" msgstr "Änderungen anzeigen" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4669,12 +4685,12 @@ msgid "intranet" msgstr "Intranet" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4693,6 +4709,21 @@ msgstr "Mein Nutzername lautet" msgid "leadimage" msgstr "Lead-Bild" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4818,15 +4849,20 @@ msgid "rebuild relations" msgstr "Relationen neu indizieren" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/en/LC_MESSAGES/volto.po b/packages/volto/locales/en/LC_MESSAGES/volto.po index 2ad5450f89..1a46ea29bc 100644 --- a/packages/volto/locales/en/LC_MESSAGES/volto.po +++ b/packages/volto/locales/en/LC_MESSAGES/volto.po @@ -553,6 +553,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1053,12 +1054,12 @@ msgid "Delete row" msgstr "" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1068,7 +1069,7 @@ msgid "Deleted" msgstr "" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2353,6 +2354,11 @@ msgstr "" msgid "Navigate back" msgstr "" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3235,6 +3241,11 @@ msgstr "" msgid "Select relation" msgstr "" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3432,12 +3443,12 @@ msgid "Small" msgstr "" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3805,6 +3816,11 @@ msgstr "" msgid "There were some errors." msgstr "" +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3826,7 +3842,7 @@ msgid "This is a working copy of {title}" msgstr "" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4235,7 +4251,7 @@ msgid "View changes" msgstr "" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4664,12 +4680,12 @@ msgid "intranet" msgstr "" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4688,6 +4704,21 @@ msgstr "" msgid "leadimage" msgstr "" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4813,15 +4844,20 @@ msgid "rebuild relations" msgstr "" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/es/LC_MESSAGES/volto.po b/packages/volto/locales/es/LC_MESSAGES/volto.po index 669fa842da..75d93228bb 100644 --- a/packages/volto/locales/es/LC_MESSAGES/volto.po +++ b/packages/volto/locales/es/LC_MESSAGES/volto.po @@ -560,6 +560,7 @@ msgstr "No se puede editar la plantilla de {type} porque el sop #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1060,12 +1061,12 @@ msgid "Delete row" msgstr "Eliminar fila" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "¿Eliminar elementos seleccionados?" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "¿Eliminar este elemento?" @@ -1075,7 +1076,7 @@ msgid "Deleted" msgstr "Eliminado" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2360,6 +2361,11 @@ msgstr "Filtrar" msgid "Navigate back" msgstr "Navegar hacia atrás" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3242,6 +3248,11 @@ msgstr "Seleccionar columnas a mostrar" msgid "Select relation" msgstr "Seleccionar relación" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3439,12 +3450,12 @@ msgid "Small" msgstr "Pequeño" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "Algunos elementos están referenciados por otros contenidos. Al eliminarlos, {brokenReferences} {variation} se romperá." @@ -3812,6 +3823,11 @@ msgstr "Ha habido algunos errores" msgid "There were some errors." msgstr "Hay algunos errores." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3833,7 +3849,7 @@ msgid "This is a working copy of {title}" msgstr "Es una copia de trabajo de {title}" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4242,7 +4258,7 @@ msgid "View changes" msgstr "Mostrar los cambios" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4671,12 +4687,12 @@ msgid "intranet" msgstr "Intranet" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "elemento" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "elementos" @@ -4695,6 +4711,21 @@ msgstr "Mi nombre de usuario es" msgid "leadimage" msgstr "Imagen Principal" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4820,15 +4851,20 @@ msgid "rebuild relations" msgstr "reconstruir relaciones" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "referencia" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "referencias" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/eu/LC_MESSAGES/volto.po b/packages/volto/locales/eu/LC_MESSAGES/volto.po index 504f03b20d..5bd3837761 100644 --- a/packages/volto/locales/eu/LC_MESSAGES/volto.po +++ b/packages/volto/locales/eu/LC_MESSAGES/volto.po @@ -560,6 +560,7 @@ msgstr "Ezin da {type} elementu-motaren itxura aldatu, #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1060,12 +1061,12 @@ msgid "Delete row" msgstr "Ezabatu errenkada" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1075,7 +1076,7 @@ msgid "Deleted" msgstr "Ezabatuta" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2360,6 +2361,11 @@ msgstr "Estutu" msgid "Navigate back" msgstr "Atzera joan" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3242,6 +3248,11 @@ msgstr "Aukeratu erakutsiko diren zutabeak" msgid "Select relation" msgstr "" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3439,12 +3450,12 @@ msgid "Small" msgstr "Txikia" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3812,6 +3823,11 @@ msgstr "Errorea gertatu da" msgid "There were some errors." msgstr "Errorea gertatu da" +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3833,7 +3849,7 @@ msgid "This is a working copy of {title}" msgstr "Hau {title} elementuaren lan-bertsioa da" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4242,7 +4258,7 @@ msgid "View changes" msgstr "Aldaketak ikusi" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4671,12 +4687,12 @@ msgid "intranet" msgstr "Intraneta" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4695,6 +4711,21 @@ msgstr "Nire erabiltzaile izena da" msgid "leadimage" msgstr "Irudi nagusiaren eremua" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4820,15 +4851,20 @@ msgid "rebuild relations" msgstr "" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/fi/LC_MESSAGES/volto.po b/packages/volto/locales/fi/LC_MESSAGES/volto.po index 99ad9cfb65..22010b1f75 100644 --- a/packages/volto/locales/fi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fi/LC_MESSAGES/volto.po @@ -558,6 +558,7 @@ msgstr "Sisältötyypin {type} asettelua ei voi muokata, koska #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1058,12 +1059,12 @@ msgid "Delete row" msgstr "Poista valittu rivi" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1073,7 +1074,7 @@ msgid "Deleted" msgstr "Poistettu" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2358,6 +2359,11 @@ msgstr "Kavenna" msgid "Navigate back" msgstr "Takaisin" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3240,6 +3246,11 @@ msgstr "Näytettävät sarakkeet" msgid "Select relation" msgstr "" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3437,12 +3448,12 @@ msgid "Small" msgstr "Pieni" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3810,6 +3821,11 @@ msgstr "Lomakkeesta löytyi virheitä" msgid "There were some errors." msgstr "Löytyi joitakin puutteita tai virheitä." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3831,7 +3847,7 @@ msgid "This is a working copy of {title}" msgstr "" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4240,7 +4256,7 @@ msgid "View changes" msgstr "Näytä muutokset" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4669,12 +4685,12 @@ msgid "intranet" msgstr "inranet" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4693,6 +4709,21 @@ msgstr "Käyttäjätunnukseni" msgid "leadimage" msgstr "nostokuva" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4818,15 +4849,20 @@ msgid "rebuild relations" msgstr "" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/fr/LC_MESSAGES/volto.po b/packages/volto/locales/fr/LC_MESSAGES/volto.po index fb52823be1..163671f7f1 100644 --- a/packages/volto/locales/fr/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fr/LC_MESSAGES/volto.po @@ -560,6 +560,7 @@ msgstr "Impossible de modifier la mise en page pour le type de contenu { #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1060,12 +1061,12 @@ msgid "Delete row" msgstr "Supprimer la ligne" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1075,7 +1076,7 @@ msgid "Deleted" msgstr "Supprimé" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2360,6 +2361,11 @@ msgstr "Étroit" msgid "Navigate back" msgstr "Retour en arrière" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3242,6 +3248,11 @@ msgstr "Sélectionnez les colonnes à afficher" msgid "Select relation" msgstr "" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3439,12 +3450,12 @@ msgid "Small" msgstr "Petit" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3812,6 +3823,11 @@ msgstr "Il y a eu quelques erreurs" msgid "There were some errors." msgstr "Il y a eu quelques erreurs." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3833,7 +3849,7 @@ msgid "This is a working copy of {title}" msgstr "Il sagit d'une copie de travail de {title}" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4242,7 +4258,7 @@ msgid "View changes" msgstr "Voir les changements" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4671,12 +4687,12 @@ msgid "intranet" msgstr "Intranet" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4695,6 +4711,21 @@ msgstr "Mon nom d'utilisateur est" msgid "leadimage" msgstr "image de garde" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4820,15 +4851,20 @@ msgid "rebuild relations" msgstr "" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/hi/LC_MESSAGES/volto.po b/packages/volto/locales/hi/LC_MESSAGES/volto.po index 0028b6e413..2d642b3f76 100644 --- a/packages/volto/locales/hi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/hi/LC_MESSAGES/volto.po @@ -553,6 +553,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1053,12 +1054,12 @@ msgid "Delete row" msgstr "पंक्ति हटाएँ" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "चयनित आइटम हटाएं?" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "क्या आप इस आइटम को हटाना चाहते हैं?" @@ -1068,7 +1069,7 @@ msgid "Deleted" msgstr "हटा दिया गया" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "इस आइटम को हटाने से {brokenReferences} {variation} टूट जाता है।" @@ -2353,6 +2354,11 @@ msgstr "संकीर्ण" msgid "Navigate back" msgstr "पिछले पृष्ठ पर जाएं" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3235,6 +3241,11 @@ msgstr "प्रदर्शित करने के लिए स्तं msgid "Select relation" msgstr "रिश्ता चुनें" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3432,12 +3443,12 @@ msgid "Small" msgstr "छोटा" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "कुछ आइटम एक फ़ोल्डर भी हो सकते हैं। उन्हें हटा कर आप {containedItemsToDelete} {variation} फ़ोल्डर के अंदर में हटा देंगे।" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "कुछ आइटम अन्य सामग्रियों द्वारा संदर्भित होते हैं। उन्हें हटा कर आप {brokenReferences} {variation} टूट जाएगा।" @@ -3805,6 +3816,11 @@ msgstr "कुछ त्रुटियाँ थीं" msgid "There were some errors." msgstr "कुछ त्रुटियाँ थीं।" +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3826,7 +3842,7 @@ msgid "This is a working copy of {title}" msgstr "यह {title} की काम की प्रतिलिपि है" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "यह आइटम एक फ़ोल्डर भी है। इसे हटाकर आप {containedItemsToDelete} {variation} फ़ोल्डर के अंदर हटा देंगे।" @@ -4235,7 +4251,7 @@ msgid "View changes" msgstr "परिवर्तन देखें" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "इस आइटम के लिए लिंक और संदर्भ देखें" @@ -4664,12 +4680,12 @@ msgid "intranet" msgstr "इंट्रानेट" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "आइटम" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "आइटम्स" @@ -4688,6 +4704,21 @@ msgstr "मेरा उपयोगकर्ता नाम है" msgid "leadimage" msgstr "प्रमुख छवि फ़ील्ड" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4813,15 +4844,20 @@ msgid "rebuild relations" msgstr "रिश्तों को पुनः निर्माण करें" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "संदर्भ" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "संदर्भ" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/it/LC_MESSAGES/volto.po b/packages/volto/locales/it/LC_MESSAGES/volto.po index d8f9c6b6ec..764466e660 100644 --- a/packages/volto/locales/it/LC_MESSAGES/volto.po +++ b/packages/volto/locales/it/LC_MESSAGES/volto.po @@ -90,7 +90,7 @@ msgstr "Aggiungi Add-ons" #. Default: "Add Alternative URL" #: components/manage/Controlpanels/Aliases msgid "Add Alternative URL" -msgstr "" +msgstr "Aggiungi un URL alternativo" #. Default: "Add Content…" #: components/manage/Toolbar/Types @@ -311,12 +311,12 @@ msgstr "L'alias è stato aggiunto" #. Default: "Aliases have been removed." #: components/manage/Controlpanels/Aliases msgid "Aliases have been removed." -msgstr "" +msgstr "Gli Alias sono stati rimossi." #. Default: "Aliases have been uploaded." #: components/manage/Controlpanels/Aliases msgid "Aliases have been uploaded." -msgstr "" +msgstr "Gli Alias sono stati caricati." #. Default: "Alignment" #: components/manage/Blocks/Image/schema @@ -429,7 +429,7 @@ msgstr "Assegnazione" #. Default: "Automatically" #: components/manage/Controlpanels/Aliases msgid "Automatically" -msgstr "" +msgstr "Automaticamente" #. Default: "Available" #: components/manage/Controlpanels/AddonsControlpanel @@ -493,7 +493,7 @@ msgstr "Blocco" #. Default: "Both" #: components/manage/Controlpanels/Aliases msgid "Both" -msgstr "" +msgstr "Entrambi" #. Default: "Both email address and password are case sensitive, check that caps lock is not enabled." #: components/theme/Login/Login @@ -524,7 +524,7 @@ msgstr "Sfoglia i contenuti, rilascia un'immagine o digita un URL" #. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" -msgstr "" +msgstr "Caricamento massivo CSV" #. Default: "By default, permissions from the container of this item are inherited. If you disable this, only the explicitly defined sharing permissions will be valid. In the overview, the symbol {inherited} indicates an inherited value. Similarly, the symbol {global} indicates a global role, which is managed by the site administrator." #: components/manage/Sharing/Sharing @@ -553,6 +553,7 @@ msgstr "Non è possibile modificare il Layout per il tipo {type}, &, #, /, ?, or others that are illegal in URLs. Cannot start with: _, aq_, @@, ++. Cannot end with __. Cannot be: request,contributors, ., .., "". Cannot contain new lines." #: components/manage/Widgets/IdWidget msgid "Only 7-bit bytes characters are allowed. Cannot contain uppercase letters, special characters: <, >, &, #, /, ?, or others that are illegal in URLs. Cannot start with: _, aq_, @@, ++. Cannot end with __. Cannot be: request,contributors, ., .., "". Cannot contain new lines." -msgstr "" +msgstr "Sono ammessi solo 7-bit bytes di caratteri. Non può contenere lettere maiuscole, caratteris speciali come: <, >, &, #, /, ?, o altri che non sono ammessi negli URLs. Non può iniziare con: _, aq_, @@, ++. Non può finire con: __. Non può essere: request,contributors, ., .., "" Non può contenere nuove righe." #. Default: "Open in a new tab" #: components/manage/Blocks/Image/schema @@ -3235,6 +3241,11 @@ msgstr "Seleziona le colonne da mostrare" msgid "Select relation" msgstr "Seleziona relazione" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "Seleziona una regola" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3432,14 +3443,14 @@ msgid "Small" msgstr "Piccolo" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "Alcuni elementi sono anche una cartella. Eliminandoli eliminerai {containedItemsToDelete} {variation} dentro le cartelle." #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -msgstr "" +msgstr "Alcuni elementi sono referenziati da altri contenuti. Eliminandoli, {brokenReferences} {variation} si romperanno." #. Default: "Some relations are broken. Please fix." #: components/manage/Controlpanels/Relations/Relations @@ -3805,6 +3816,11 @@ msgstr "Si sono verificati degli errori" msgid "There were some errors." msgstr "Si sono verificati degli errori." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "Questi elementi avranno dei collegamenti rotti" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3826,9 +3842,9 @@ msgid "This is a working copy of {title}" msgstr "Questa è una copia di lavoro di {title}" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -msgstr "" +msgstr "Questo elemento è anche una cartella. Eliminandola eliminerai anche i {containedItemsToDelete} {variation} contenuti in questa cartella." #. Default: "This item was locked by {creator} on {date}" #: components/manage/LockingToastsFactory/LockingToastsFactory @@ -4235,7 +4251,7 @@ msgid "View changes" msgstr "Mostra le modifiche" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "Visualizza i collegamenti e i riferimenti a questo elemento" @@ -4475,7 +4491,7 @@ msgstr "Viste disponibili" #. Default: "Error in the block field {errorField}." #: helpers/MessageLabels/MessageLabels msgid "blocksFieldsErrorTitle" -msgstr "" +msgstr "Errore nel campo {errorField} del blocco." #. Default: "Forgot your password?" #: components/theme/Login/Login @@ -4486,7 +4502,7 @@ msgstr "Hai dimenticato la tua password?" #. Default: "Add many alternative URLs at once by uploading a CSV file. The first column should be the path to redirect from; the second, the path to redirect to. Both paths must be Plone-site-relative, starting with a slash (/). An optional third column can contain a date and time. An optional fourth column can contain a boolean to mark as a manual redirect (default true)." #: components/manage/Controlpanels/Aliases msgid "bulkUploadUrlsHelp" -msgstr "" +msgstr "Aggiungi molte URLs alternative contemporaneamente caricando un file CSV. La prima colonna deve contenere il percorso da cui reindirizzare (sorgente); la seconda colonna, il path a cui reindirizzare (destinazione). Entrambi i percorsi devono essere url relativi, e quindi devono iniziare con lo slash (/). Una terza colonna opzionale può contenere data e ora. Una quarta colonna opzionale può contenere un valore booleano (true/false) per poter contrassegnare come reindirizzamento manuale (predefinito: true)" #. Default: "Checkbox" #: config/Blocks @@ -4516,7 +4532,7 @@ msgstr "Confronta con" #. Default: "{countofrelation} broken {countofrelation, plural, one {relation} other {relations}} of type {typeofrelation}" #: components/manage/Controlpanels/Relations/BrokenRelations msgid "countBrokenRelations" -msgstr "" +msgstr "{countofrelation} {countofrelation, plural, one {relazione rotta} other {relazioni rotte}} di tipo {typeofrelation}" #. Default: "Date Range" #: config/Blocks @@ -4664,12 +4680,12 @@ msgid "intranet" msgstr "Pubblicato internamente" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "elemento" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "elementi" @@ -4688,6 +4704,21 @@ msgstr "Il mio nome utente è" msgid "leadimage" msgstr "Immagine di testata" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "Elimina" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "Elimina questo elemento e rompi i collegamenti" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "Sto verificando i riferimenti a questo contenuto..." + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4813,15 +4844,20 @@ msgid "rebuild relations" msgstr "ricrea le relazioni" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "riferimento" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "riferimenti" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "fa riferimento a" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/ja/LC_MESSAGES/volto.po b/packages/volto/locales/ja/LC_MESSAGES/volto.po index c6ba730668..db5b97313e 100644 --- a/packages/volto/locales/ja/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ja/LC_MESSAGES/volto.po @@ -558,6 +558,7 @@ msgstr "ふるまいのブロックが有効で、かつ{type}-contenttype o #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1057,12 +1058,12 @@ msgid "Delete row" msgstr "Rij verwijderen" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "Geselecteerde items verwijderen?" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "Dit item verwijderen?" @@ -1072,7 +1073,7 @@ msgid "Deleted" msgstr "Verwijderd" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "Dit item verwijderen breekt {brokenReferences} {variation}." @@ -2357,6 +2358,11 @@ msgstr "Smal" msgid "Navigate back" msgstr "Navigeer terug" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3239,6 +3245,11 @@ msgstr "Selecteer de te tonen kolommen" msgid "Select relation" msgstr "Selecteer relatie" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3436,12 +3447,12 @@ msgid "Small" msgstr "Klein" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "Bepaalde items zijn ook een map. Door het verwijderen ervan, verwijder je tevens {containedItemsToDelete} {variation} in de mappen." #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "Bepaalde items worden gerefereerd door andere inhoud. Door het verwijderen ervan, worden {brokenReferences} {variation} gebroken." @@ -3809,6 +3820,11 @@ msgstr "Er zijn fouten opgetreden" msgid "There were some errors." msgstr "Er zijn fouten opgetreden." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3830,7 +3846,7 @@ msgid "This is a working copy of {title}" msgstr "Dit is een werkkopij van {title}" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "Dit item is ook een map. Door deze te verwijderen, verwijder je eveneens {containedItemsToDelete} {variation} in de map." @@ -4239,7 +4255,7 @@ msgid "View changes" msgstr "Bekijk wijzigingen" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "Bekijk koppelingen en referenties naar dit item" @@ -4668,12 +4684,12 @@ msgid "intranet" msgstr "Intranet" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "item" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "items" @@ -4692,6 +4708,21 @@ msgstr "Mijn gebruikersnaam is" msgid "leadimage" msgstr "Veld leidende afbeelding" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4817,15 +4848,20 @@ msgid "rebuild relations" msgstr "hetbouw relaties" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "referentie" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "referenties" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/pt/LC_MESSAGES/volto.po b/packages/volto/locales/pt/LC_MESSAGES/volto.po index 075a03f3d3..1227d10018 100644 --- a/packages/volto/locales/pt/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt/LC_MESSAGES/volto.po @@ -558,6 +558,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1058,12 +1059,12 @@ msgid "Delete row" msgstr "Eliminar linha" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1073,7 +1074,7 @@ msgid "Deleted" msgstr "" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2358,6 +2359,11 @@ msgstr "" msgid "Navigate back" msgstr "" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3240,6 +3246,11 @@ msgstr "Seleccione colunas a apresentar" msgid "Select relation" msgstr "" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3437,12 +3448,12 @@ msgid "Small" msgstr "" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3810,6 +3821,11 @@ msgstr "" msgid "There were some errors." msgstr "Ocorreram alguns erros." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3831,7 +3847,7 @@ msgid "This is a working copy of {title}" msgstr "" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4240,7 +4256,7 @@ msgid "View changes" msgstr "Ver modificações" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4669,12 +4685,12 @@ msgid "intranet" msgstr "" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4693,6 +4709,21 @@ msgstr "Meu nome de usuário é" msgid "leadimage" msgstr "" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4818,15 +4849,20 @@ msgid "rebuild relations" msgstr "" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po index 8ec0da515b..0cc3c383d9 100644 --- a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po @@ -559,6 +559,7 @@ msgstr "Não é possível editar layout para o tipo de conteúdo {type}< #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1059,12 +1060,12 @@ msgid "Delete row" msgstr "Excluir linha" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "Excluir os itens selecionados?" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "Apagar este item?" @@ -1074,7 +1075,7 @@ msgid "Deleted" msgstr "Removida" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "A exclusão desse item quebra {brokenReferences} {variation}." @@ -2359,6 +2360,11 @@ msgstr "Estreito" msgid "Navigate back" msgstr "Voltar" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3241,6 +3247,11 @@ msgstr "Selecione colunas para mostrar" msgid "Select relation" msgstr "Selecione um relacionamento" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3438,12 +3449,12 @@ msgid "Small" msgstr "Pequeno" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "Alguns itens também são uma pasta. Ao excluí-los, você excluirá {containedItemsToDelete} {variation} dentro destas pastas." #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "Alguns itens são referenciados por outros conteúdos. Ao excluí-los, {brokenReferences} {variation} podem ser quebrados." @@ -3811,6 +3822,11 @@ msgstr "Houve alguns erros" msgid "There were some errors." msgstr "Houve alguns erros." +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3832,7 +3848,7 @@ msgid "This is a working copy of {title}" msgstr "Esta é uma cópia de trabalho de {title}" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "Esse item também é uma pasta. Ao excluí-lo, você excluirá {containedItemsToDelete} {variation} dentro da pasta." @@ -4241,7 +4257,7 @@ msgid "View changes" msgstr "Ver mudanças" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "Exibir links e referências a este item" @@ -4670,12 +4686,12 @@ msgid "intranet" msgstr "Intranet" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "Item" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "Itens" @@ -4694,6 +4710,21 @@ msgstr "Meu nome de usuário é " msgid "leadimage" msgstr "Imagem principal" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4819,15 +4850,20 @@ msgid "rebuild relations" msgstr "reconstruir relacionamentos" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "referência" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "referências" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/ro/LC_MESSAGES/volto.po b/packages/volto/locales/ro/LC_MESSAGES/volto.po index 1cbec413e0..51cf47a3a1 100644 --- a/packages/volto/locales/ro/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ro/LC_MESSAGES/volto.po @@ -559,6 +559,7 @@ msgstr "Nu se poate edita aspectul pentru tipul de conținut {type}\n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -555,6 +555,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1055,12 +1056,12 @@ msgid "Delete row" msgstr "" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1070,7 +1071,7 @@ msgid "Deleted" msgstr "" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2355,6 +2356,11 @@ msgstr "" msgid "Navigate back" msgstr "" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3237,6 +3243,11 @@ msgstr "" msgid "Select relation" msgstr "" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3434,12 +3445,12 @@ msgid "Small" msgstr "" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3807,6 +3818,11 @@ msgstr "" msgid "There were some errors." msgstr "" +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3828,7 +3844,7 @@ msgid "This is a working copy of {title}" msgstr "" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4237,7 +4253,7 @@ msgid "View changes" msgstr "" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4666,12 +4682,12 @@ msgid "intranet" msgstr "" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4690,6 +4706,21 @@ msgstr "" msgid "leadimage" msgstr "" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4815,15 +4846,20 @@ msgid "rebuild relations" msgstr "" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po index e1948dea26..d0657cdd07 100644 --- a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po +++ b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po @@ -559,6 +559,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add +#: components/manage/Contents/ContentsDeleteModal #: components/manage/Contents/ContentsUploadModal #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout @@ -1059,12 +1060,12 @@ msgid "Delete row" msgstr "删除条件" #. Default: "Delete selected items?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete selected items?" msgstr "" #. Default: "Delete this item?" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Delete this item?" msgstr "" @@ -1074,7 +1075,7 @@ msgid "Deleted" msgstr "已删除" #. Default: "Deleting this item breaks {brokenReferences} {variation}." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Deleting this item breaks {brokenReferences} {variation}." msgstr "" @@ -2359,6 +2360,11 @@ msgstr "" msgid "Navigate back" msgstr "导航返回" +#. Default: "Navigate to this item" +#: components/manage/Contents/ContentsDeleteModal +msgid "Navigate to this items" +msgstr "" + #. Default: "Navigation" #: components/theme/Navigation/ContextNavigation msgid "Navigation" @@ -3241,6 +3247,11 @@ msgstr "选择要显示的列" msgid "Select relation" msgstr "" +#. Default: "Select rule" +#: components/manage/Rules/Rules +msgid "Select rule" +msgstr "" + #. Default: "Select the transition to be used for modifying the items state." #: components/manage/Contents/ContentsWorkflowModal msgid "Select the transition to be used for modifying the items state." @@ -3438,12 +3449,12 @@ msgid "Small" msgstr "小" #. Default: "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are also a folder. By deleting them you will delete {containedItemsToDelete} {variation} inside the folders." msgstr "" #. Default: "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "Some items are referenced by other contents. By deleting them {brokenReferences} {variation} will be broken." msgstr "" @@ -3811,6 +3822,11 @@ msgstr "这里出现了一些错误" msgid "There were some errors." msgstr "这里出现了一些错误。" +#. Default: "These items will have broken links" +#: components/manage/Contents/ContentsDeleteModal +msgid "These items will have broken links" +msgstr "" + #. Default: "Third" #: components/manage/Widgets/RecurrenceWidget/WeekdayOfTheMonthIndexField msgid "Third" @@ -3832,7 +3848,7 @@ msgid "This is a working copy of {title}" msgstr "这是{title}的一个工作副本" #. Default: "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "This item is also a folder. By deleting it you will delete {containedItemsToDelete} {variation} inside the folder." msgstr "" @@ -4241,7 +4257,7 @@ msgid "View changes" msgstr "" #. Default: "View links and references to this item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "View links and references to this item" msgstr "" @@ -4670,12 +4686,12 @@ msgid "intranet" msgstr "内部" #. Default: "item" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "item" msgstr "" #. Default: "items" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "items" msgstr "" @@ -4694,6 +4710,21 @@ msgstr "我的用户名是" msgid "leadimage" msgstr "" +#. Default: "Delete" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete" +msgstr "" + +#. Default: "Delete item and break links" +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: Delete item and break links" +msgstr "" + +#. Default: "Checking references..." +#: components/manage/Contents/ContentsDeleteModal +msgid "link-integrity: loading references" +msgstr "" + #. Default: "Enter a URL to an image" #: components/manage/Widgets/ImageWidget msgid "linkAnImage" @@ -4819,15 +4850,20 @@ msgid "rebuild relations" msgstr "" #. Default: "reference" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "reference" msgstr "" #. Default: "references" -#: components/manage/Contents/Contents +#: components/manage/Contents/ContentsDeleteModal msgid "references" msgstr "" +#. Default: "refers to" +#: components/manage/Contents/ContentsDeleteModal +msgid "refers to" +msgstr "" + #. Default: "results" #: components/theme/Search/Search msgid "results found" diff --git a/packages/volto/src/components/manage/Contents/Contents.jsx b/packages/volto/src/components/manage/Contents/Contents.jsx index 20de9fc406..077c1a44ea 100644 --- a/packages/volto/src/components/manage/Contents/Contents.jsx +++ b/packages/volto/src/components/manage/Contents/Contents.jsx @@ -11,7 +11,6 @@ import { createPortal } from 'react-dom'; import { Link } from 'react-router-dom'; import { Button, - Confirm, Container as SemanticContainer, Divider, Dropdown, @@ -35,7 +34,6 @@ import { import move from 'lodash-move'; import { FormattedMessage, defineMessages, injectIntl } from 'react-intl'; import { asyncConnect } from '@plone/volto/helpers'; -import { flattenToAppURL } from '@plone/volto/helpers'; import { searchContent, @@ -48,7 +46,6 @@ import { orderContent, sortContent, updateColumnsContent, - linkIntegrityCheck, getContent, } from '@plone/volto/actions'; import Indexes, { defaultIndexes } from '@plone/volto/constants/Indexes'; @@ -65,6 +62,7 @@ import ContentsIndexHeader from '@plone/volto/components/manage/Contents/Content import ContentsItem from '@plone/volto/components/manage/Contents/ContentsItem'; import { ContentsRenameModal } from '@plone/volto/components/manage/Contents'; import ContentsUploadModal from '@plone/volto/components/manage/Contents/ContentsUploadModal'; +import ContentsDeleteModal from '@plone/volto/components/manage/Contents/ContentsDeleteModal'; import ContentsWorkflowModal from '@plone/volto/components/manage/Contents/ContentsWorkflowModal'; import ContentsTagsModal from '@plone/volto/components/manage/Contents/ContentsTagsModal'; import ContentsPropertiesModal from '@plone/volto/components/manage/Contents/ContentsPropertiesModal'; @@ -119,14 +117,6 @@ const messages = defineMessages({ id: 'Delete', defaultMessage: 'Delete', }, - deleteConfirmSingleItem: { - id: 'Delete this item?', - defaultMessage: 'Delete this item?', - }, - deleteConfirmMultipleItems: { - id: 'Delete selected items?', - defaultMessage: 'Delete selected items?', - }, deleteError: { id: 'The item could not be deleted.', defaultMessage: 'The item could not be deleted.', @@ -300,7 +290,6 @@ class Contents extends Component { orderContent: PropTypes.func.isRequired, sortContent: PropTypes.func.isRequired, updateColumnsContent: PropTypes.func.isRequired, - linkIntegrityCheck: PropTypes.func.isRequired, clipboardRequest: PropTypes.shape({ loading: PropTypes.bool, loaded: PropTypes.bool, @@ -399,7 +388,6 @@ class Contents extends Component { this.paste = this.paste.bind(this); this.fetchContents = this.fetchContents.bind(this); this.orderTimeout = null; - this.deleteItemsToShowThreshold = 10; this.state = { selected: [], @@ -410,10 +398,6 @@ class Contents extends Component { showProperties: false, showWorkflow: false, itemsToDelete: [], - containedItemsToDelete: [], - brokenReferences: 0, - breaches: [], - showAllItemsToDelete: true, items: this.props.items, filter: '', currentPage: 0, @@ -429,7 +413,6 @@ class Contents extends Component { sort_on: this.props.sort?.on || 'getObjPositionInParent', sort_order: this.props.sort?.order || 'ascending', isClient: false, - linkIntegrityBreakages: [], }; this.filterTimeout = null; } @@ -443,50 +426,6 @@ class Contents extends Component { this.fetchContents(); this.setState({ isClient: true }); } - async componentDidUpdate(_, prevState) { - if ( - this.state.itemsToDelete !== prevState.itemsToDelete && - this.state.itemsToDelete.length > 0 - ) { - const linkintegrityInfo = await this.props.linkIntegrityCheck( - map(this.state.itemsToDelete, (item) => this.getFieldById(item, 'UID')), - ); - const containedItems = linkintegrityInfo - .map((result) => result.items_total ?? 0) - .reduce((acc, value) => acc + value, 0); - const breaches = linkintegrityInfo.flatMap((result) => - result.breaches.map((source) => ({ - source: source, - target: result, - })), - ); - const source_by_uid = breaches.reduce( - (acc, value) => acc.set(value.source.uid, value.source), - new Map(), - ); - const by_source = breaches.reduce((acc, value) => { - if (acc.get(value.source.uid) === undefined) { - acc.set(value.source.uid, new Set()); - } - acc.get(value.source.uid).add(value.target); - return acc; - }, new Map()); - - this.setState({ - containedItemsToDelete: containedItems, - brokenReferences: by_source.size, - linksAndReferencesViewLink: linkintegrityInfo.length - ? linkintegrityInfo[0]['@id'] + '/links-to-item' - : null, - breaches: Array.from(by_source, (entry) => ({ - source: source_by_uid.get(entry[0]), - targets: Array.from(entry[1]), - })), - showAllItemsToDelete: - this.state.itemsToDelete.length < this.deleteItemsToShowThreshold, - }); - } - } /** * Component will receive props @@ -1211,298 +1150,12 @@ class Contents extends Component { />
- - {this.state.itemsToDelete.length > 1 ? ( - this.state.containedItemsToDelete > 0 ? ( - <> - - {this.state.containedItemsToDelete} - - ), - variation: ( - - {this.state.containedItemsToDelete === - 1 ? ( - - ) : ( - - )} - - ), - }} - /> - {this.state.brokenReferences > 0 && ( - <> -
- - {this.state.brokenReferences} - - ), - variation: ( - - {this.state.brokenReferences === 1 ? ( - - ) : ( - - )} - - ), - }} - /> - - )} - - ) : ( - <> - {this.state.brokenReferences > 0 && ( - <> - - {this.state.brokenReferences} - - ), - variation: ( - - {this.state.brokenReferences === 1 ? ( - - ) : ( - - )} - - ), - }} - /> - - )} - - ) - ) : this.state.containedItemsToDelete > 0 ? ( - <> - - {this.state.containedItemsToDelete} - - ), - variation: ( - - {this.state.containedItemsToDelete === 1 ? ( - - ) : ( - - )} - - ), - }} - /> - {this.state.brokenReferences > 0 && ( - <> -
- {this.state.brokenReferences} - ), - variation: ( - - {this.state.brokenReferences === 1 ? ( - - ) : ( - - )} - - ), - }} - /> -
- -
    - {this.state.breaches.map((breach) => ( -
  • - - {breach.source.title} - {' '} - refers to{' '} - {breach.targets - .map((target) => ( - - {target.title} - - )) - .reduce((result, item) => ( - <> - {result}, {item} - - ))} -
  • - ))} -
- {this.state.linksAndReferencesViewLink && ( - - - - )} -
- - )} - - ) : this.state.brokenReferences > 0 ? ( - <> - {this.state.brokenReferences} - ), - variation: ( - - {this.state.brokenReferences === 1 ? ( - - ) : ( - - )} - - ), - }} - /> -
- -
    - {this.state.breaches.map((breach) => ( -
  • - - {breach.source.title} - {' '} - refers to{' '} - {breach.targets - .map((target) => ( - - {target.title} - - )) - .reduce((result, item) => ( - <> - {result}, {item} - - ))} -
  • - ))} -
- {this.state.linksAndReferencesViewLink && ( - - - - )} -
- - ) : null} -
- } onCancel={this.onDeleteCancel} - onConfirm={this.onDeleteOk} - size="medium" + onOk={this.onDeleteOk} + items={this.state.items} + itemsToDelete={this.state.itemsToDelete} /> { + const { itemsToDelete = [], open, onCancel, onOk, items } = props; + const intl = useIntl(); + const dispatch = useDispatch(); + const linkintegrityInfo = useSelector((state) => state.linkIntegrity.result); + const loading = useSelector((state) => state.linkIntegrity.loading); + + const [brokenReferences, setBrokenReferences] = useState(0); + const [containedItemsToDelete, setContainedItemsToDelete] = useState([]); + const [breaches, setBreaches] = useState([]); + + const [linksAndReferencesViewLink, setLinkAndReferencesViewLink] = + useState(null); + + useEffect(() => { + const getFieldById = (id, field) => { + const item = find(items, { '@id': id }); + return item ? item[field] : ''; + }; + + if (itemsToDelete.length > 0 && open) { + dispatch( + linkIntegrityCheck( + map(itemsToDelete, (item) => getFieldById(item, 'UID')), + ), + ); + } + }, [itemsToDelete, items, open, dispatch]); + + useEffect(() => { + if (linkintegrityInfo) { + const containedItems = linkintegrityInfo + .map((result) => result.items_total ?? 0) + .reduce((acc, value) => acc + value, 0); + const breaches = linkintegrityInfo.flatMap((result) => + result.breaches.map((source) => ({ + source: source, + target: result, + })), + ); + const source_by_uid = breaches.reduce( + (acc, value) => acc.set(value.source.uid, value.source), + new Map(), + ); + const by_source = breaches.reduce((acc, value) => { + if (acc.get(value.source.uid) === undefined) { + acc.set(value.source.uid, new Set()); + } + acc.get(value.source.uid).add(value.target); + return acc; + }, new Map()); + + setContainedItemsToDelete(containedItems); + setBrokenReferences(by_source.size); + setLinkAndReferencesViewLink( + linkintegrityInfo.length + ? linkintegrityInfo[0]['@id'] + '/links-to-item' + : null, + ); + setBreaches( + Array.from(by_source, (entry) => ({ + source: source_by_uid.get(entry[0]), + targets: Array.from(entry[1]), + })), + ); + } else { + setContainedItemsToDelete([]); + setBrokenReferences(0); + setLinkAndReferencesViewLink(null); + setBreaches([]); + } + }, [linkintegrityInfo]); + + return ( + open && ( + + + + {intl.formatMessage(messages.loading)} + + + + {itemsToDelete.length > 1 ? ( + containedItemsToDelete > 0 ? ( + <> + {containedItemsToDelete} + ), + variation: ( + + {containedItemsToDelete === 1 ? ( + + ) : ( + + )} + + ), + }} + /> + {brokenReferences > 0 && ( + <> +
+ {brokenReferences}, + variation: ( + + {brokenReferences === 1 ? ( + + ) : ( + + )} + + ), + }} + /> + + )} + + ) : ( + <> + {brokenReferences > 0 && ( + <> + {brokenReferences}, + variation: ( + + {brokenReferences === 1 ? ( + + ) : ( + + )} + + ), + }} + /> + + )} + + ) + ) : containedItemsToDelete > 0 ? ( + <> + {containedItemsToDelete} + ), + variation: ( + + {containedItemsToDelete === 1 ? ( + + ) : ( + + )} + + ), + }} + /> + {brokenReferences > 0 && ( + <> +
+ {brokenReferences}, + variation: ( + + {brokenReferences === 1 ? ( + + ) : ( + + )} + + ), + }} + /> + + + )} + + ) : brokenReferences > 0 ? ( + <> + {brokenReferences}, + variation: ( + + {brokenReferences === 1 ? ( + + ) : ( + + )} + + ), + }} + /> + + + ) : null} + + } + onCancel={onCancel} + onConfirm={onOk} + size="medium" + /> + ) + ); +}; + +const BrokenLinksList = ({ intl, breaches, linksAndReferencesViewLink }) => { + return ( +
+ + : + + + {breaches.map((breach) => ( + + + + {breach.source.title} + + + + : + + +
    + {breach.targets.map((target) => ( +
  • + + {target.title} + +
  • + ))} +
+
+
+ ))} +
+
+ {linksAndReferencesViewLink && ( + + + + )} +
+ ); +}; +ContentsDeleteModal.propTypes = { + itemsToDelete: PropTypes.arrayOf( + PropTypes.shape({ + UID: PropTypes.string, + }), + ).isRequired, + open: PropTypes.bool.isRequired, + onOk: PropTypes.func.isRequired, + onCancel: PropTypes.func.isRequired, +}; +export default ContentsDeleteModal; diff --git a/packages/volto/src/components/manage/Rules/Rules.jsx b/packages/volto/src/components/manage/Rules/Rules.jsx index f47c14c567..72a6c1589d 100644 --- a/packages/volto/src/components/manage/Rules/Rules.jsx +++ b/packages/volto/src/components/manage/Rules/Rules.jsx @@ -75,6 +75,10 @@ const messages = defineMessages({ id: 'Unassigned', defaultMessage: 'Unassigned', }, + select_rule: { + id: 'Select rule', + defaultMessage: 'Select rule', + }, }); /** @@ -365,7 +369,9 @@ class Rules extends Component { />