From 2add615c80705dc24e11350295d3cf3c2b9ebd7e Mon Sep 17 00:00:00 2001 From: David Glick Date: Fri, 18 Oct 2024 11:57:03 -0700 Subject: [PATCH 01/12] reorganize control panel --- .../manage/Controlpanels/Aliases.jsx | 570 ++++++++++-------- 1 file changed, 320 insertions(+), 250 deletions(-) diff --git a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx index edc54c63bb..5e6f3c1916 100644 --- a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx +++ b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx @@ -14,19 +14,24 @@ import { Input, Radio, Message, + Modal, Table, Pagination, Menu, } from 'semantic-ui-react'; import { FormattedMessage, defineMessages, useIntl } from 'react-intl'; import DatetimeWidget from '@plone/volto/components/manage/Widgets/DatetimeWidget'; +import FormFieldWrapper from '@plone/volto/components/manage/Widgets/FormFieldWrapper'; import { Icon, Toolbar } from '@plone/volto/components'; +import FormattedDate from '@plone/volto/components/theme/FormattedDate/FormattedDate'; import { useClient } from '@plone/volto/hooks'; import backSVG from '@plone/volto/icons/back.svg'; import { map } from 'lodash'; import { toast } from 'react-toastify'; import { Toast } from '@plone/volto/components'; +import aheadSVG from '@plone/volto/icons/ahead.svg'; +import clearSVG from '@plone/volto/icons/clear.svg'; const messages = defineMessages({ back: { @@ -45,6 +50,34 @@ const messages = defineMessages({ id: 'Alias has been added', defaultMessage: 'Alias has been added', }, + filterByPrefix: { + id: 'Filter by prefix', + defaultMessage: 'Filter by path', + }, + manualOrAuto: { + id: 'manualOrAuto', + defaultMessage: 'Manually or automatically added?', + }, + createdAfter: { + id: 'Created after', + defaultMessage: 'Created after', + }, + createdBefore: { + id: 'Created before', + defaultMessage: 'Created before', + }, + altUrlPathTitle: { + id: 'Alternative URL path (Required)', + defaultMessage: 'Alternative URL path (Required)', + }, + altUrlError: { + id: 'Alternative URL path must start with a slash.', + defaultMessage: 'Alternative URL path must start with a slash.', + }, + targetUrlPathTitle: { + id: 'Target Path (Required)', + defaultMessage: 'Target Path (Required)', + }, }); const filterChoices = [ @@ -75,6 +108,7 @@ const Aliases = (props) => { const [filterQuery, setFilterQuery] = useState(''); const [activePage, setActivePage] = useState(1); const [itemsPerPage, setItemsPerPage] = useState(10); + const [addModalOpen, setAddModalOpen] = useState(false); const isClient = useClient(); const updateResults = useCallback(() => { @@ -136,18 +170,21 @@ const Aliases = (props) => { }, ], }), - ).then(() => { - updateResults(); - setAltUrlPath(''); - setTargetUrlPath(''); - toast.success( - , - ); - }); + ) + .then(() => { + updateResults(); + setAddModalOpen(false); + setAltUrlPath(''); + setTargetUrlPath(''); + toast.success( + , + ); + }) + .catch((error) => {}); }, [altUrlPath, targetUrlPath, dispatch, intl, updateResults]); // Check/uncheck an alias @@ -182,264 +219,297 @@ const Aliases = (props) => { values={{ title: {title} }} /> -
- -
- -
-

- -

