Skip to content

Commit

Permalink
Show which pages will have broken links if you would delete an item. (#…
Browse files Browse the repository at this point in the history
…5234)

Co-authored-by: Víctor Fernández de Alba <sneridagh@gmail.com>
  • Loading branch information
jaroel and sneridagh committed Nov 7, 2023
1 parent f31726f commit 992d036
Show file tree
Hide file tree
Showing 21 changed files with 397 additions and 319 deletions.
1 change: 0 additions & 1 deletion README.md
Expand Up @@ -84,7 +84,6 @@ On Plone 5, Volto is currently tested with the following packages pinned to spec
- plone.rest 2.0.0
- plone.volto 4.0.3


## Volto in Production

Volto is actively developed since 2017 and used in production since 2018 on the following websites:
Expand Down
3 changes: 2 additions & 1 deletion api/buildout.cfg
Expand Up @@ -16,8 +16,9 @@ show-picked-versions = true

[sources]
plone.volto = git https://github.com/plone/plone.volto.git branch=main
plone.rest = git git@github.com:plone/plone.rest.git branch=master
plone.rest = git git@github.com:plone/plone.rest.git branch=main
plone.restapi = git https://github.com/plone/plone.restapi.git pushurl=git@github.com:plone/plone.restapi.git branch=main
plone.app.linkintegrity = git https://github.com/plone/plone.app.linkintegrity.git pushurl=git@github.com:plone/plone.app.linkintegrity.git branch=master

[instance]
recipe = plone.recipe.zope2instance
Expand Down
2 changes: 1 addition & 1 deletion cypress/tests/core/content/content.js
Expand Up @@ -86,7 +86,7 @@ describe('Add Content Tests', () => {
cy.findByLabelText('/my-page').children('td').eq(1).click();

cy.get('.top-menu-menu .delete').click();
cy.get('.modal.active').contains('View broken links list');
cy.get('.modal.active').contains('View links and references to this item');
cy.get('.actions').contains('Delete').click();
});

Expand Down
20 changes: 10 additions & 10 deletions locales/ca/LC_MESSAGES/volto.po
Expand Up @@ -1019,6 +1019,11 @@ msgstr ""
msgid "Deleted"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3688,11 +3693,6 @@ msgstr "Aquesta és una còpia de treball de {title}"
msgid "This item is also a folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4101,16 +4101,16 @@ msgstr "URL del vídeo"
msgid "View"
msgstr "veure"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Veure els canvis"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/de/LC_MESSAGES/volto.po
Expand Up @@ -1016,6 +1016,11 @@ msgstr ""
msgid "Deleted"
msgstr "Gelöscht"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3685,11 +3690,6 @@ msgstr "Das ist eine Arbeitskopie von {title}"
msgid "This item is also a folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4098,16 +4098,16 @@ msgstr "Video URL"
msgid "View"
msgstr "Anzeigen"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Änderungen anzeigen"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/en/LC_MESSAGES/volto.po
Expand Up @@ -1010,6 +1010,11 @@ msgstr ""
msgid "Deleted"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3679,11 +3684,6 @@ msgstr ""
msgid "This item is also a folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4092,16 +4092,16 @@ msgstr ""
msgid "View"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/es/LC_MESSAGES/volto.po
Expand Up @@ -1021,6 +1021,11 @@ msgstr "¿Eliminar este elemento?"
msgid "Deleted"
msgstr "Eliminado"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3690,11 +3695,6 @@ msgstr "Es una copia de trabajo de {title}"
msgid "This item is also a folder."
msgstr "Este elemento también es una carpeta."

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr "Este elemento está referenciado por otros elementos. Al eliminarlo, {brokenReferences} {variation} se romperá."

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4103,16 +4103,16 @@ msgstr "URL del vídeo"
msgid "View"
msgstr "Ver"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr "Ver la lista de enlaces rotos"

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Mostrar los cambios"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/eu/LC_MESSAGES/volto.po
Expand Up @@ -1017,6 +1017,11 @@ msgstr ""
msgid "Deleted"
msgstr "Ezabatuta"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3686,11 +3691,6 @@ msgstr "Hau {title} elementuaren lan-bertsioa da"
msgid "This item is also a folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4099,16 +4099,16 @@ msgstr "Bideoaren URLa"
msgid "View"
msgstr "Ikusi"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Aldaketak ikusi"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/fi/LC_MESSAGES/volto.po
Expand Up @@ -1021,6 +1021,11 @@ msgstr ""
msgid "Deleted"
msgstr "Poistettu"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3690,11 +3695,6 @@ msgstr ""
msgid "This item is also a folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4103,16 +4103,16 @@ msgstr "Videon URL"
msgid "View"
msgstr "Näytä"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Näytä muutokset"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/fr/LC_MESSAGES/volto.po
Expand Up @@ -1027,6 +1027,11 @@ msgstr ""
msgid "Deleted"
msgstr "Supprimé"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3696,11 +3701,6 @@ msgstr "Il sagit d'une copie de travail de {title}"
msgid "This item is also a folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4109,16 +4109,16 @@ msgstr "URL de la vidéo"
msgid "View"
msgstr "Vue"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Voir les changements"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down
20 changes: 10 additions & 10 deletions locales/it/LC_MESSAGES/volto.po
Expand Up @@ -1010,6 +1010,11 @@ msgstr ""
msgid "Deleted"
msgstr "Cancellato"

#: components/manage/Contents/Contents
# defaultMessage: Deleting this item breaks {brokenReferences} {variation}.
msgid "Deleting this item breaks {brokenReferences} {variation}."
msgstr ""

#: components/manage/Widgets/QuerystringWidget
# defaultMessage: Depth
msgid "Depth"
Expand Down Expand Up @@ -3679,11 +3684,6 @@ msgstr "Questa è una copia di lavoro di {title}"
msgid "This item is also a folder."
msgstr ""

#: components/manage/Contents/Contents
# defaultMessage: This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken.
msgid "This item is referenced by other items. By deleting it {brokenReferences} {variation} will be broken."
msgstr ""

#: components/manage/LockingToastsFactory/LockingToastsFactory
# defaultMessage: This item was locked by {creator} on {date}
msgid "This item was locked by {creator} on {date}"
Expand Down Expand Up @@ -4092,16 +4092,16 @@ msgstr "URL del video"
msgid "View"
msgstr "Visualizza"

#: components/manage/Contents/Contents
# defaultMessage: View broken links list
msgid "View broken links list"
msgstr ""

#: components/manage/History/History
# defaultMessage: View changes
msgid "View changes"
msgstr "Mostra le modifiche"

#: components/manage/Contents/Contents
# defaultMessage: View links and references to this item
msgid "View links and references to this item"
msgstr ""

#: components/manage/History/History
# defaultMessage: View this revision
msgid "View this revision"
Expand Down

0 comments on commit 992d036

Please sign in to comment.