- - setAltUrlPath(e.target.value)} - /> - {!isAltUrlCorrect && altUrlPath !== '' && ( -

+ + + setAddModalOpen(false)} + trigger={ + } > - - - {errorMessageAdd && ( - - - + + + + + } + error={ + !isAltUrlCorrect && altUrlPath !== '' + ? [intl.formatMessage(messages.altUrlError)] + : [] + } + > + setAltUrlPath(e.target.value)} /> - -

{errorMessageAdd}

- - )} -
-
-
- + + + } + > + setTargetUrlPath(e.target.value)} + /> + + {errorMessageAdd && ( + + + + +

{errorMessageAdd}

+
+ )} + + + + + + + +
+ +
-
-
- -
- - setFilterQuery(e.target.value)} - /> - -
-
- {filterChoices.map((o, i) => ( - - setFilterType(o)} - /> + + + + setFilterQuery(e.target.value)} + /> + + + + + + {filterChoices.map((o, i) => ( + + setFilterType(o)} + /> + + ))} + + - ))} - - { - setCreatedBefore(value); - }} - /> - - {hasAdvancedFiltering && ( { - setCreatedAfter(value); + setCreatedBefore(value); }} /> - )} - -
- -
- - - - - - - - - - - - - - - - - - - - - {aliases.items.length > 0 && - aliases.items.map((alias, i) => ( - - - - handleCheckAlias(value) - } - checked={aliasesToRemove.includes(alias.path)} - value={alias.path} - /> - - -

{alias.path}

-
- -

{alias['redirect-to']}

-
- -

{alias.datetime}

-
- -

{`${alias.manual}`}

-
-
- ))} -
-
-
- {pages && ( - - setActivePage(activePage) - } - /> - )} - - - : - - {map(itemsPerPageChoices, (size) => ( - { - setItemsPerPage(value); - setActivePage(1); + {hasAdvancedFiltering && ( + + { + setCreatedAfter(value); }} - > - {size} - + /> + + )} + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + {aliases.items.length > 0 && + aliases.items.map((alias, i) => ( + + + handleCheckAlias(value)} + checked={aliasesToRemove.includes(alias.path)} + value={alias.path} + /> + + + {alias.path} +
+   → {alias['redirect-to']} +
+ + + + {`${alias.manual}`} +
))} - - -
+
+ {pages && ( + + setActivePage(activePage) + } /> - - - + )} + + + : + + {map(itemsPerPageChoices, (size) => ( + { + setItemsPerPage(value); + setActivePage(1); + }} + > + {size} + + ))} + +
+ +
From 1924f43f3c26eed1ea400bd9cd5f51fd56d9e3d8 Mon Sep 17 00:00:00 2001 From: David Glick Date: Fri, 18 Oct 2024 11:57:46 -0700 Subject: [PATCH 02/12] i18n --- .../volto/locales/ca/LC_MESSAGES/volto.po | 67 +++++++++++------ .../volto/locales/de/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/en/LC_MESSAGES/volto.po | 67 +++++++++++------ .../volto/locales/es/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/eu/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/fi/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/fr/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/hi/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/it/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/ja/LC_MESSAGES/volto.po | 67 +++++++++++------ .../volto/locales/nl/LC_MESSAGES/volto.po | 67 +++++++++++------ .../volto/locales/pt/LC_MESSAGES/volto.po | 67 +++++++++++------ .../volto/locales/pt_BR/LC_MESSAGES/volto.po | 73 ++++++++++++------- .../volto/locales/ro/LC_MESSAGES/volto.po | 67 +++++++++++------ packages/volto/locales/volto.pot | 69 ++++++++++++------ .../volto/locales/zh_CN/LC_MESSAGES/volto.po | 73 ++++++++++++------- 16 files changed, 748 insertions(+), 380 deletions(-) diff --git a/packages/volto/locales/ca/LC_MESSAGES/volto.po b/packages/volto/locales/ca/LC_MESSAGES/volto.po index b17def638e..b723d3e79c 100644 --- a/packages/volto/locales/ca/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ca/LC_MESSAGES/volto.po @@ -94,6 +94,11 @@ msgstr "" msgid "Add Addons" msgstr "Afegeix complements" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -329,11 +334,6 @@ msgstr "Tots" msgid "All content" msgstr "Tot el contingut" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -356,20 +356,24 @@ msgstr "Deixeu el camp buit si la imatge és purament decorativa" msgid "Alt text hint link text" msgstr "Descriu el propòsit de la imatge" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" +msgid "Alternative URL path (Required)" msgstr "" -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases +#. Default: "Alternative URL path must start with a slash." #: components/manage/Controlpanels/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative URL path must start with a slash." msgstr "" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" + +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Applied to subfolders" @@ -526,6 +530,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/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -835,6 +840,16 @@ msgstr "Relationen mit diesem Ziel erstellen oder löschen" msgid "Create working copy" msgstr "Arbeitskopie erstellen" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1292,14 +1307,18 @@ msgstr "Tragen Sie bitte Ihren vollen Namen ein." msgid "Enter map Embed Code" msgstr "Karten-Einbettungscode eingeben" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "Geben Sie den absoluten Pfad des Ziels ein. Das Ziel muss existieren oder ein existierender, alternativer Pfad zum Ziel sein." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "Geben Sie den absoluten Pfad ein, an dem die alternative URL existieren soll. Der Pfad muss mit '/' beginnen. Es werden nur URLs die in einem '404 Nicht Gefunden' enden, weitergeleitet." @@ -1390,6 +1409,11 @@ msgstr "Dieses Datum ausschließen" msgid "Excluded from navigation" msgstr "Von Navigation ausgeschlossen" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1495,7 +1519,7 @@ msgstr "" msgid "Filter Rules:" msgstr "Filterregeln:" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "Nach Präfix filtern" @@ -2146,11 +2170,6 @@ msgstr "Übersetzungen für {} verwalten" msgid "Manual" msgstr "Manuell" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "Manuell oder automatisch hinzugefügt?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3590,7 +3609,6 @@ msgstr "Zu entfernende Tags" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4647,6 +4665,11 @@ msgstr "laden" msgid "log in" msgstr "Einloggen" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/en/LC_MESSAGES/volto.po b/packages/volto/locales/en/LC_MESSAGES/volto.po index 419d5717b1..0223b0dedb 100644 --- a/packages/volto/locales/en/LC_MESSAGES/volto.po +++ b/packages/volto/locales/en/LC_MESSAGES/volto.po @@ -88,6 +88,11 @@ msgstr "" msgid "Add Addons" msgstr "" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -323,11 +328,6 @@ msgstr "" msgid "All content" msgstr "" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -350,20 +350,24 @@ msgstr "" msgid "Alt text hint link text" msgstr "" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" +msgid "Alternative URL path (Required)" msgstr "" -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases +#. Default: "Alternative URL path must start with a slash." #: components/manage/Controlpanels/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative URL path must start with a slash." msgstr "" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" + +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Applied to subfolders" @@ -520,6 +524,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -830,6 +835,16 @@ msgstr "" msgid "Create working copy" msgstr "" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1287,14 +1302,18 @@ msgstr "" msgid "Enter map Embed Code" msgstr "" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "" @@ -1385,6 +1404,11 @@ msgstr "" msgid "Excluded from navigation" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1490,7 +1514,7 @@ msgstr "" msgid "Filter Rules:" msgstr "" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "" @@ -2141,11 +2165,6 @@ msgstr "" msgid "Manual" msgstr "" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3585,7 +3604,6 @@ msgstr "" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4642,6 +4660,11 @@ msgstr "" msgid "log in" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/es/LC_MESSAGES/volto.po b/packages/volto/locales/es/LC_MESSAGES/volto.po index 5fc3fb54ff..1b460a5155 100644 --- a/packages/volto/locales/es/LC_MESSAGES/volto.po +++ b/packages/volto/locales/es/LC_MESSAGES/volto.po @@ -95,6 +95,11 @@ msgstr "Añadir" msgid "Add Addons" msgstr "Añadir complementos" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -330,11 +335,6 @@ msgstr "Todo" msgid "All content" msgstr "Todo el contenido" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "Todas los alias disponibles para este sitio" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -357,22 +357,26 @@ msgstr "Dejar vacío si la imagen es puramente decorativa" msgid "Alt text hint link text" msgstr "Describir el propósito de la imagen" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" -msgstr "Ruta de url alternativa (obligatorio)" +msgid "Alternative URL path (Required)" +msgstr "" + +#. Default: "Alternative URL path must start with a slash." +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path must start with a slash." +msgstr "" + +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "La url alternativa debe comenzar con un carácter especial '/'." -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" -msgstr "Url alternativa → url destino (fecha y hora de creación, creado de forma manual si/no)" - #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -527,6 +531,7 @@ msgstr "No se puede editar la plantilla de {type} porque el sop #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -837,6 +842,16 @@ msgstr "Crear o eliminar relaciones con el destino" msgid "Create working copy" msgstr "Crear copia de trabajo" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1294,14 +1309,18 @@ msgstr "Introduzca el nombre completo, por ejemplo Leonardo Caballero." msgid "Enter map Embed Code" msgstr "Introduzca el código embebido de un mapa" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "Introduzca la ruta absoluta del destino. El destino debe existir o ser una url alternativa de otro destino." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "Introduzca la ruta de la url alternativa. La ruta debe comenzar por '/'. Solo tendrán redirección aquellas urls que creen errores 404 No encontrado." @@ -1392,6 +1411,11 @@ msgstr "Excluir esta repetición" msgid "Excluded from navigation" msgstr "Exluido de la navegación" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1497,7 +1521,7 @@ msgstr "Filtrar" msgid "Filter Rules:" msgstr "Reglas de filtrado:" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "Filtrar por prefijo" @@ -2148,11 +2172,6 @@ msgstr "Administrar traducciones de {title}" msgid "Manual" msgstr "Manual" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "¿Añadidos de forma manual o automática?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3592,7 +3611,6 @@ msgstr "Categoría a remover" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4649,6 +4667,11 @@ msgstr "Cargando" msgid "log in" msgstr "entrar" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/eu/LC_MESSAGES/volto.po b/packages/volto/locales/eu/LC_MESSAGES/volto.po index 77b052e284..443a95fa65 100644 --- a/packages/volto/locales/eu/LC_MESSAGES/volto.po +++ b/packages/volto/locales/eu/LC_MESSAGES/volto.po @@ -95,6 +95,11 @@ msgstr "Gehitu" msgid "Add Addons" msgstr "Gehitu gehigarriak" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -330,11 +335,6 @@ msgstr "Guztiak" msgid "All content" msgstr "Eduki guztia" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "Atari honetako ordezko helbide guztiak" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -357,22 +357,26 @@ msgstr "Utzi hutsik irudia dekoratiboa bada" msgid "Alt text hint link text" msgstr "Deskribatu irudia zertarako den" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" -msgstr "Ordezko helbidearen bidea (derrigorrezkoa)" +msgid "Alternative URL path (Required)" +msgstr "" + +#. Default: "Alternative URL path must start with a slash." +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path must start with a slash." +msgstr "" + +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Ordezko helbidearen bidea / karakterearekin hasi behar da" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" -msgstr "Ordezko helbidearen bidea → helburu helbidearen bidea (sorrera data eta ordua, eskuz sortu den bai/ez)" - #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -527,6 +531,7 @@ msgstr "Ezin da {type} elementu-motaren itxura aldatu, #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -837,6 +842,16 @@ msgstr "" msgid "Create working copy" msgstr "Sortu lan-bertsioa" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1294,14 +1309,18 @@ msgstr "Idatzi izen osoa, adb. Jon Garmendia." msgid "Enter map Embed Code" msgstr "Sartu itsasteko kodea" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "Idatzi helburuaren bide absolutua. Helburua existitu egin behar da edo ordezko helbide bat izan behar da." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "Idatzi ordezko helbidearen bide absolutua. Bidea '/' karakterearekin hasi behar da. Orrialde bat aurkitzen ez denean sortzen den 404 errorea ematen duten helbideekin bakarrik gertatuko dira berbideraketak." @@ -1392,6 +1411,11 @@ msgstr "Kendu agerpen hau" msgid "Excluded from navigation" msgstr "Nabigaziotik baztertuta" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1497,7 +1521,7 @@ msgstr "" msgid "Filter Rules:" msgstr "Filtratu erregelak:" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "Filtratu aurrizkiaren arabera" @@ -2148,11 +2172,6 @@ msgstr "Kudeatu honen itzulpenak {title}" msgid "Manual" msgstr "Eskuz" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "Eskuz edo automatikoki gehitu da?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3592,7 +3611,6 @@ msgstr "Kendu beharreko etiketak" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4649,6 +4667,11 @@ msgstr "kargatzen" msgid "log in" msgstr "Sartu" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/fi/LC_MESSAGES/volto.po b/packages/volto/locales/fi/LC_MESSAGES/volto.po index 5db5c4cbee..96c63aaeeb 100644 --- a/packages/volto/locales/fi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fi/LC_MESSAGES/volto.po @@ -93,6 +93,11 @@ msgstr "Lisää (objektilista)" msgid "Add Addons" msgstr "Lisää laajennoksia" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -328,11 +333,6 @@ msgstr "Kaikki" msgid "All content" msgstr "Kaikki sisältö" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "Kaikki vaihtoehtoiset URL:t tälle sivustolle" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -355,22 +355,26 @@ msgstr "Kuvaustekstin vihje" msgid "Alt text hint link text" msgstr "Kuvaustekstin vihjeen linkkiteksti" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" -msgstr "Vaihtoehtoinen URL-polku (pakollinen)" +msgid "Alternative URL path (Required)" +msgstr "" + +#. Default: "Alternative URL path must start with a slash." +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path must start with a slash." +msgstr "" + +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Vaihtoehtoisen URL-polun pitää alkaa kauttaviivalla" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" -msgstr "Vaihtoehtoinen URL-polku -> kohteen URL-polku (päivämäärä ja luontiaika, käsin luotu kyllä/ei)" - #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -525,6 +529,7 @@ msgstr "Sisältötyypin {type} asettelua ei voi muokata, koska #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -835,6 +840,16 @@ msgstr "" msgid "Create working copy" msgstr "Luo työkopio" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1292,14 +1307,18 @@ msgstr "Syötä koko nimi, esimerkiksi Lumi Vuorinen." msgid "Enter map Embed Code" msgstr "Syötä Google Maps -upotuskoodi" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "Syötä kohteen osoite. Kohteen tulee olla olemassa tai sen tulee olla olemassaoleva vaihtoehtoinen URL-polku kohteelle." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "" @@ -1390,6 +1409,11 @@ msgstr "Jätä pois tämä päivä" msgid "Excluded from navigation" msgstr "Piilota navigoinnista" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1495,7 +1519,7 @@ msgstr "" msgid "Filter Rules:" msgstr "Suodata säännöt:" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "Suodata alkutunnisteen perusteella" @@ -2146,11 +2170,6 @@ msgstr "Hallitse käännöksiä: {title}" msgid "Manual" msgstr "Manuaalinen" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "Manuaalisesti vai automaattisesti lisätty?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3590,7 +3609,6 @@ msgstr "Poistettavat tagit" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4647,6 +4665,11 @@ msgstr "ladataan" msgid "log in" msgstr "kirjaudu" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/fr/LC_MESSAGES/volto.po b/packages/volto/locales/fr/LC_MESSAGES/volto.po index 4887b87ff4..1746488e85 100644 --- a/packages/volto/locales/fr/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fr/LC_MESSAGES/volto.po @@ -95,6 +95,11 @@ msgstr "Ajouter (liste d'objets)" msgid "Add Addons" msgstr "Ajouter des modules" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -330,11 +335,6 @@ msgstr "Tout" msgid "All content" msgstr "Tout le contenu" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "Toutes les URLs alternatives existantes pour ce site" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -357,22 +357,26 @@ msgstr "Laisser vide si l'image est uniquement décorative" msgid "Alt text hint link text" msgstr "Texte du lien de la suggestion de texte alternatif" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" -msgstr "Autre chemin d'URL (obligatoire)" +msgid "Alternative URL path (Required)" +msgstr "" + +#. Default: "Alternative URL path must start with a slash." +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path must start with a slash." +msgstr "" + +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Le chemin d'URL alternatif doit commencer par une barre oblique." -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" -msgstr "Chemin d'URL alternatif → chemin URL cible (date et heure de création, créé manuellement oui/non)" - #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -527,6 +531,7 @@ msgstr "Impossible de modifier la mise en page pour le type de contenu { #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -837,6 +842,16 @@ msgstr "" msgid "Create working copy" msgstr "Créer une copie de travail" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1294,14 +1309,18 @@ msgstr "Saisissez votre nom complet (par exemple : John Smith)" msgid "Enter map Embed Code" msgstr "Saisissez le code intégré de la carte" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "Saisissez le chemin absolu de la cible. La cible doit exister ou être un chemin d'URL alternatif existant vers la cible." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "Saisissez le chemin absolu où l'URL alternative doit exister. Le chemin doit commencer par '/'. Seules les URL qui aboutissent à une page 404 introuvable entraîneront une redirection." @@ -1392,6 +1411,11 @@ msgstr "Exclure cette occurrence" msgid "Excluded from navigation" msgstr "Exclu de la navigation" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1497,7 +1521,7 @@ msgstr "" msgid "Filter Rules:" msgstr "Règles de filtre :" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "Filtrer par préfixe" @@ -2148,11 +2172,6 @@ msgstr "Gérer les traductions pour {title}" msgid "Manual" msgstr "Manuel" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "Ajouté manuellement ou automatiquement ?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3592,7 +3611,6 @@ msgstr "Mots clés à supprimer" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4649,6 +4667,11 @@ msgstr "Chargement" msgid "log in" msgstr "se connecter" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/hi/LC_MESSAGES/volto.po b/packages/volto/locales/hi/LC_MESSAGES/volto.po index ced8be4109..953ad78f2a 100644 --- a/packages/volto/locales/hi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/hi/LC_MESSAGES/volto.po @@ -88,6 +88,11 @@ msgstr "जोड़े (वस्तु सूची)" msgid "Add Addons" msgstr "नए ऐड-ऑन को यहां दिखाने के लिए, उन्हें अपने कॉन्फ़िगरेशन में जोड़ें, बनाएं और सर्वर प्रक्रिया को पुनरारंभ करें। विस्तृत निर्देशों के लिए देखें" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -323,11 +328,6 @@ msgstr "सभी" msgid "All content" msgstr "सभी कंटेंट" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "इस साइट के लिए सभी मौजूदा वैकल्पिक यूआरएल" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -350,22 +350,26 @@ msgstr "अगर छवि केवल सजावटी है तो खा msgid "Alt text hint link text" msgstr "छवि का उद्देश्य वर्णन करें।" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" -msgstr "वैकल्पिक URL पथ (आवश्यक)" +msgid "Alternative URL path (Required)" +msgstr "" + +#. Default: "Alternative URL path must start with a slash." +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path must start with a slash." +msgstr "" + +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "वैकल्पिक URL पथ को स्लैश के साथ शुरू करना चाहिए।" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" -msgstr "वैकल्पिक URL पथ → लक्ष्य URL पथ (निर्माण की तारीख और समय, मैन्युअल रूप से बनाया गया है/नहीं)" - #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -520,6 +524,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -830,6 +835,16 @@ msgstr "लक्ष्य के साथ संबंध बनाएं य msgid "Create working copy" msgstr "काम की प्रतिलिपि बनाएं" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1287,14 +1302,18 @@ msgstr "पूरा नाम दर्ज करें, उदाहरण क msgid "Enter map Embed Code" msgstr "नक्शे का एम्बेड कोड दर्ज करें" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "लक्ष्य का पूर्ण रास्ता दर्ज करें। लक्ष्य मौजूद होना चाहिए या लक्ष्य के लिए मौजूदा वैकल्पिक URL पथ होना चाहिए।" +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "वैकल्पिक URL होनी चाहिए जहां का पूर्ण रास्ता दर्ज करें। पथ '/ ' से प्रारंभ होना चाहिए। केवल वे URL जिनके परिणामस्वरूप 404 नहीं मिला पेज एक रिडायरेक्ट होगा।" @@ -1385,6 +1404,11 @@ msgstr "इस आयोजन को निकालें" msgid "Excluded from navigation" msgstr "नेविगेशन से बाहर छोड़ा गया" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1490,7 +1514,7 @@ msgstr "फ़िल्टर" msgid "Filter Rules:" msgstr "फ़िल्टर नियम:" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "उपसर्ग द्वारा फ़िल्टर करें" @@ -2141,11 +2165,6 @@ msgstr "{title} के लिए अनुवाद प्रबंधित क msgid "Manual" msgstr "मैनुअल" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "मैन्युअल या स्वचालित रूप से जोड़ा गया?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3585,7 +3604,6 @@ msgstr "हटाने के लिए टैग" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4642,6 +4660,11 @@ msgstr "लोड हो रहा है" msgid "log in" msgstr "लॉग इन" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/it/LC_MESSAGES/volto.po b/packages/volto/locales/it/LC_MESSAGES/volto.po index 060c5ba03e..da53683f96 100644 --- a/packages/volto/locales/it/LC_MESSAGES/volto.po +++ b/packages/volto/locales/it/LC_MESSAGES/volto.po @@ -88,6 +88,11 @@ msgstr "Aggiungi" msgid "Add Addons" msgstr "Aggiungi Add-ons" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -323,11 +328,6 @@ msgstr "Tutti" msgid "All content" msgstr "Tutti i contenuti" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "Tutti gli url alternativi per questo sito" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -350,22 +350,26 @@ msgstr "Lascia vuoto se l'immagine è decorativa." msgid "Alt text hint link text" msgstr "Descrivi lo scopo dell'immagine." -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" -msgstr "Percorso url alternativo (Obbligatorio)" +msgid "Alternative URL path (Required)" +msgstr "" + +#. Default: "Alternative URL path must start with a slash." +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path must start with a slash." +msgstr "" + +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Il percorso url alternativo comincia con uno slash " -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" -msgstr "Percorso url alternativo → percorso url di destinazione (data e ora di creazione, creata manualmente sì/no)" - #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -520,6 +524,7 @@ msgstr "Non è possibile modificare il Layout per il tipo {type}ブロックが有効で、かつ{type}< #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -836,6 +841,16 @@ msgstr "Crie ou remova relacionamentos para o destino" msgid "Create working copy" msgstr "Criar cópia de trabalho" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1293,14 +1308,18 @@ msgstr "Digite o nome completo. Por exemplo, José da Silva." msgid "Enter map Embed Code" msgstr "Informe o código Embed do mapa" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "Informe o caminho absoluto do destino. O destino deve existir ou ser um caminho da URL alternativa existente para o destino." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "Informe o caminho absoluto onde a URL alternativa deve existir. O caminho deve começar com '/'. Somente URLs que resultam em uma página 404 não encontrada resultarão em um redirecionamento ocorrendo." @@ -1391,6 +1410,11 @@ msgstr "Exclua essa ocorrência" msgid "Excluded from navigation" msgstr "Excluído da navegação" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1496,7 +1520,7 @@ msgstr "Filtrar" msgid "Filter Rules:" msgstr "Filtrar regras:" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "Filtrar por prefixo" @@ -2147,11 +2171,6 @@ msgstr "Gerenciar traduções para {title}" msgid "Manual" msgstr "Manual" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "Adicionado manual ou automaticamente?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3591,7 +3610,6 @@ msgstr "Tags a serem removidas" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4648,6 +4666,11 @@ msgstr "Carregando" msgid "log in" msgstr "acessar" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/ro/LC_MESSAGES/volto.po b/packages/volto/locales/ro/LC_MESSAGES/volto.po index 1eeefe866b..cdad2ccda2 100644 --- a/packages/volto/locales/ro/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ro/LC_MESSAGES/volto.po @@ -88,6 +88,11 @@ msgstr "Adăugare (listă de obiecte)" msgid "Add Addons" msgstr "Adăugare add-on-uri" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -323,11 +328,6 @@ msgstr "Toate" msgid "All content" msgstr "" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -350,20 +350,24 @@ msgstr "Sugestie text alternativ" msgid "Alt text hint link text" msgstr "Link sugestie text alternativ" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" +msgid "Alternative URL path (Required)" msgstr "" -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases +#. Default: "Alternative URL path must start with a slash." #: components/manage/Controlpanels/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative URL path must start with a slash." msgstr "" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" + +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Applied to subfolders" @@ -520,6 +524,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" @@ -90,6 +90,11 @@ msgstr "" msgid "Add Addons" msgstr "" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -325,11 +330,6 @@ msgstr "" msgid "All content" msgstr "" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -352,20 +352,24 @@ msgstr "" msgid "Alt text hint link text" msgstr "" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" +msgid "Alternative URL path (Required)" msgstr "" -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases +#. Default: "Alternative URL path must start with a slash." #: components/manage/Controlpanels/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative URL path must start with a slash." msgstr "" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" + +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Applied to subfolders" @@ -522,6 +526,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -832,6 +837,16 @@ msgstr "" msgid "Create working copy" msgstr "" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1289,14 +1304,18 @@ msgstr "" msgid "Enter map Embed Code" msgstr "" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "" @@ -1387,6 +1406,11 @@ msgstr "" msgid "Excluded from navigation" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1492,7 +1516,7 @@ msgstr "" msgid "Filter Rules:" msgstr "" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "" @@ -2143,11 +2167,6 @@ msgstr "" msgid "Manual" msgstr "" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3587,7 +3606,6 @@ msgstr "" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4644,6 +4662,11 @@ msgstr "" msgid "log in" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po index 26986f3cb8..c2e9f3b2a9 100644 --- a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po +++ b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po @@ -94,6 +94,11 @@ msgstr "添加(对象列表)" msgid "Add Addons" msgstr "添加附件" +#. Default: "Add Alternative URL" +#: components/manage/Controlpanels/Aliases +msgid "Add Alternative URL" +msgstr "" + #. Default: "Add Content…" #: components/manage/Toolbar/Types msgid "Add Content" @@ -329,11 +334,6 @@ msgstr "所有" msgid "All content" msgstr "所有内容" -#. Default: "All existing alternative urls for this site" -#: components/manage/Controlpanels/Aliases -msgid "All existing alternative urls for this site" -msgstr "此网站所有的替代 urls" - #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -356,22 +356,26 @@ msgstr "替换文本提示" msgid "Alt text hint link text" msgstr "替换文本提示链接文本" -#. Default: "Alternative url path (Required)" +#. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative url path (Required)" -msgstr "替代 URL 路径(必选)" +msgid "Alternative URL path (Required)" +msgstr "" + +#. Default: "Alternative URL path must start with a slash." +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path must start with a slash." +msgstr "" + +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +msgstr "" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "替代 URL 路径必须以斜杠开头。" -#. Default: "Alternative url path → target url path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" -msgstr "替代 URL 路径 → 目标 URL 路径(创建的日期和时间,手动创建 yes/no)" - #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -526,6 +530,7 @@ msgstr "" #. Default: "Cancel" #: components/manage/Add/Add #: components/manage/Contents/ContentsUploadModal +#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/ContentType #: components/manage/Controlpanels/ContentTypeLayout #: components/manage/Controlpanels/ContentTypeSchema @@ -836,6 +841,16 @@ msgstr "" msgid "Create working copy" msgstr "创建工作副本" +#. Default: "Created after" +#: components/manage/Controlpanels/Aliases +msgid "Created after" +msgstr "" + +#. Default: "Created before" +#: components/manage/Controlpanels/Aliases +msgid "Created before" +msgstr "" + #. Default: "Created by {creator} on {date}" #: components/manage/WorkingCopyToastsFactory/WorkingCopyToastsFactory msgid "Created by {creator} on {date}" @@ -1293,14 +1308,18 @@ msgstr "输入您的姓名,如:张三" msgid "Enter map Embed Code" msgstr "输入 map 嵌入代码" -#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +#. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +#: components/manage/Controlpanels/Aliases +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgstr "" + +#. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." -msgstr "输入目标的绝对路径。目标必须存在,或者是指向目标的现有可选的url路径。" +msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." #: components/manage/Aliases/Aliases -#: components/manage/Controlpanels/Aliases msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." msgstr "输入已存在替代 URL 的绝对路径。路径必须以 '/' 开头。只有导致404 未找到页面的url才会发生重定向。" @@ -1391,6 +1410,11 @@ msgstr "排除这个事件" msgid "Excluded from navigation" msgstr "从导航中排除" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "Existing alternative URLs for this site" +msgstr "" + #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -1496,7 +1520,7 @@ msgstr "" msgid "Filter Rules:" msgstr "过滤规则" -#. Default: "Filter by prefix" +#. Default: "Filter by path" #: components/manage/Controlpanels/Aliases msgid "Filter by prefix" msgstr "按前缀过滤" @@ -2147,11 +2171,6 @@ msgstr "管理{title}的翻译" msgid "Manual" msgstr "" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "Manually or automatically added?" -msgstr "手动添加还是自动添加?" - #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -3591,7 +3610,6 @@ msgstr "移除关键词" #. Default: "Target" #: components/manage/Blocks/Teaser/schema -#: components/manage/Controlpanels/Aliases #: components/manage/Controlpanels/Relations/BrokenRelations #: components/manage/Controlpanels/Relations/RelationsMatrix msgid "Target" @@ -4648,6 +4666,11 @@ msgstr "" msgid "log in" msgstr "登录" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "manualOrAuto" +msgstr "" + #. Default: "Maps" #: config/Blocks msgid "maps" From bdbfd192680c51b7a378da38b3e5b1817244db75 Mon Sep 17 00:00:00 2001 From: David Glick Date: Fri, 18 Oct 2024 12:40:32 -0700 Subject: [PATCH 03/12] add markup for bulk upload modal --- .../manage/Controlpanels/Aliases.jsx | 160 ++++++++++++------ .../src/components/manage/Form/ModalForm.jsx | 4 +- 2 files changed, 111 insertions(+), 53 deletions(-) diff --git a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx index 5e6f3c1916..82cb95f513 100644 --- a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx +++ b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx @@ -22,6 +22,7 @@ import { import { FormattedMessage, defineMessages, useIntl } from 'react-intl'; import DatetimeWidget from '@plone/volto/components/manage/Widgets/DatetimeWidget'; import FormFieldWrapper from '@plone/volto/components/manage/Widgets/FormFieldWrapper'; +import { ModalForm } from '@plone/volto/components/manage/Form'; import { Icon, Toolbar } from '@plone/volto/components'; import FormattedDate from '@plone/volto/components/theme/FormattedDate/FormattedDate'; import { useClient } from '@plone/volto/hooks'; @@ -78,6 +79,14 @@ const messages = defineMessages({ id: 'Target Path (Required)', defaultMessage: 'Target Path (Required)', }, + BulkUploadAltUrls: { + id: 'BulkUploadAltUrls', + defaultMessage: 'Bulk upload alternative URLs', + }, + CSVFile: { + id: 'CSVFile', + defaultMessage: 'CSV file', + }, }); const filterChoices = [ @@ -109,6 +118,7 @@ const Aliases = (props) => { const [activePage, setActivePage] = useState(1); const [itemsPerPage, setItemsPerPage] = useState(10); const [addModalOpen, setAddModalOpen] = useState(false); + const [uploadModalOpen, setUploadModalOpen] = useState(false); const isClient = useClient(); const updateResults = useCallback(() => { @@ -206,6 +216,8 @@ const Aliases = (props) => { setAliasesToRemove([]); }; + const handleBulkUpload = () => {}; + return (
@@ -220,28 +232,28 @@ const Aliases = (props) => { /> -
- setAddModalOpen(false)} - trigger={ - - } - > - + setAddModalOpen(false)} + trigger={ + + } + > + + + + + {

{errorMessageAdd}

)} -
- - - - -
- + + + + + + +
+ + +

+ +

+

+ Example: +
+ + /old-home-page.asp,/front-page,2019/01/27 10:42:59 + GMT+1,true +
+ /people/JoeT,/Users/joe-thurston,2018-12-31,false +
+

+ + } + schema={{ + fieldsets: [ + { + id: 'default', + fields: ['file'], + }, + ], + properties: { + file: { + title: intl.formatMessage(messages.CSVFile), + type: 'object', + factory: 'File Upload', + }, + }, + required: ['file'], + }} + />
diff --git a/packages/volto/src/components/manage/Form/ModalForm.jsx b/packages/volto/src/components/manage/Form/ModalForm.jsx index ba2f5b0a30..4bc39652c1 100644 --- a/packages/volto/src/components/manage/Form/ModalForm.jsx +++ b/packages/volto/src/components/manage/Form/ModalForm.jsx @@ -70,6 +70,7 @@ class ModalForm extends Component { required: PropTypes.arrayOf(PropTypes.string), }).isRequired, title: PropTypes.string.isRequired, + description: PropTypes.objectOf(PropTypes.any), formData: PropTypes.objectOf(PropTypes.any), submitError: PropTypes.string, onSubmit: PropTypes.func.isRequired, @@ -211,7 +212,7 @@ class ModalForm extends Component { * @returns {string} Markup for the component. */ render() { - const { schema, onCancel } = this.props; + const { schema, onCancel, description } = this.props; const currentFieldset = schema.fieldsets[this.state.currentTab]; const fields = map(currentFieldset.fields, (field) => ({ @@ -245,6 +246,7 @@ class ModalForm extends Component { onSubmit={this.onSubmit} error={state_errors || Boolean(this.props.submitError)} > + {description} {state_errors ? ( Date: Fri, 18 Oct 2024 12:40:54 -0700 Subject: [PATCH 04/12] i18n --- packages/volto/locales/ca/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/de/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/en/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/es/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/eu/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/fi/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/fr/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/hi/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/it/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/ja/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/nl/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/pt/LC_MESSAGES/volto.po | 15 +++++++++++++++ .../volto/locales/pt_BR/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/ro/LC_MESSAGES/volto.po | 15 +++++++++++++++ packages/volto/locales/volto.pot | 17 ++++++++++++++++- .../volto/locales/zh_CN/LC_MESSAGES/volto.po | 15 +++++++++++++++ 16 files changed, 241 insertions(+), 1 deletion(-) diff --git a/packages/volto/locales/ca/LC_MESSAGES/volto.po b/packages/volto/locales/ca/LC_MESSAGES/volto.po index b723d3e79c..f4a5eeddd3 100644 --- a/packages/volto/locales/ca/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ca/LC_MESSAGES/volto.po @@ -507,11 +507,21 @@ msgstr "Navegui" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegueu pel lloc, deixeu anar una imatge o escriviu un URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Per defecte, els permisos del contenidor d'aquest element són heretats. Si es desactiva, només seran vàlids els permisos de compartició definits explícitament. A la vista general, el símbol ${inherited} indica un valor heretat. De la mateixa manera, el símbol ${global} indica un rol global, que és gestionat per l'administrador del lloc." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4450,6 +4460,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Has oblidat la teva contrasenya?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/de/LC_MESSAGES/volto.po b/packages/volto/locales/de/LC_MESSAGES/volto.po index 16d4b40522..570d68451a 100644 --- a/packages/volto/locales/de/LC_MESSAGES/volto.po +++ b/packages/volto/locales/de/LC_MESSAGES/volto.po @@ -506,11 +506,21 @@ msgstr "Durchsuchen" msgid "Browse the site, drop an image, or type a URL" msgstr "Seite durchsuchen, Bild ablegen oder URL eingeben" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Standardmäßig werden die Berechtigungen von einem Ordner auf die in ihm befindlichen Artikel vererbt. Wenn Sie dies deaktivieren, sind nur die explizit definierten Zugriffsberechtigungen gültig. In der Übersicht zeigt das Symbol ${image_confirm_icon} einen ererbten Wert an. Das Symbol ${image_link_icon} zeigt eine globale Funktion an, die vom Administrator verwaltet wird." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4449,6 +4459,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Passwort vergessen?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/en/LC_MESSAGES/volto.po b/packages/volto/locales/en/LC_MESSAGES/volto.po index 0223b0dedb..a6fbfccd5d 100644 --- a/packages/volto/locales/en/LC_MESSAGES/volto.po +++ b/packages/volto/locales/en/LC_MESSAGES/volto.po @@ -501,11 +501,21 @@ msgstr "" msgid "Browse the site, drop an image, or type a URL" msgstr "" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "" +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4444,6 +4454,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/es/LC_MESSAGES/volto.po b/packages/volto/locales/es/LC_MESSAGES/volto.po index 1b460a5155..131806db88 100644 --- a/packages/volto/locales/es/LC_MESSAGES/volto.po +++ b/packages/volto/locales/es/LC_MESSAGES/volto.po @@ -508,11 +508,21 @@ msgstr "Navegue" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegue el contenido, arrastre un imagen o ingrese una dirección URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Por defecto, los permisos desde el contenedor de este elemento son heredados. Si usted deshabilita esta opción, solamente los permisos compartidos definidos explícitamente serán validos. En la vista general, el símbolo {inherited} indica un valor heredado. Similarmente, el símbolo {global} indica un rol global, el cual es administrado por el administrador del sitio." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4451,6 +4461,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "¿Olvidaste tu contraseña?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/eu/LC_MESSAGES/volto.po b/packages/volto/locales/eu/LC_MESSAGES/volto.po index 443a95fa65..36f4121e83 100644 --- a/packages/volto/locales/eu/LC_MESSAGES/volto.po +++ b/packages/volto/locales/eu/LC_MESSAGES/volto.po @@ -508,11 +508,21 @@ msgstr "Arakatu" msgid "Browse the site, drop an image, or type a URL" msgstr "Atarian bilatu, irudi bat hona arrastatu edo URL bat idatzi" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Defektuz, elementu hau barnean duen karpetaren baimenak heredatu egiten dira. Hau desaktibatzen baduzu, hemen zehaztutako baimenak bakarrik aplikatuko dira. {inherited} ikurrak heredatutako balioa adierazten du. Era berean, {global} ikurrak rol globala adierazten du, atariaren kudeatzaileak kudeatzen duen rola." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4451,6 +4461,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Pasahitza ahaztuta?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/fi/LC_MESSAGES/volto.po b/packages/volto/locales/fi/LC_MESSAGES/volto.po index 96c63aaeeb..73456a92d3 100644 --- a/packages/volto/locales/fi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fi/LC_MESSAGES/volto.po @@ -506,11 +506,21 @@ msgstr "Selaa" msgid "Browse the site, drop an image, or type a URL" msgstr "Selaa sivustoa, raahaa ja pudota kuva, tai syötä URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Oletuksena käyttöoikeudet peritään aina edeltävältä sisältötasolta. Jos tämä valinta poistetaan, vain tällä tasolla erikseen määritellyt käyttöoikeudet ovat voimassa. {inherited} tarkoittaa perittyä käyttöoikeutta. {global} tarkoittaa ylläpitäjän myöntämää sivustonlaajuista käyttöoikeutta." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4449,6 +4459,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Unohditko salasanasi?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/fr/LC_MESSAGES/volto.po b/packages/volto/locales/fr/LC_MESSAGES/volto.po index 1746488e85..7b0be99af7 100644 --- a/packages/volto/locales/fr/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fr/LC_MESSAGES/volto.po @@ -508,11 +508,21 @@ msgstr "Explore" msgid "Browse the site, drop an image, or type a URL" msgstr "Explorer le site, déposer l'image ou écriver l'URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Par défaut, les autorisations du conteneur de cet élément sont héritées. Si vous désactivez cette option, seules les autorisations de partage explicitement définies seront valides. Dans l'aperçu, le symbole {inherited} indique une valeur héritée. De même, le symbole {global} indique un rôle global, qui est géré par l'administrateur du site." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4451,6 +4461,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Mot de passe oublié" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/hi/LC_MESSAGES/volto.po b/packages/volto/locales/hi/LC_MESSAGES/volto.po index 953ad78f2a..3a4fe48091 100644 --- a/packages/volto/locales/hi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/hi/LC_MESSAGES/volto.po @@ -501,11 +501,21 @@ msgstr "ब्राउज़ करें" msgid "Browse the site, drop an image, or type a URL" msgstr "साइट ब्राउज़ करें, एक छवि छोड़ें, या एक URL टाइप करें" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "डिफ़ॉल्ट रूप से, इस आइटम के कंटेनर से अनुमतियाँ विरासत में होती हैं। यदि आप इसे अक्षम करते हैं, तो केवल स्पष्ट रूप से परिभागित अनुमतियाँ मान्य होंगी। अवलोकन में, प्रतीक {inherited} एक विरासत मान को दर्शाता है। उसी तरह, प्रतीक {global} एक वैश्विक भूमिका को दर्शाता है, जो साइट प्रशासक द्वारा प्रबंधित की जाती है।" +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4444,6 +4454,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "पासवर्ड भूल गए?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/it/LC_MESSAGES/volto.po b/packages/volto/locales/it/LC_MESSAGES/volto.po index da53683f96..100b1dc472 100644 --- a/packages/volto/locales/it/LC_MESSAGES/volto.po +++ b/packages/volto/locales/it/LC_MESSAGES/volto.po @@ -501,11 +501,21 @@ msgstr "Sfoglia" msgid "Browse the site, drop an image, or type a URL" msgstr "Sfoglia i contenuti, rilascia un'immagine o digita un URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Di norma, i permessi di questo elemento vengono ereditati dal contenitore. Se disabiliti questa opzione, verranno considerati solo i permessi di condivisione definiti esplicitamente. Nel sommario, il simbolo {inherited} indica una impostazione ereditata. Analogamente, il simbolo {global} indica un ruolo globale, che è gestito dall'amministratore del sito" +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4444,6 +4454,11 @@ msgstr "" msgid "box_forgot_password_option" 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/ja/LC_MESSAGES/volto.po b/packages/volto/locales/ja/LC_MESSAGES/volto.po index 459af5498c..029a45c73b 100644 --- a/packages/volto/locales/ja/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ja/LC_MESSAGES/volto.po @@ -506,11 +506,21 @@ msgstr "参照" msgid "Browse the site, drop an image, or type a URL" msgstr "参照" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "デフォルトでは、このアイテムのコンテナからのパーミッションが継承されます。これを無効にすると、明示的に定義されたパーミッションだけが有効になります。概要画面で {inherited} シンボルが継承された値を示します。同様に、{global} シンボルはグローバルロールを示します。これはサイト管理者によって管理されるものです。" +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4449,6 +4459,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "パスワードを忘れた?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/nl/LC_MESSAGES/volto.po b/packages/volto/locales/nl/LC_MESSAGES/volto.po index 1a2ea33d8b..f6723dcbb0 100644 --- a/packages/volto/locales/nl/LC_MESSAGES/volto.po +++ b/packages/volto/locales/nl/LC_MESSAGES/volto.po @@ -505,11 +505,21 @@ msgstr "Bladeren" msgid "Browse the site, drop an image, or type a URL" msgstr "" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Standaard worden de rechten overgenomen van de bovenliggende map. Als u dit uitgeschakeld, worden alleen de expliciet toegekende rechten gebruikt. In het overzicht geeft het symbool ${image_confirm_icon} een overgenomen waarde aan. Vergelijkbaar geeft het icoon ${image_link_icon} een globale rol aan, die wordt beheerd door de websitebeheerder." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4448,6 +4458,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/pt/LC_MESSAGES/volto.po b/packages/volto/locales/pt/LC_MESSAGES/volto.po index 400b9e690f..fbe61069c9 100644 --- a/packages/volto/locales/pt/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt/LC_MESSAGES/volto.po @@ -506,11 +506,21 @@ msgstr "Navegar" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegue no website, largue uma imagem ou escreva um URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Por predefinição, as permissões do contentor deste item são herdadas. Se desactivar isto, apenas serão válidas as permissões de partilha explicitamente definidas. No resumo, o símbolo {inherited} indica um valor herdado. Do mesmo modo, o símbolo {global} indica um papel global, que é gerido pelo administrador do sítio." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4449,6 +4459,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "box_forgot_password_option" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po index 8eeb21bd29..6f40b78db4 100644 --- a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po @@ -507,11 +507,21 @@ msgstr "Procurar" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegue no site, arraste uma imagem ou digite uma URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "Por padrão, as permissões do container deste item são herdadas. Se você desabilitar isso, apenas as permissões de compartilhamento definidas explicitamente serão válidas. Na visão geral, o símbolo {inherited} indica um valor herdado. Da mesma forma, o símbolo {global} indica uma função global que é gerenciada pelo administrador do site." +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4450,6 +4460,11 @@ msgstr "Erro no campo de blocos {errorField}" msgid "box_forgot_password_option" msgstr "Esqueceu sua senha?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/ro/LC_MESSAGES/volto.po b/packages/volto/locales/ro/LC_MESSAGES/volto.po index cdad2ccda2..bbc588d1a0 100644 --- a/packages/volto/locales/ro/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ro/LC_MESSAGES/volto.po @@ -501,11 +501,21 @@ msgstr "Răsfoiește" msgid "Browse the site, drop an image, or type a URL" msgstr "Navigați site-ul, adaugați o imagine sau introduceți o adresă URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "În mod implicit, permisiunile din containerul acestui articol sunt moștenite. Dacă dezactivați acest lucru, numai permisiunile de partajare definite în mod explicit vor fi valide. În imagine, simbolul {inherited} indică o valoare moștenită. În mod similar, simbolul {global} indică un rol global, care este gestionat de administratorul site-ului. " +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4444,6 +4454,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Ați uitat parola?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/volto.pot b/packages/volto/locales/volto.pot index c554929d2c..eed76b2db8 100644 --- a/packages/volto/locales/volto.pot +++ b/packages/volto/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-10-18T18:57:13.945Z\n" +"POT-Creation-Date: 2024-10-18T19:40:41.969Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -503,11 +503,21 @@ msgstr "" msgid "Browse the site, drop an image, or type a URL" msgstr "" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "" +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4446,6 +4456,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" diff --git a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po index c2e9f3b2a9..e237877242 100644 --- a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po +++ b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po @@ -507,11 +507,21 @@ msgstr "浏览" msgid "Browse the site, drop an image, or type a URL" msgstr "浏览网站,放入一张图片,或者输入一个URL" +#. Default: "Bulk upload alternative URLs" +#: components/manage/Controlpanels/Aliases +msgid "BulkUploadAltUrls" +msgstr "" + #. 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 msgid "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." msgstr "默认情况下,条目的权限从父文件夹继承,您可以禁用继承,明确设置权限。总体来说,${inherited}符号表示这是一个继承的值,${global}符号表示这是一个由网站管理员管理的全局角色。" +#. Default: "CSV file" +#: components/manage/Controlpanels/Aliases +msgid "CSVFile" +msgstr "" + #. Default: "Cache Name" #: components/manage/Controlpanels/DatabaseInformation msgid "Cache Name" @@ -4450,6 +4460,11 @@ msgstr "" msgid "box_forgot_password_option" msgstr "忘记了密码?" +#. 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 "" + #. Default: "Checkbox" #: config/Blocks msgid "checkboxFacet" From 9b51a97134f623c152e335e712daf550139721e8 Mon Sep 17 00:00:00 2001 From: David Glick Date: Fri, 18 Oct 2024 15:49:40 -0700 Subject: [PATCH 05/12] upload aliases CSV --- packages/volto/src/actions/aliases/aliases.js | 18 +++++++++ .../manage/Controlpanels/Aliases.jsx | 37 ++++++++++++++++++- packages/volto/src/constants/ActionTypes.js | 1 + packages/volto/src/helpers/Api/Api.js | 13 ++++++- packages/volto/src/middleware/api.js | 3 ++ 5 files changed, 69 insertions(+), 3 deletions(-) diff --git a/packages/volto/src/actions/aliases/aliases.js b/packages/volto/src/actions/aliases/aliases.js index 0131ab6a79..9c972be2eb 100644 --- a/packages/volto/src/actions/aliases/aliases.js +++ b/packages/volto/src/actions/aliases/aliases.js @@ -7,6 +7,7 @@ import { GET_ALIASES, ADD_ALIASES, REMOVE_ALIASES, + UPLOAD_ALIASES, } from '@plone/volto/constants/ActionTypes'; /** @@ -68,3 +69,20 @@ export function removeAliases(url, data) { }, }; } + +/** + * Upload aliases function. + * @function uploadAliases + * @param {Object} file CSV file. + * @returns {Object} Upload aliases action. + */ +export function uploadAliases(file) { + return { + type: UPLOAD_ALIASES, + request: { + op: 'post', + path: '/@aliases', + attach: [['file', file]], + }, + }; +} diff --git a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx index 82cb95f513..8ec137068a 100644 --- a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx +++ b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx @@ -2,7 +2,12 @@ import { useState, useEffect, useCallback, useMemo } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { Link, useHistory, useLocation } from 'react-router-dom'; import { getBaseUrl, getParentUrl, Helmet } from '@plone/volto/helpers'; -import { removeAliases, addAliases, getAliases } from '@plone/volto/actions'; +import { + removeAliases, + addAliases, + getAliases, + uploadAliases, +} from '@plone/volto/actions/aliases/aliases'; import { createPortal } from 'react-dom'; import { Container, @@ -51,6 +56,10 @@ const messages = defineMessages({ id: 'Alias has been added', defaultMessage: 'Alias has been added', }, + successUpload: { + id: 'Aliases have been uploaded.', + defaultMessage: 'Aliases have been uploaded.', + }, filterByPrefix: { id: 'Filter by prefix', defaultMessage: 'Filter by path', @@ -119,6 +128,7 @@ const Aliases = (props) => { const [itemsPerPage, setItemsPerPage] = useState(10); const [addModalOpen, setAddModalOpen] = useState(false); const [uploadModalOpen, setUploadModalOpen] = useState(false); + const [uploadError, setUploadError] = useState(null); const isClient = useClient(); const updateResults = useCallback(() => { @@ -216,7 +226,28 @@ const Aliases = (props) => { setAliasesToRemove([]); }; - const handleBulkUpload = () => {}; + const handleBulkUpload = (formData) => { + fetch(`data:${formData.file['content-type']};base64,${formData.file.data}`) + .then((res) => res.blob()) + .then((blob) => { + dispatch(uploadAliases(blob)) + .then(() => { + updateResults(); + setUploadError(null); + setUploadModalOpen(false); + toast.success( + , + ); + }) + .catch((error) => { + setUploadError(error.response?.body?.message); + }); + }); + }; return (
@@ -346,7 +377,9 @@ const Aliases = (props) => { setUploadModalOpen(false)} title={intl.formatMessage(messages.BulkUploadAltUrls)} + submitError={uploadError} description={ <>

diff --git a/packages/volto/src/constants/ActionTypes.js b/packages/volto/src/constants/ActionTypes.js index 14a765d32b..f59c4081fc 100644 --- a/packages/volto/src/constants/ActionTypes.js +++ b/packages/volto/src/constants/ActionTypes.js @@ -138,6 +138,7 @@ export const MOVE_CONTENT_RULE = 'MOVE_CONTENT_RULE'; export const GET_ALIASES = 'GET_ALIASES'; export const ADD_ALIASES = 'ADD_ALIASES'; export const REMOVE_ALIASES = 'REMOVE_ALIASES'; +export const UPLOAD_ALIASES = 'UPLOAD_ALIASES'; export const GET_USERSCHEMA = 'GET_USERSCHEMA'; export const GET_UPGRADE = 'GET_UPGRADE'; export const POST_UPGRADE = 'POST_UPGRADE'; diff --git a/packages/volto/src/helpers/Api/Api.js b/packages/volto/src/helpers/Api/Api.js index 57419e116a..da26329b1c 100644 --- a/packages/volto/src/helpers/Api/Api.js +++ b/packages/volto/src/helpers/Api/Api.js @@ -50,7 +50,14 @@ class Api { methods.forEach((method) => { this[method] = ( path, - { params, data, type, headers = {}, checkUrl = false } = {}, + { + params, + data, + type, + headers = {}, + checkUrl = false, + attach = [], + } = {}, ) => { let request; let promise = new Promise((resolve, reject) => { @@ -88,6 +95,10 @@ class Api { request.send(data); } + attach.forEach((attachment) => { + request.attach.apply(request, attachment); + }); + request.end((err, response) => { if ( checkUrl && diff --git a/packages/volto/src/middleware/api.js b/packages/volto/src/middleware/api.js index 85465658f6..f0e0249287 100644 --- a/packages/volto/src/middleware/api.js +++ b/packages/volto/src/middleware/api.js @@ -186,6 +186,7 @@ const apiMiddlewareFactory = checkUrl: settings.actions_raising_api_errors.includes( action.type, ), + attach: item.attach, }, ).then((reqres) => { if (action.subrequest === 'batch-upload') { @@ -205,6 +206,7 @@ const apiMiddlewareFactory = checkUrl: settings.actions_raising_api_errors.includes( action.type, ), + attach: item.attach, }), ), ) @@ -214,6 +216,7 @@ const apiMiddlewareFactory = headers: request.headers, params: request.params, checkUrl: settings.actions_raising_api_errors.includes(action.type), + attach: request.attach, }); actionPromise.then( (result) => { From e3ce45e7ff565de9ac3f9929779fa60457c7d3a1 Mon Sep 17 00:00:00 2001 From: David Glick Date: Fri, 18 Oct 2024 15:50:05 -0700 Subject: [PATCH 06/12] i18n --- packages/volto/locales/ca/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/de/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/en/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/es/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/eu/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/fi/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/fr/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/hi/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/it/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/ja/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/nl/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/pt/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/pt_BR/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/ro/LC_MESSAGES/volto.po | 5 +++++ packages/volto/locales/volto.pot | 7 ++++++- packages/volto/locales/zh_CN/LC_MESSAGES/volto.po | 5 +++++ 16 files changed, 81 insertions(+), 1 deletion(-) diff --git a/packages/volto/locales/ca/LC_MESSAGES/volto.po b/packages/volto/locales/ca/LC_MESSAGES/volto.po index f4a5eeddd3..36af8e0487 100644 --- a/packages/volto/locales/ca/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ca/LC_MESSAGES/volto.po @@ -315,6 +315,11 @@ msgstr "" msgid "Alias has been added" msgstr "" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/de/LC_MESSAGES/volto.po b/packages/volto/locales/de/LC_MESSAGES/volto.po index 570d68451a..fa0a9de96b 100644 --- a/packages/volto/locales/de/LC_MESSAGES/volto.po +++ b/packages/volto/locales/de/LC_MESSAGES/volto.po @@ -314,6 +314,11 @@ msgstr "Alias" msgid "Alias has been added" msgstr "Alias wurde hinzugefügt" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/en/LC_MESSAGES/volto.po b/packages/volto/locales/en/LC_MESSAGES/volto.po index a6fbfccd5d..f39f3d1949 100644 --- a/packages/volto/locales/en/LC_MESSAGES/volto.po +++ b/packages/volto/locales/en/LC_MESSAGES/volto.po @@ -309,6 +309,11 @@ msgstr "" msgid "Alias has been added" msgstr "" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/es/LC_MESSAGES/volto.po b/packages/volto/locales/es/LC_MESSAGES/volto.po index 131806db88..9dce90c06f 100644 --- a/packages/volto/locales/es/LC_MESSAGES/volto.po +++ b/packages/volto/locales/es/LC_MESSAGES/volto.po @@ -316,6 +316,11 @@ msgstr "Alias" msgid "Alias has been added" msgstr "Alias añadido correctamente" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/eu/LC_MESSAGES/volto.po b/packages/volto/locales/eu/LC_MESSAGES/volto.po index 36f4121e83..444e62a074 100644 --- a/packages/volto/locales/eu/LC_MESSAGES/volto.po +++ b/packages/volto/locales/eu/LC_MESSAGES/volto.po @@ -316,6 +316,11 @@ msgstr "Aliasa" msgid "Alias has been added" msgstr "Aliasa ondo gehitu da" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/fi/LC_MESSAGES/volto.po b/packages/volto/locales/fi/LC_MESSAGES/volto.po index 73456a92d3..0791ac7332 100644 --- a/packages/volto/locales/fi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fi/LC_MESSAGES/volto.po @@ -314,6 +314,11 @@ msgstr "Alias" msgid "Alias has been added" msgstr "Alias on lisätty" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/fr/LC_MESSAGES/volto.po b/packages/volto/locales/fr/LC_MESSAGES/volto.po index 7b0be99af7..4a39096bbd 100644 --- a/packages/volto/locales/fr/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fr/LC_MESSAGES/volto.po @@ -316,6 +316,11 @@ msgstr "Alias" msgid "Alias has been added" msgstr "L'alias a été ajouté" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/hi/LC_MESSAGES/volto.po b/packages/volto/locales/hi/LC_MESSAGES/volto.po index 3a4fe48091..50142aa134 100644 --- a/packages/volto/locales/hi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/hi/LC_MESSAGES/volto.po @@ -309,6 +309,11 @@ msgstr "उपनाम" msgid "Alias has been added" msgstr "उपनाम जोड़ा गया है" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/it/LC_MESSAGES/volto.po b/packages/volto/locales/it/LC_MESSAGES/volto.po index 100b1dc472..ded768626e 100644 --- a/packages/volto/locales/it/LC_MESSAGES/volto.po +++ b/packages/volto/locales/it/LC_MESSAGES/volto.po @@ -309,6 +309,11 @@ msgstr "Alias" msgid "Alias has been added" msgstr "L'alias è stato aggiunto" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/ja/LC_MESSAGES/volto.po b/packages/volto/locales/ja/LC_MESSAGES/volto.po index 029a45c73b..ac85f0ede9 100644 --- a/packages/volto/locales/ja/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ja/LC_MESSAGES/volto.po @@ -314,6 +314,11 @@ msgstr "" msgid "Alias has been added" msgstr "" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/nl/LC_MESSAGES/volto.po b/packages/volto/locales/nl/LC_MESSAGES/volto.po index f6723dcbb0..3430f9aadc 100644 --- a/packages/volto/locales/nl/LC_MESSAGES/volto.po +++ b/packages/volto/locales/nl/LC_MESSAGES/volto.po @@ -313,6 +313,11 @@ msgstr "" msgid "Alias has been added" msgstr "" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/pt/LC_MESSAGES/volto.po b/packages/volto/locales/pt/LC_MESSAGES/volto.po index fbe61069c9..a9985b98f7 100644 --- a/packages/volto/locales/pt/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt/LC_MESSAGES/volto.po @@ -314,6 +314,11 @@ msgstr "" msgid "Alias has been added" msgstr "" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po index 6f40b78db4..9fae2358de 100644 --- a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po @@ -315,6 +315,11 @@ msgstr "Alternativa" msgid "Alias has been added" msgstr "Alternativa foi adicionada" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/ro/LC_MESSAGES/volto.po b/packages/volto/locales/ro/LC_MESSAGES/volto.po index bbc588d1a0..7391ff9a40 100644 --- a/packages/volto/locales/ro/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ro/LC_MESSAGES/volto.po @@ -309,6 +309,11 @@ msgstr "" msgid "Alias has been added" msgstr "" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/volto.pot b/packages/volto/locales/volto.pot index eed76b2db8..f87d223cbe 100644 --- a/packages/volto/locales/volto.pot +++ b/packages/volto/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-10-18T19:40:41.969Z\n" +"POT-Creation-Date: 2024-10-18T22:49:50.925Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -311,6 +311,11 @@ msgstr "" msgid "Alias has been added" msgstr "" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar diff --git a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po index e237877242..09af3a7e97 100644 --- a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po +++ b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po @@ -315,6 +315,11 @@ msgstr "别名" msgid "Alias has been added" msgstr "别名已添加" +#. Default: "Aliases have been uploaded." +#: components/manage/Controlpanels/Aliases +msgid "Aliases have been uploaded." +msgstr "" + #. Default: "Alignment" #: components/manage/Blocks/Image/schema #: components/manage/Blocks/LeadImage/LeadImageSidebar From e8e3c411b7411acb88151ece5e8afd2e087e986e Mon Sep 17 00:00:00 2001 From: David Glick Date: Mon, 21 Oct 2024 09:21:11 -0700 Subject: [PATCH 07/12] conditional csv upload, loading indicator --- .../volto/locales/ca/LC_MESSAGES/volto.po | 2 +- .../volto/locales/de/LC_MESSAGES/volto.po | 2 +- .../volto/locales/en/LC_MESSAGES/volto.po | 2 +- .../volto/locales/es/LC_MESSAGES/volto.po | 2 +- .../volto/locales/eu/LC_MESSAGES/volto.po | 2 +- .../volto/locales/fi/LC_MESSAGES/volto.po | 2 +- .../volto/locales/fr/LC_MESSAGES/volto.po | 2 +- .../volto/locales/hi/LC_MESSAGES/volto.po | 2 +- .../volto/locales/it/LC_MESSAGES/volto.po | 2 +- .../volto/locales/ja/LC_MESSAGES/volto.po | 2 +- .../volto/locales/nl/LC_MESSAGES/volto.po | 2 +- .../volto/locales/pt/LC_MESSAGES/volto.po | 2 +- .../volto/locales/pt_BR/LC_MESSAGES/volto.po | 2 +- .../volto/locales/ro/LC_MESSAGES/volto.po | 2 +- packages/volto/locales/volto.pot | 4 +- .../volto/locales/zh_CN/LC_MESSAGES/volto.po | 2 +- .../manage/Controlpanels/Aliases.jsx | 127 ++++++++++-------- 17 files changed, 87 insertions(+), 74 deletions(-) diff --git a/packages/volto/locales/ca/LC_MESSAGES/volto.po b/packages/volto/locales/ca/LC_MESSAGES/volto.po index 36af8e0487..711c98d17b 100644 --- a/packages/volto/locales/ca/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ca/LC_MESSAGES/volto.po @@ -512,7 +512,7 @@ msgstr "Navegui" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegueu pel lloc, deixeu anar una imatge o escriviu un URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/de/LC_MESSAGES/volto.po b/packages/volto/locales/de/LC_MESSAGES/volto.po index fa0a9de96b..de52a64bf6 100644 --- a/packages/volto/locales/de/LC_MESSAGES/volto.po +++ b/packages/volto/locales/de/LC_MESSAGES/volto.po @@ -511,7 +511,7 @@ msgstr "Durchsuchen" msgid "Browse the site, drop an image, or type a URL" msgstr "Seite durchsuchen, Bild ablegen oder URL eingeben" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/en/LC_MESSAGES/volto.po b/packages/volto/locales/en/LC_MESSAGES/volto.po index f39f3d1949..25fab0968c 100644 --- a/packages/volto/locales/en/LC_MESSAGES/volto.po +++ b/packages/volto/locales/en/LC_MESSAGES/volto.po @@ -506,7 +506,7 @@ msgstr "" msgid "Browse the site, drop an image, or type a URL" msgstr "" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/es/LC_MESSAGES/volto.po b/packages/volto/locales/es/LC_MESSAGES/volto.po index 9dce90c06f..52d2cf1649 100644 --- a/packages/volto/locales/es/LC_MESSAGES/volto.po +++ b/packages/volto/locales/es/LC_MESSAGES/volto.po @@ -513,7 +513,7 @@ msgstr "Navegue" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegue el contenido, arrastre un imagen o ingrese una dirección URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/eu/LC_MESSAGES/volto.po b/packages/volto/locales/eu/LC_MESSAGES/volto.po index 444e62a074..9a22273ccf 100644 --- a/packages/volto/locales/eu/LC_MESSAGES/volto.po +++ b/packages/volto/locales/eu/LC_MESSAGES/volto.po @@ -513,7 +513,7 @@ msgstr "Arakatu" msgid "Browse the site, drop an image, or type a URL" msgstr "Atarian bilatu, irudi bat hona arrastatu edo URL bat idatzi" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/fi/LC_MESSAGES/volto.po b/packages/volto/locales/fi/LC_MESSAGES/volto.po index 0791ac7332..f076a929c3 100644 --- a/packages/volto/locales/fi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fi/LC_MESSAGES/volto.po @@ -511,7 +511,7 @@ msgstr "Selaa" msgid "Browse the site, drop an image, or type a URL" msgstr "Selaa sivustoa, raahaa ja pudota kuva, tai syötä URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/fr/LC_MESSAGES/volto.po b/packages/volto/locales/fr/LC_MESSAGES/volto.po index 4a39096bbd..470ec18154 100644 --- a/packages/volto/locales/fr/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fr/LC_MESSAGES/volto.po @@ -513,7 +513,7 @@ msgstr "Explore" msgid "Browse the site, drop an image, or type a URL" msgstr "Explorer le site, déposer l'image ou écriver l'URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/hi/LC_MESSAGES/volto.po b/packages/volto/locales/hi/LC_MESSAGES/volto.po index 50142aa134..bb96907ea6 100644 --- a/packages/volto/locales/hi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/hi/LC_MESSAGES/volto.po @@ -506,7 +506,7 @@ msgstr "ब्राउज़ करें" msgid "Browse the site, drop an image, or type a URL" msgstr "साइट ब्राउज़ करें, एक छवि छोड़ें, या एक URL टाइप करें" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/it/LC_MESSAGES/volto.po b/packages/volto/locales/it/LC_MESSAGES/volto.po index ded768626e..0b060fe10e 100644 --- a/packages/volto/locales/it/LC_MESSAGES/volto.po +++ b/packages/volto/locales/it/LC_MESSAGES/volto.po @@ -506,7 +506,7 @@ msgstr "Sfoglia" msgid "Browse the site, drop an image, or type a URL" msgstr "Sfoglia i contenuti, rilascia un'immagine o digita un URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/ja/LC_MESSAGES/volto.po b/packages/volto/locales/ja/LC_MESSAGES/volto.po index ac85f0ede9..a26de08d20 100644 --- a/packages/volto/locales/ja/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ja/LC_MESSAGES/volto.po @@ -511,7 +511,7 @@ msgstr "参照" msgid "Browse the site, drop an image, or type a URL" msgstr "参照" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/nl/LC_MESSAGES/volto.po b/packages/volto/locales/nl/LC_MESSAGES/volto.po index 3430f9aadc..646e569555 100644 --- a/packages/volto/locales/nl/LC_MESSAGES/volto.po +++ b/packages/volto/locales/nl/LC_MESSAGES/volto.po @@ -510,7 +510,7 @@ msgstr "Bladeren" msgid "Browse the site, drop an image, or type a URL" msgstr "" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/pt/LC_MESSAGES/volto.po b/packages/volto/locales/pt/LC_MESSAGES/volto.po index a9985b98f7..45c8dda0cf 100644 --- a/packages/volto/locales/pt/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt/LC_MESSAGES/volto.po @@ -511,7 +511,7 @@ msgstr "Navegar" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegue no website, largue uma imagem ou escreva um URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po index 9fae2358de..a0b6d5c904 100644 --- a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po @@ -512,7 +512,7 @@ msgstr "Procurar" msgid "Browse the site, drop an image, or type a URL" msgstr "Navegue no site, arraste uma imagem ou digite uma URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/ro/LC_MESSAGES/volto.po b/packages/volto/locales/ro/LC_MESSAGES/volto.po index 7391ff9a40..dc6d68c8cd 100644 --- a/packages/volto/locales/ro/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ro/LC_MESSAGES/volto.po @@ -506,7 +506,7 @@ msgstr "Răsfoiește" msgid "Browse the site, drop an image, or type a URL" msgstr "Navigați site-ul, adaugați o imagine sau introduceți o adresă URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/volto.pot b/packages/volto/locales/volto.pot index f87d223cbe..77b45c1857 100644 --- a/packages/volto/locales/volto.pot +++ b/packages/volto/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-10-18T22:49:50.925Z\n" +"POT-Creation-Date: 2024-10-21T16:20:47.294Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -508,7 +508,7 @@ msgstr "" msgid "Browse the site, drop an image, or type a URL" msgstr "" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po index 09af3a7e97..923df77305 100644 --- a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po +++ b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po @@ -512,7 +512,7 @@ msgstr "浏览" msgid "Browse the site, drop an image, or type a URL" msgstr "浏览网站,放入一张图片,或者输入一个URL" -#. Default: "Bulk upload alternative URLs" +#. Default: "Bulk upload CSV" #: components/manage/Controlpanels/Aliases msgid "BulkUploadAltUrls" msgstr "" diff --git a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx index 8ec137068a..b6225961b2 100644 --- a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx +++ b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx @@ -10,19 +10,20 @@ import { } from '@plone/volto/actions/aliases/aliases'; import { createPortal } from 'react-dom'; import { - Container, Button, - Segment, - Form, Checkbox, + Container, + Form, Header, Input, - Radio, + Loader, + Menu, Message, Modal, - Table, Pagination, - Menu, + Radio, + Segment, + Table, } from 'semantic-ui-react'; import { FormattedMessage, defineMessages, useIntl } from 'react-intl'; import DatetimeWidget from '@plone/volto/components/manage/Widgets/DatetimeWidget'; @@ -90,7 +91,7 @@ const messages = defineMessages({ }, BulkUploadAltUrls: { id: 'BulkUploadAltUrls', - defaultMessage: 'Bulk upload alternative URLs', + defaultMessage: 'Bulk upload CSV', }, CSVFile: { id: 'CSVFile', @@ -116,6 +117,7 @@ const Aliases = (props) => { const hasAdvancedFiltering = useSelector( (state) => state.site.data?.features?.filter_aliases_by_date, ); + const hasBulkUpload = hasAdvancedFiltering !== undefined; const aliases = useSelector((state) => state.aliases); const [filterType, setFilterType] = useState(filterChoices[0]); const [createdBefore, setCreatedBefore] = useState(null); @@ -371,52 +373,56 @@ const Aliases = (props) => { - - setUploadModalOpen(false)} - title={intl.formatMessage(messages.BulkUploadAltUrls)} - submitError={uploadError} - description={ - <> -

- -

-

- Example: -
- - /old-home-page.asp,/front-page,2019/01/27 10:42:59 - GMT+1,true -
- /people/JoeT,/Users/joe-thurston,2018-12-31,false -
-

- - } - schema={{ - fieldsets: [ - { - id: 'default', - fields: ['file'], - }, - ], - properties: { - file: { - title: intl.formatMessage(messages.CSVFile), - type: 'object', - factory: 'File Upload', - }, - }, - required: ['file'], - }} - /> + {hasBulkUpload && ( + <> + + setUploadModalOpen(false)} + title={intl.formatMessage(messages.BulkUploadAltUrls)} + submitError={uploadError} + description={ + <> +

+ +

+

+ Example: +
+ + /old-home-page.asp,/front-page,2019/01/27 10:42:59 + GMT+1,true +
+ /people/JoeT,/Users/joe-thurston,2018-12-31,false +
+

+ + } + schema={{ + fieldsets: [ + { + id: 'default', + fields: ['file'], + }, + ], + properties: { + file: { + title: intl.formatMessage(messages.CSVFile), + type: 'object', + factory: 'File Upload', + }, + }, + required: ['file'], + }} + /> + + )} @@ -501,21 +507,28 @@ const Aliases = (props) => { - + - + - + - + + {aliases.get.loading && ( + + + + + + )} {aliases.items.length > 0 && aliases.items.map((alias, i) => ( From ffb38783f7ceb949e4100beead2df1bccca19e38 Mon Sep 17 00:00:00 2001 From: David Glick Date: Mon, 21 Oct 2024 09:32:18 -0700 Subject: [PATCH 08/12] Avoid changing msgids unnecessarily --- .../volto/locales/ca/LC_MESSAGES/volto.po | 40 +++++++--------- .../volto/locales/de/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/en/LC_MESSAGES/volto.po | 40 +++++++--------- .../volto/locales/es/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/eu/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/fi/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/fr/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/hi/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/it/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/ja/LC_MESSAGES/volto.po | 40 +++++++--------- .../volto/locales/nl/LC_MESSAGES/volto.po | 40 +++++++--------- .../volto/locales/pt/LC_MESSAGES/volto.po | 40 +++++++--------- .../volto/locales/pt_BR/LC_MESSAGES/volto.po | 48 +++++++++---------- .../volto/locales/ro/LC_MESSAGES/volto.po | 40 +++++++--------- packages/volto/locales/volto.pot | 42 ++++++++-------- .../volto/locales/zh_CN/LC_MESSAGES/volto.po | 48 +++++++++---------- .../manage/Controlpanels/Aliases.jsx | 16 +++---- 17 files changed, 333 insertions(+), 397 deletions(-) diff --git a/packages/volto/locales/ca/LC_MESSAGES/volto.po b/packages/volto/locales/ca/LC_MESSAGES/volto.po index 711c98d17b..0c8df0d970 100644 --- a/packages/volto/locales/ca/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ca/LC_MESSAGES/volto.po @@ -339,6 +339,11 @@ msgstr "Tots" msgid "All content" msgstr "Tot el contingut" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -363,22 +368,18 @@ msgstr "Descriu el propòsit de la imatge" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" +msgid "Alternative url path (Required)" msgstr "" -#. Default: "Alternative URL path must start with a slash." +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" - -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" msgstr "" #. Default: "Applied to subfolders" @@ -1325,12 +1326,12 @@ msgstr "Introduïu el codi d'inserció del mapa" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." msgstr "" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1425,11 +1426,6 @@ msgstr "Exclou aquesta ocurrència" msgid "Excluded from navigation" msgstr "Exclòs de la navegació" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2186,6 +2182,11 @@ msgstr "Gestiona les traduccions per a {title}" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4465,7 +4466,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Has oblidat la teva contrasenya?" -#. 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)." +#. 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 "" @@ -4686,11 +4687,6 @@ msgstr "Carregant" msgid "log in" msgstr "Iniciar Sessió" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/de/LC_MESSAGES/volto.po b/packages/volto/locales/de/LC_MESSAGES/volto.po index de52a64bf6..39643d58e9 100644 --- a/packages/volto/locales/de/LC_MESSAGES/volto.po +++ b/packages/volto/locales/de/LC_MESSAGES/volto.po @@ -338,6 +338,11 @@ msgstr "Alle" msgid "All content" msgstr "Alle Inhalte" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "Alle existierenden, alternativen Pfade für diese Seite" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -362,24 +367,20 @@ msgstr "Beschreiben Sie, was auf dem Bild zu sehen ist." #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "Alternativer Pfad (erforderlich)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Alternativer Pfad muss mit einem Schrägstrich beginnen" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "Alternativer URL Pfad → Zielpfad (Datum und Zeit der Erstellung, manuell erstellt ja/nein)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1324,12 +1325,12 @@ msgstr "Karten-Einbettungscode eingeben" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "Geben Sie den absoluten Pfad des Ziels ein. Das Ziel muss existieren oder ein existierender, alternativer Pfad zum Ziel sein." #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1424,11 +1425,6 @@ msgstr "Dieses Datum ausschließen" msgid "Excluded from navigation" msgstr "Von Navigation ausgeschlossen" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2185,6 +2181,11 @@ msgstr "Übersetzungen für {} verwalten" msgid "Manual" msgstr "Manuell" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "Manuell oder automatisch hinzugefügt?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4464,7 +4465,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Passwort vergessen?" -#. 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)." +#. 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 "" @@ -4685,11 +4686,6 @@ msgstr "laden" msgid "log in" msgstr "Einloggen" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/en/LC_MESSAGES/volto.po b/packages/volto/locales/en/LC_MESSAGES/volto.po index 25fab0968c..2d821da363 100644 --- a/packages/volto/locales/en/LC_MESSAGES/volto.po +++ b/packages/volto/locales/en/LC_MESSAGES/volto.po @@ -333,6 +333,11 @@ msgstr "" msgid "All content" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -357,22 +362,18 @@ msgstr "" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" +msgid "Alternative url path (Required)" msgstr "" -#. Default: "Alternative URL path must start with a slash." +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" - -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" msgstr "" #. Default: "Applied to subfolders" @@ -1319,12 +1320,12 @@ msgstr "" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." msgstr "" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1419,11 +1420,6 @@ msgstr "" msgid "Excluded from navigation" msgstr "" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2180,6 +2176,11 @@ msgstr "" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4459,7 +4460,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "" -#. 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)." +#. 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 "" @@ -4680,11 +4681,6 @@ msgstr "" msgid "log in" msgstr "" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/es/LC_MESSAGES/volto.po b/packages/volto/locales/es/LC_MESSAGES/volto.po index 52d2cf1649..289d1e5462 100644 --- a/packages/volto/locales/es/LC_MESSAGES/volto.po +++ b/packages/volto/locales/es/LC_MESSAGES/volto.po @@ -340,6 +340,11 @@ msgstr "Todo" msgid "All content" msgstr "Todo el contenido" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "Todas los alias disponibles para este sitio" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -364,24 +369,20 @@ msgstr "Describir el propósito de la imagen" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "Ruta de url alternativa (obligatorio)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "La url alternativa debe comenzar con un carácter especial '/'." +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "Url alternativa → url destino (fecha y hora de creación, creado de forma manual si/no)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1326,12 +1327,12 @@ msgstr "Introduzca el código embebido de un mapa" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "Introduzca la ruta absoluta del destino. El destino debe existir o ser una url alternativa de otro destino." #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1426,11 +1427,6 @@ msgstr "Excluir esta repetición" msgid "Excluded from navigation" msgstr "Exluido de la navegación" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2187,6 +2183,11 @@ msgstr "Administrar traducciones de {title}" msgid "Manual" msgstr "Manual" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "¿Añadidos de forma manual o automática?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4466,7 +4467,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "¿Olvidaste tu contraseña?" -#. 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)." +#. 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 "" @@ -4687,11 +4688,6 @@ msgstr "Cargando" msgid "log in" msgstr "entrar" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/eu/LC_MESSAGES/volto.po b/packages/volto/locales/eu/LC_MESSAGES/volto.po index 9a22273ccf..50579cea41 100644 --- a/packages/volto/locales/eu/LC_MESSAGES/volto.po +++ b/packages/volto/locales/eu/LC_MESSAGES/volto.po @@ -340,6 +340,11 @@ msgstr "Guztiak" msgid "All content" msgstr "Eduki guztia" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "Atari honetako ordezko helbide guztiak" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -364,24 +369,20 @@ msgstr "Deskribatu irudia zertarako den" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "Ordezko helbidearen bidea (derrigorrezkoa)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Ordezko helbidearen bidea / karakterearekin hasi behar da" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "Ordezko helbidearen bidea → helburu helbidearen bidea (sorrera data eta ordua, eskuz sortu den bai/ez)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1326,12 +1327,12 @@ msgstr "Sartu itsasteko kodea" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "Idatzi helburuaren bide absolutua. Helburua existitu egin behar da edo ordezko helbide bat izan behar da." #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1426,11 +1427,6 @@ msgstr "Kendu agerpen hau" msgid "Excluded from navigation" msgstr "Nabigaziotik baztertuta" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2187,6 +2183,11 @@ msgstr "Kudeatu honen itzulpenak {title}" msgid "Manual" msgstr "Eskuz" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "Eskuz edo automatikoki gehitu da?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4466,7 +4467,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Pasahitza ahaztuta?" -#. 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)." +#. 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 "" @@ -4687,11 +4688,6 @@ msgstr "kargatzen" msgid "log in" msgstr "Sartu" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/fi/LC_MESSAGES/volto.po b/packages/volto/locales/fi/LC_MESSAGES/volto.po index f076a929c3..b86fd41e94 100644 --- a/packages/volto/locales/fi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fi/LC_MESSAGES/volto.po @@ -338,6 +338,11 @@ msgstr "Kaikki" msgid "All content" msgstr "Kaikki sisältö" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "Kaikki vaihtoehtoiset URL:t tälle sivustolle" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -362,24 +367,20 @@ msgstr "Kuvaustekstin vihjeen linkkiteksti" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "Vaihtoehtoinen URL-polku (pakollinen)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Vaihtoehtoisen URL-polun pitää alkaa kauttaviivalla" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "Vaihtoehtoinen URL-polku -> kohteen URL-polku (päivämäärä ja luontiaika, käsin luotu kyllä/ei)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1324,12 +1325,12 @@ msgstr "Syötä Google Maps -upotuskoodi" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "Syötä kohteen osoite. Kohteen tulee olla olemassa tai sen tulee olla olemassaoleva vaihtoehtoinen URL-polku kohteelle." #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1424,11 +1425,6 @@ msgstr "Jätä pois tämä päivä" msgid "Excluded from navigation" msgstr "Piilota navigoinnista" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2185,6 +2181,11 @@ msgstr "Hallitse käännöksiä: {title}" msgid "Manual" msgstr "Manuaalinen" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "Manuaalisesti vai automaattisesti lisätty?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4464,7 +4465,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Unohditko salasanasi?" -#. 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)." +#. 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 "" @@ -4685,11 +4686,6 @@ msgstr "ladataan" msgid "log in" msgstr "kirjaudu" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/fr/LC_MESSAGES/volto.po b/packages/volto/locales/fr/LC_MESSAGES/volto.po index 470ec18154..978fad0f51 100644 --- a/packages/volto/locales/fr/LC_MESSAGES/volto.po +++ b/packages/volto/locales/fr/LC_MESSAGES/volto.po @@ -340,6 +340,11 @@ msgstr "Tout" msgid "All content" msgstr "Tout le contenu" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "Toutes les URLs alternatives existantes pour ce site" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -364,24 +369,20 @@ msgstr "Texte du lien de la suggestion de texte alternatif" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "Autre chemin d'URL (obligatoire)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Le chemin d'URL alternatif doit commencer par une barre oblique." +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "Chemin d'URL alternatif → chemin URL cible (date et heure de création, créé manuellement oui/non)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1326,12 +1327,12 @@ msgstr "Saisissez le code intégré de la carte" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "Saisissez le chemin absolu de la cible. La cible doit exister ou être un chemin d'URL alternatif existant vers la cible." #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1426,11 +1427,6 @@ msgstr "Exclure cette occurrence" msgid "Excluded from navigation" msgstr "Exclu de la navigation" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2187,6 +2183,11 @@ msgstr "Gérer les traductions pour {title}" msgid "Manual" msgstr "Manuel" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "Ajouté manuellement ou automatiquement ?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4466,7 +4467,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Mot de passe oublié" -#. 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)." +#. 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 "" @@ -4687,11 +4688,6 @@ msgstr "Chargement" msgid "log in" msgstr "se connecter" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/hi/LC_MESSAGES/volto.po b/packages/volto/locales/hi/LC_MESSAGES/volto.po index bb96907ea6..c563207792 100644 --- a/packages/volto/locales/hi/LC_MESSAGES/volto.po +++ b/packages/volto/locales/hi/LC_MESSAGES/volto.po @@ -333,6 +333,11 @@ msgstr "सभी" msgid "All content" msgstr "सभी कंटेंट" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "इस साइट के लिए सभी मौजूदा वैकल्पिक यूआरएल" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -357,24 +362,20 @@ msgstr "छवि का उद्देश्य वर्णन करें #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "वैकल्पिक URL पथ (आवश्यक)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "वैकल्पिक URL पथ को स्लैश के साथ शुरू करना चाहिए।" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "वैकल्पिक URL पथ → लक्ष्य URL पथ (निर्माण की तारीख और समय, मैन्युअल रूप से बनाया गया है/नहीं)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1319,12 +1320,12 @@ msgstr "नक्शे का एम्बेड कोड दर्ज कर #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "लक्ष्य का पूर्ण रास्ता दर्ज करें। लक्ष्य मौजूद होना चाहिए या लक्ष्य के लिए मौजूदा वैकल्पिक URL पथ होना चाहिए।" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1419,11 +1420,6 @@ msgstr "इस आयोजन को निकालें" msgid "Excluded from navigation" msgstr "नेविगेशन से बाहर छोड़ा गया" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2180,6 +2176,11 @@ msgstr "{title} के लिए अनुवाद प्रबंधित क msgid "Manual" msgstr "मैनुअल" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "मैन्युअल या स्वचालित रूप से जोड़ा गया?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4459,7 +4460,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "पासवर्ड भूल गए?" -#. 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)." +#. 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 "" @@ -4680,11 +4681,6 @@ msgstr "लोड हो रहा है" msgid "log in" msgstr "लॉग इन" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/it/LC_MESSAGES/volto.po b/packages/volto/locales/it/LC_MESSAGES/volto.po index 0b060fe10e..0b261ae65b 100644 --- a/packages/volto/locales/it/LC_MESSAGES/volto.po +++ b/packages/volto/locales/it/LC_MESSAGES/volto.po @@ -333,6 +333,11 @@ msgstr "Tutti" msgid "All content" msgstr "Tutti i contenuti" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "Tutti gli url alternativi per questo sito" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -357,24 +362,20 @@ msgstr "Descrivi lo scopo dell'immagine." #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "Percorso url alternativo (Obbligatorio)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Il percorso url alternativo comincia con uno slash " +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "Percorso url alternativo → percorso url di destinazione (data e ora di creazione, creata manualmente sì/no)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1319,12 +1320,12 @@ msgstr "Inserisci il codice di incorporamento della mappa" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "Inserisci il path assoluto per la destinazione. La destinazione deve già esistere o essere un url alternativo per la destinazione." #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1419,11 +1420,6 @@ msgstr "Escludi questa data" msgid "Excluded from navigation" msgstr "Escluso dalla navigazione" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2180,6 +2176,11 @@ msgstr "Gestisci le traduzioni per {title}" msgid "Manual" msgstr "Manuale" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "Aggiunto manualmente o automaticamente?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4459,7 +4460,7 @@ msgstr "" msgid "box_forgot_password_option" 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)." +#. 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 "" @@ -4680,11 +4681,6 @@ msgstr "caricamento" msgid "log in" msgstr "log in" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/ja/LC_MESSAGES/volto.po b/packages/volto/locales/ja/LC_MESSAGES/volto.po index a26de08d20..163ba7fc3a 100644 --- a/packages/volto/locales/ja/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ja/LC_MESSAGES/volto.po @@ -338,6 +338,11 @@ msgstr "すべて" msgid "All content" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -362,22 +367,18 @@ msgstr "" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" +msgid "Alternative url path (Required)" msgstr "" -#. Default: "Alternative URL path must start with a slash." +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" - -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" msgstr "" #. Default: "Applied to subfolders" @@ -1324,12 +1325,12 @@ msgstr "地図のEmbedコードを入力" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." msgstr "" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1424,11 +1425,6 @@ msgstr "この繰り返しを削除" msgid "Excluded from navigation" msgstr "ナビゲーションから除く" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2185,6 +2181,11 @@ msgstr "{title}の翻訳を管理する" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4464,7 +4465,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "パスワードを忘れた?" -#. 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)." +#. 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 "" @@ -4685,11 +4686,6 @@ msgstr "読み込み中" msgid "log in" msgstr "ログイン" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/nl/LC_MESSAGES/volto.po b/packages/volto/locales/nl/LC_MESSAGES/volto.po index 646e569555..3454e8e978 100644 --- a/packages/volto/locales/nl/LC_MESSAGES/volto.po +++ b/packages/volto/locales/nl/LC_MESSAGES/volto.po @@ -337,6 +337,11 @@ msgstr "Alles" msgid "All content" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -361,22 +366,18 @@ msgstr "" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" +msgid "Alternative url path (Required)" msgstr "" -#. Default: "Alternative URL path must start with a slash." +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" - -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" msgstr "" #. Default: "Applied to subfolders" @@ -1323,12 +1324,12 @@ msgstr "" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." msgstr "" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1423,11 +1424,6 @@ msgstr "" msgid "Excluded from navigation" msgstr "" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2184,6 +2180,11 @@ msgstr "" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4463,7 +4464,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "" -#. 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)." +#. 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 "" @@ -4684,11 +4685,6 @@ msgstr "" msgid "log in" msgstr "" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/pt/LC_MESSAGES/volto.po b/packages/volto/locales/pt/LC_MESSAGES/volto.po index 45c8dda0cf..7d1eb149b5 100644 --- a/packages/volto/locales/pt/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt/LC_MESSAGES/volto.po @@ -338,6 +338,11 @@ msgstr "Tudo" msgid "All content" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -362,22 +367,18 @@ msgstr "" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" +msgid "Alternative url path (Required)" msgstr "" -#. Default: "Alternative URL path must start with a slash." +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" - -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" msgstr "" #. Default: "Applied to subfolders" @@ -1324,12 +1325,12 @@ msgstr "" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." msgstr "" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1424,11 +1425,6 @@ msgstr "" msgid "Excluded from navigation" msgstr "" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2185,6 +2181,11 @@ msgstr "" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4464,7 +4465,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "box_forgot_password_option" -#. 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)." +#. 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 "" @@ -4685,11 +4686,6 @@ msgstr "" msgid "log in" msgstr "" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po index a0b6d5c904..efb2d60a2b 100644 --- a/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po +++ b/packages/volto/locales/pt_BR/LC_MESSAGES/volto.po @@ -339,6 +339,11 @@ msgstr "Todos" msgid "All content" msgstr "Todo o conteúdo" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "Todas as URLs alternativas para este site" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -363,24 +368,20 @@ msgstr "Descreve o propósito da imagem" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "Caminho da URL alternativa (Obrigatório)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "Caminho da URL alternativa deve iniciar com uma barra." +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "Caminho da URL alternativa → caminho da URL de destino (data e hora da criação, criado manualmente sim/não)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1325,12 +1326,12 @@ msgstr "Informe o código Embed do mapa" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "Informe o caminho absoluto do destino. O destino deve existir ou ser um caminho da URL alternativa existente para o destino." #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1425,11 +1426,6 @@ msgstr "Exclua essa ocorrência" msgid "Excluded from navigation" msgstr "Excluído da navegação" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2186,6 +2182,11 @@ msgstr "Gerenciar traduções para {title}" msgid "Manual" msgstr "Manual" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "Adicionado manual ou automaticamente?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4465,7 +4466,7 @@ msgstr "Erro no campo de blocos {errorField}" msgid "box_forgot_password_option" msgstr "Esqueceu sua senha?" -#. 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)." +#. 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 "" @@ -4686,11 +4687,6 @@ msgstr "Carregando" msgid "log in" msgstr "acessar" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/ro/LC_MESSAGES/volto.po b/packages/volto/locales/ro/LC_MESSAGES/volto.po index dc6d68c8cd..ba0f688b6c 100644 --- a/packages/volto/locales/ro/LC_MESSAGES/volto.po +++ b/packages/volto/locales/ro/LC_MESSAGES/volto.po @@ -333,6 +333,11 @@ msgstr "Toate" msgid "All content" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -357,22 +362,18 @@ msgstr "Link sugestie text alternativ" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" +msgid "Alternative url path (Required)" msgstr "" -#. Default: "Alternative URL path must start with a slash." +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" - -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" msgstr "" #. Default: "Applied to subfolders" @@ -1319,12 +1320,12 @@ msgstr "Introduceți codul de integrare a hărții" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." msgstr "" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1419,11 +1420,6 @@ msgstr "Excludeți această apariție" msgid "Excluded from navigation" msgstr "Exclus din navigare" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2180,6 +2176,11 @@ msgstr "Gestionați traducerile pentru {title}" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4459,7 +4460,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "Ați uitat parola?" -#. 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)." +#. 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 "" @@ -4680,11 +4681,6 @@ msgstr "încărcare" msgid "log in" msgstr "autentificați-vă" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/volto.pot b/packages/volto/locales/volto.pot index 77b45c1857..7e435a9074 100644 --- a/packages/volto/locales/volto.pot +++ b/packages/volto/locales/volto.pot @@ -1,7 +1,7 @@ msgid "" msgstr "" "Project-Id-Version: Plone\n" -"POT-Creation-Date: 2024-10-21T16:20:47.294Z\n" +"POT-Creation-Date: 2024-10-21T16:31:16.503Z\n" "Last-Translator: Plone i18n \n" "Language-Team: Plone i18n \n" "Content-Type: text/plain; charset=utf-8\n" @@ -335,6 +335,11 @@ msgstr "" msgid "All content" msgstr "" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -359,22 +364,18 @@ msgstr "" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" +msgid "Alternative url path (Required)" msgstr "" -#. Default: "Alternative URL path must start with a slash." +#. Default: "Alternative url path must start with a slash." +#: components/manage/Aliases/Aliases #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." +msgid "Alternative url path must start with a slash." msgstr "" #. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" - -#. Default: "Alternative url path must start with a slash." -#: components/manage/Aliases/Aliases -msgid "Alternative url path must start with a slash." +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" msgstr "" #. Default: "Applied to subfolders" @@ -1321,12 +1322,12 @@ msgstr "" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." msgstr "" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1421,11 +1422,6 @@ msgstr "" msgid "Excluded from navigation" msgstr "" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2182,6 +2178,11 @@ msgstr "" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4461,7 +4462,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "" -#. 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)." +#. 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 "" @@ -4682,11 +4683,6 @@ msgstr "" msgid "log in" msgstr "" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po index 923df77305..293d70df17 100644 --- a/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po +++ b/packages/volto/locales/zh_CN/LC_MESSAGES/volto.po @@ -339,6 +339,11 @@ msgstr "所有" msgid "All content" msgstr "所有内容" +#. Default: "Existing alternative URLs for this site" +#: components/manage/Controlpanels/Aliases +msgid "All existing alternative urls for this site" +msgstr "此网站所有的替代 urls" + #. Default: "Alphabetically" #: components/theme/Search/Search msgid "Alphabetically" @@ -363,24 +368,20 @@ msgstr "替换文本提示链接文本" #. Default: "Alternative URL path (Required)" #: components/manage/Controlpanels/Aliases -msgid "Alternative URL path (Required)" -msgstr "" - -#. Default: "Alternative URL path must start with a slash." -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path must start with a slash." -msgstr "" - -#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -#: components/manage/Controlpanels/Aliases -msgid "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" -msgstr "" +msgid "Alternative url path (Required)" +msgstr "替代 URL 路径(必选)" #. Default: "Alternative url path must start with a slash." #: components/manage/Aliases/Aliases +#: components/manage/Controlpanels/Aliases msgid "Alternative url path must start with a slash." msgstr "替代 URL 路径必须以斜杠开头。" +#. Default: "Alternative URL path → target URL path (date and time of creation, manually created yes/no)" +#: components/manage/Controlpanels/Aliases +msgid "Alternative url path → target url path (date and time of creation, manually created yes/no)" +msgstr "替代 URL 路径 → 目标 URL 路径(创建的日期和时间,手动创建 yes/no)" + #. Default: "Applied to subfolders" #: components/manage/Rules/Rules msgid "Applied to subfolders" @@ -1325,12 +1326,12 @@ msgstr "输入 map 嵌入代码" #. Default: "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path of the target. Target must exist or be an existing alternative URL path to the target." -msgstr "" +msgid "Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target." +msgstr "输入目标的绝对路径。目标必须存在,或者是指向目标的现有可选的url路径。" #. Default: "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." #: components/manage/Controlpanels/Aliases -msgid "Enter the absolute path where the alternative URL should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." +msgid "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only URLs that result in a 404 not found page will result in a redirect occurring." msgstr "" #. Default: "Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring." @@ -1425,11 +1426,6 @@ msgstr "排除这个事件" msgid "Excluded from navigation" msgstr "从导航中排除" -#. Default: "Existing alternative URLs for this site" -#: components/manage/Controlpanels/Aliases -msgid "Existing alternative URLs for this site" -msgstr "" - #. Default: "Existing alternative urls for this item" #: components/manage/Aliases/Aliases msgid "Existing alternative urls for this item" @@ -2186,6 +2182,11 @@ msgstr "管理{title}的翻译" msgid "Manual" msgstr "" +#. Default: "Manually or automatically added?" +#: components/manage/Controlpanels/Aliases +msgid "Manually or automatically added?" +msgstr "手动添加还是自动添加?" + #. Default: "Many relations found. Please search." #: helpers/MessageLabels/MessageLabels msgid "Many relations found. Please search." @@ -4465,7 +4466,7 @@ msgstr "" msgid "box_forgot_password_option" msgstr "忘记了密码?" -#. 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)." +#. 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 "" @@ -4686,11 +4687,6 @@ msgstr "" msgid "log in" msgstr "登录" -#. Default: "Manually or automatically added?" -#: components/manage/Controlpanels/Aliases -msgid "manualOrAuto" -msgstr "" - #. Default: "Maps" #: config/Blocks msgid "maps" diff --git a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx index b6225961b2..c5cf32398d 100644 --- a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx +++ b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx @@ -66,7 +66,7 @@ const messages = defineMessages({ defaultMessage: 'Filter by path', }, manualOrAuto: { - id: 'manualOrAuto', + id: 'Manually or automatically added?', defaultMessage: 'Manually or automatically added?', }, createdAfter: { @@ -78,11 +78,11 @@ const messages = defineMessages({ defaultMessage: 'Created before', }, altUrlPathTitle: { - id: 'Alternative URL path (Required)', + id: 'Alternative url path (Required)', defaultMessage: 'Alternative URL path (Required)', }, altUrlError: { - id: 'Alternative URL path must start with a slash.', + id: 'Alternative url path must start with a slash.', defaultMessage: 'Alternative URL path must start with a slash.', }, targetUrlPathTitle: { @@ -292,7 +292,7 @@ const Aliases = (props) => { title={intl.formatMessage(messages.altUrlPathTitle)} description={ } @@ -315,7 +315,7 @@ const Aliases = (props) => { title={intl.formatMessage(messages.targetUrlPathTitle)} description={ } @@ -389,7 +389,7 @@ const Aliases = (props) => {

@@ -428,7 +428,7 @@ const Aliases = (props) => {

@@ -499,7 +499,7 @@ const Aliases = (props) => {
From 3baed5208633fc97c12e8a656ac22304d716a1d0 Mon Sep 17 00:00:00 2001 From: David Glick Date: Mon, 21 Oct 2024 09:39:00 -0700 Subject: [PATCH 09/12] update test snapshot --- .../__snapshots__/Aliases.test.jsx.snap | 730 +++++++++--------- 1 file changed, 365 insertions(+), 365 deletions(-) diff --git a/packages/volto/src/components/manage/Controlpanels/__snapshots__/Aliases.test.jsx.snap b/packages/volto/src/components/manage/Controlpanels/__snapshots__/Aliases.test.jsx.snap index 3342eef8ac..1c87fdc63f 100644 --- a/packages/volto/src/components/manage/Controlpanels/__snapshots__/Aliases.test.jsx.snap +++ b/packages/volto/src/components/manage/Controlpanels/__snapshots__/Aliases.test.jsx.snap @@ -19,415 +19,415 @@ exports[`Aliases renders an aliases control component 1`] = ` > URL Management - -
-
- Alternative url path (Required) -
-

- Enter the absolute path where the alternative url should exist. The path must start with '/'. Only urls that result in a 404 not found page will result in a redirect occurring. -

-
-
- -
-
-
- Target Path (Required) -
-

- Enter the absolute path of the target. Target must exist or be an existing alternative url path to the target. -

-
-
- -
-
- -
- -
+ + +
-
- All existing alternative urls for this site -
-
- Filter by prefix + Existing alternative URLs for this site
- +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
-
-
- Manually or automatically added? -
-
- - +
+
+
+
+
+ +
+
+
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
-
-
- - -
-
-
+ class="field" + />
+
-
-
-
- -
- Alternative url path → target url path (date and time of creation, manually created yes/no) + Filter +
-
+ +
+
+ Alternative URL path → target URL path (date and time of creation, manually created yes/no) +
+
+ - - + Select + + + + + + + + + - - - - - - + - - - - - - +   → + /events + + - - - - - - + + - + + - + + - + + + + - + + - - -
+ Alias + + Date + + Manual +
- - Select - - Alias - - Target - - Date - - Manual -
- -
- -
-
-

- /eventsgreatalias -

-
-

- /events -

-
-

- 2022-05-17T09:38:19+00:00 -

-
-

- true -

-
- -
- -
-
+
+
-

- /eventsincredible -

-
+ + /eventsgreatalias +
+   → + /events +
+ + + true +
+
-

- 2022-05-17T09:38:35+00:00 -

-
+ + /eventsincredible +
+   → + /events +
+
+ 5/17/2022 + + + + true + + + + +
-
- + +
From 428dee401f1450646628ee95c9c5f251f6dd8709 Mon Sep 17 00:00:00 2001 From: David Glick Date: Mon, 21 Oct 2024 09:55:08 -0700 Subject: [PATCH 10/12] update cypress test --- .../tests/core/controlpanels/aliasesControlPanel.js | 2 ++ .../volto/src/components/manage/Controlpanels/Aliases.jsx | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/volto/cypress/tests/core/controlpanels/aliasesControlPanel.js b/packages/volto/cypress/tests/core/controlpanels/aliasesControlPanel.js index d944c24c3c..643deb064e 100644 --- a/packages/volto/cypress/tests/core/controlpanels/aliasesControlPanel.js +++ b/packages/volto/cypress/tests/core/controlpanels/aliasesControlPanel.js @@ -12,8 +12,10 @@ describe('Add a new alias from control panel interface', () => { }); it('adds a new alias', () => { cy.visit('/controlpanel/aliases'); + cy.get('#add-alt-url').click(); cy.get('#alternative-url-input').type('/alturl'); cy.get('#target-url-input').type('/my-page'); cy.get('#submit-alias').click(); + cy.get('.toast-inner-content').contains('Alias has been added'); }); }); diff --git a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx index c5cf32398d..d1909ed07c 100644 --- a/packages/volto/src/components/manage/Controlpanels/Aliases.jsx +++ b/packages/volto/src/components/manage/Controlpanels/Aliases.jsx @@ -270,7 +270,11 @@ const Aliases = (props) => { open={addModalOpen} onClose={() => setAddModalOpen(false)} trigger={ -