@mattisvensson/strapi-plugin-webatlas 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/admin/{ContentBox-D4PGQ8eh.js → ContentBox-CHwpYMiB.js} +1 -1
- package/dist/admin/{ContentBox-KyQN2KGV.mjs → ContentBox-CYnyB_5a.mjs} +1 -1
- package/dist/admin/{RoutePicker-CgndSXoF.mjs → RoutePicker-43YnYCpH.mjs} +1 -1
- package/dist/admin/{RoutePicker-CwoMMhf_.js → RoutePicker-D9zf-VdN.js} +1 -1
- package/dist/admin/{de-Cl0vM1wA.js → de-DolV3m7M.js} +64 -1
- package/dist/admin/{de-DWs5ckOd.mjs → de-Dt3jjL3h.mjs} +64 -1
- package/dist/admin/{en-CyhISGZi.mjs → en-CCRmKJEV.mjs} +63 -0
- package/dist/admin/{en-DSmtmPYk.js → en-jWdO5RMZ.js} +63 -0
- package/dist/admin/{index-uOC1Clyv.js → index-7iO5UsYI.js} +2 -2
- package/dist/admin/{index-Bv5Ri-ri.mjs → index-B2k8Pikg.mjs} +2 -2
- package/dist/admin/{index-Ctm4TBT5.mjs → index-CK4JyItR.mjs} +63 -8
- package/dist/admin/{index-BKhrfzjO.mjs → index-CMuhLgfi.mjs} +16 -11
- package/dist/admin/{index-BxGPKxr_.js → index-Ciem6YTr.js} +2 -2
- package/dist/admin/{index-FvaXwOH0.mjs → index-DGYmrx3f.mjs} +2 -2
- package/dist/admin/index-Ddnt9W-v.mjs +1025 -0
- package/dist/admin/{index-JBUU7dE6.js → index-DfG_hSMk.js} +60 -5
- package/dist/admin/{index-DTrsl_uN.js → index-DmOWQK6g.js} +12 -7
- package/dist/admin/index-dB79zyxi.js +1025 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/CMEditViewAside/NewPathInfo.d.ts +5 -0
- package/dist/admin/src/components/CMEditViewAside/OverrideCheckbox.d.ts +7 -0
- package/dist/admin/src/components/CMEditViewAside/Panel.d.ts +5 -0
- package/dist/admin/src/components/CMEditViewAside/PathInput.d.ts +12 -0
- package/dist/admin/src/components/CMEditViewAside/RouteStructure.d.ts +3 -0
- package/dist/admin/src/components/CMEditViewAside/UidPathDisplay.d.ts +4 -0
- package/dist/admin/src/components/CMEditViewAside/index.d.ts +3 -0
- package/dist/admin/src/components/Initializer.d.ts +5 -0
- package/dist/admin/src/components/PathInfo.d.ts +8 -0
- package/dist/admin/src/components/PluginIcon.d.ts +3 -0
- package/dist/admin/src/components/Tooltip.d.ts +3 -0
- package/dist/admin/src/components/UI/Center.d.ts +4 -0
- package/dist/admin/src/components/UI/EmptyBox.d.ts +5 -0
- package/dist/admin/src/components/UI/FullLoader.d.ts +3 -0
- package/dist/admin/src/components/UI/WarningBox.d.ts +4 -0
- package/dist/admin/src/components/UI/index.d.ts +5 -0
- package/dist/admin/src/components/customFields/RoutePicker.d.ts +25 -0
- package/dist/admin/src/components/modals/Delete.d.ts +7 -0
- package/dist/admin/src/components/modals/DiscardChanges.d.ts +3 -0
- package/dist/admin/src/components/modals/NavCreate.d.ts +1 -0
- package/dist/admin/src/components/modals/NavEdit.d.ts +7 -0
- package/dist/admin/src/components/modals/NavModal.d.ts +16 -0
- package/dist/admin/src/components/modals/NavOverview.d.ts +10 -0
- package/dist/admin/src/components/modals/SaveConfirm.d.ts +8 -0
- package/dist/admin/src/components/modals/externalItem/index.d.ts +15 -0
- package/dist/admin/src/components/modals/index.d.ts +14 -0
- package/dist/admin/src/components/modals/internalItem/EntrySelection.d.ts +17 -0
- package/dist/admin/src/components/modals/internalItem/ItemDetails.d.ts +13 -0
- package/dist/admin/src/components/modals/internalItem/MultiItemReview.d.ts +23 -0
- package/dist/admin/src/components/modals/internalItem/internalItemCreate.d.ts +2 -0
- package/dist/admin/src/components/modals/internalItem/internalItemEdit.d.ts +2 -0
- package/dist/admin/src/components/modals/useModalSharedLogic.d.ts +2 -0
- package/dist/admin/src/components/modals/withModalSharedLogic.d.ts +3 -0
- package/dist/admin/src/components/modals/wrapperItem/index.d.ts +15 -0
- package/dist/admin/src/contexts/index.d.ts +17 -0
- package/dist/admin/src/hooks/index.d.ts +7 -0
- package/dist/admin/src/hooks/useAllContentTypes.d.ts +7 -0
- package/dist/admin/src/hooks/useAllEntities.d.ts +7 -0
- package/dist/admin/src/hooks/useApi.d.ts +23 -0
- package/dist/admin/src/hooks/useEntrySearch.d.ts +13 -0
- package/dist/admin/src/hooks/useErrorMessage.d.ts +8 -0
- package/dist/admin/src/hooks/usePluginConfig.d.ts +9 -0
- package/dist/admin/src/pages/Navigation/Page.d.ts +2 -0
- package/dist/admin/src/pages/Navigation/PageWrapper.d.ts +8 -0
- package/dist/admin/src/pages/Navigation/RouteItem.d.ts +2 -0
- package/dist/admin/src/pages/Navigation/RouteItemBadge.d.ts +4 -0
- package/dist/admin/src/pages/Navigation/RouteItemIcon.d.ts +5 -0
- package/dist/admin/src/pages/Navigation/RouteItemMenu.d.ts +12 -0
- package/dist/admin/src/pages/Navigation/RouteItemStatus.d.ts +5 -0
- package/dist/admin/src/pages/Navigation/SortableRouteItem.d.ts +2 -0
- package/dist/admin/src/pages/Navigation/UnsavedChangesBlocker.d.ts +8 -0
- package/dist/admin/src/pages/Navigation/index.d.ts +2 -0
- package/dist/admin/src/pages/Navigation/useCollapsedItems.d.ts +13 -0
- package/dist/admin/src/pages/Paths/HealthSummary.d.ts +8 -0
- package/dist/admin/src/pages/Paths/IssueBadges.d.ts +4 -0
- package/dist/admin/src/pages/Paths/PageWrapper.d.ts +5 -0
- package/dist/admin/src/pages/Paths/PathActionsMenu.d.ts +7 -0
- package/dist/admin/src/pages/Paths/PathFilters.d.ts +14 -0
- package/dist/admin/src/pages/Paths/PathTable.d.ts +18 -0
- package/dist/admin/src/pages/Paths/SearchInput.d.ts +5 -0
- package/dist/admin/src/pages/Paths/TableHeader.d.ts +6 -0
- package/dist/admin/src/pages/Paths/TableRow.d.ts +9 -0
- package/dist/admin/src/pages/Paths/compareBy.d.ts +3 -0
- package/dist/admin/src/pages/Paths/hasPathDeviation.d.ts +2 -0
- package/dist/admin/src/pages/Paths/healthMessages.d.ts +11 -0
- package/dist/admin/src/pages/Paths/index.d.ts +2 -0
- package/dist/admin/src/pages/Settings/ContentBox.d.ts +4 -0
- package/dist/admin/src/pages/Settings/General/ContentTypeAccordion.d.ts +9 -0
- package/dist/admin/src/pages/Settings/General/index.d.ts +2 -0
- package/dist/admin/src/pages/Settings/Navigation/index.d.ts +2 -0
- package/dist/admin/src/pages/Settings/PageWrapper.d.ts +7 -0
- package/dist/admin/src/pages/Settings/SettingTitle.d.ts +3 -0
- package/dist/admin/src/pages/Settings/index.d.ts +4 -0
- package/dist/admin/src/permissions.d.ts +51 -0
- package/dist/admin/src/types/index.d.ts +4 -0
- package/dist/admin/src/types/modal.d.ts +60 -0
- package/dist/admin/src/types/navigation.d.ts +24 -0
- package/dist/admin/src/types/panel.d.ts +50 -0
- package/dist/admin/src/types/route.d.ts +3 -0
- package/dist/admin/src/utils/buildBreadcrumbString.d.ts +16 -0
- package/dist/admin/src/utils/createTempNavItemObject.d.ts +22 -0
- package/dist/admin/src/utils/debounce.d.ts +1 -0
- package/dist/admin/src/utils/dnd.d.ts +13 -0
- package/dist/admin/src/utils/duplicateCheck.d.ts +19 -0
- package/dist/admin/src/utils/findParentNavItem.d.ts +13 -0
- package/dist/admin/src/utils/getRouteSourceFields.d.ts +2 -0
- package/dist/admin/src/utils/getTranslation.d.ts +2 -0
- package/dist/admin/src/utils/index.d.ts +11 -0
- package/dist/admin/src/utils/isAbortError.d.ts +5 -0
- package/dist/admin/src/utils/navTree.d.ts +39 -0
- package/dist/admin/src/utils/syncNavItemPaths.d.ts +12 -0
- package/dist/admin/src/utils/typeChecks.d.ts +3 -0
- package/dist/server/index.js +270 -2
- package/dist/server/index.mjs +270 -2
- package/dist/server/src/bootstrap/documentMiddleware.d.ts +18 -0
- package/dist/server/src/bootstrap/index.d.ts +5 -0
- package/dist/server/src/bootstrap/permissions.d.ts +2 -0
- package/dist/server/src/bootstrap/syncConfig.d.ts +3 -0
- package/dist/server/src/bootstrap/webatlasMiddleware.d.ts +2 -0
- package/dist/server/src/bootstrap.d.ts +5 -0
- package/dist/server/src/config/index.d.ts +8 -0
- package/dist/server/src/content-types/index.d.ts +208 -0
- package/dist/server/src/content-types/navigation/index.d.ts +56 -0
- package/dist/server/src/content-types/navigation/schema.d.ts +54 -0
- package/dist/server/src/content-types/navitem/index.d.ts +51 -0
- package/dist/server/src/content-types/navitem/schema.d.ts +49 -0
- package/dist/server/src/content-types/route/index.d.ts +101 -0
- package/dist/server/src/content-types/route/schema.d.ts +99 -0
- package/dist/server/src/controllers/admin.d.ts +19 -0
- package/dist/server/src/controllers/client.d.ts +8 -0
- package/dist/server/src/controllers/index.d.ts +27 -0
- package/dist/server/src/destroy.d.ts +5 -0
- package/dist/server/src/index.d.ts +15 -5
- package/dist/server/src/middlewares/addWebatlasField.d.ts +10 -0
- package/dist/server/src/middlewares/enrichRoutePicker.d.ts +10 -0
- package/dist/server/src/middlewares/index.d.ts +9 -0
- package/dist/server/src/migrations/001-canonical-path.d.ts +7 -0
- package/dist/server/src/migrations/002-webatlas-json-field.d.ts +7 -0
- package/dist/server/src/migrations/003-route-source-field.d.ts +7 -0
- package/dist/server/src/migrations/004-navigation-max-depth.d.ts +7 -0
- package/dist/server/src/migrations/index.d.ts +3 -0
- package/dist/server/src/policies/has-permissions.d.ts +2 -0
- package/dist/server/src/policies/index.d.ts +4 -0
- package/dist/server/src/register.d.ts +5 -0
- package/dist/server/src/routes/admin.d.ts +17 -0
- package/dist/server/src/routes/client.d.ts +12 -0
- package/dist/server/src/routes/index.d.ts +30 -0
- package/dist/server/src/services/admin.d.ts +33 -0
- package/dist/server/src/services/client.d.ts +48 -0
- package/dist/server/src/services/health.d.ts +5 -0
- package/dist/server/src/services/index.d.ts +83 -0
- package/dist/server/src/utils/addWebatlasBreadcrumb.d.ts +14 -0
- package/dist/server/src/utils/assertDescendantPathsAllowed.d.ts +19 -0
- package/dist/server/src/utils/assertPathAllowed.d.ts +2 -0
- package/dist/server/src/utils/buildCanonicalPath.d.ts +1 -0
- package/dist/server/src/utils/buildNavigationPath.d.ts +5 -0
- package/dist/server/src/utils/buildStructuredNavigation.d.ts +12 -0
- package/dist/server/src/utils/cascadePathUpdates.d.ts +6 -0
- package/dist/server/src/utils/cleanRootKeys.d.ts +1 -0
- package/dist/server/src/utils/duplicateCheck.d.ts +1 -0
- package/dist/server/src/utils/enrichRoutePickerFields.d.ts +7 -0
- package/dist/server/src/utils/enrichWebatlasData.d.ts +6 -0
- package/dist/server/src/utils/extractRouteAndItems.d.ts +32 -0
- package/dist/server/src/utils/getDocumentStatuses.d.ts +12 -0
- package/dist/server/src/utils/getNonInternalRouteIds.d.ts +1 -0
- package/dist/server/src/utils/getPublishedDocumentIds.d.ts +11 -0
- package/dist/server/src/utils/getRouteAncestors.d.ts +1 -0
- package/dist/server/src/utils/getRouteDescendants.d.ts +1 -0
- package/dist/server/src/utils/health/checks.d.ts +48 -0
- package/dist/server/src/utils/index.d.ts +29 -0
- package/dist/server/src/utils/isBlacklistedPath.d.ts +1 -0
- package/dist/server/src/utils/navItemHandler.d.ts +5 -0
- package/dist/server/src/utils/navigationItemStructure.d.ts +27 -0
- package/dist/server/src/utils/normalizeRouteBlacklist.d.ts +5 -0
- package/dist/server/src/utils/pluginHelpers.d.ts +4 -0
- package/dist/server/src/utils/populateDeep.d.ts +4 -0
- package/dist/server/src/utils/reduceDepthOfOrphanedItems.d.ts +2 -0
- package/dist/server/src/utils/removeUnpublishedNavItems.d.ts +7 -0
- package/dist/server/src/utils/removeWaFields.d.ts +1 -0
- package/dist/server/src/utils/routeHandler.d.ts +5 -0
- package/dist/server/src/utils/validateRouteDependencies.d.ts +4 -0
- package/package.json +5 -5
- package/dist/admin/index-D2O7sLKs.mjs +0 -249
- package/dist/admin/index-jOCO4_-k.js +0 -249
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const jsxRuntime = require("react/jsx-runtime");
|
|
3
3
|
const designSystem = require("@strapi/design-system");
|
|
4
4
|
const admin = require("@strapi/strapi/admin");
|
|
5
|
-
const index = require("./index-
|
|
5
|
+
const index = require("./index-DmOWQK6g.js");
|
|
6
6
|
const reactIntl = require("react-intl");
|
|
7
7
|
const icons = require("@strapi/icons");
|
|
8
8
|
function PageWrapper({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Button, Flex, Typography, Box } from "@strapi/design-system";
|
|
3
3
|
import { Page, Layouts } from "@strapi/strapi/admin";
|
|
4
|
-
import { f as PLUGIN_NAME, g as getTranslation } from "./index-
|
|
4
|
+
import { f as PLUGIN_NAME, g as getTranslation } from "./index-CMuhLgfi.mjs";
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { Check } from "@strapi/icons";
|
|
7
7
|
function PageWrapper({
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef, useState, useEffect } from "react";
|
|
3
3
|
import { Field, Combobox, ComboboxOption, Box } from "@strapi/design-system";
|
|
4
4
|
import { ExternalLink, Link } from "@strapi/icons";
|
|
5
|
-
import { u as useApi } from "./index-
|
|
5
|
+
import { u as useApi } from "./index-CMuhLgfi.mjs";
|
|
6
6
|
import "@strapi/strapi/admin";
|
|
7
7
|
const Input = forwardRef((props, ref) => {
|
|
8
8
|
const { attribute, disabled, placeholder, label, name, onChange, required, value, hint } = props;
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const designSystem = require("@strapi/design-system");
|
|
6
6
|
const icons = require("@strapi/icons");
|
|
7
|
-
const index = require("./index-
|
|
7
|
+
const index = require("./index-DmOWQK6g.js");
|
|
8
8
|
require("@strapi/strapi/admin");
|
|
9
9
|
const Input = React.forwardRef((props, ref) => {
|
|
10
10
|
const { attribute, disabled, placeholder, label, name, onChange, required, value, hint } = props;
|
|
@@ -28,11 +28,71 @@ const de = {
|
|
|
28
28
|
"webatlas.navigation.page.navItem.resetEdits": "Bearbeitung zurücksetzen",
|
|
29
29
|
"webatlas.navigation.page.navItem.draftHint": "Erscheint erst im Frontend, wenn die Seite veröffentlicht ist.",
|
|
30
30
|
"webatlas.navigation.page.navItem.modifiedHint": "Die letzten Änderungen der Seite sind noch nicht veröffentlicht.",
|
|
31
|
-
"webatlas.paths.page.title": "
|
|
31
|
+
"webatlas.paths.page.title": "Pfade",
|
|
32
32
|
"webatlas.paths.page.subtitle": "Übersicht aller vorhandenen Pfade",
|
|
33
|
+
"webatlas.paths.page.total": "{count, plural, one {# Pfad} other {# Pfade}} insgesamt",
|
|
34
|
+
"webatlas.paths.page.matches": "{count, plural, one {# Treffer} other {# Treffer}}",
|
|
33
35
|
"webatlas.paths.page.emptyPaths": "Es wurden keine Pfade gefunden",
|
|
36
|
+
"webatlas.paths.page.emptyFiltered": "Keine Pfade entsprechen der aktuellen Suche oder den Filtern",
|
|
37
|
+
"webatlas.paths.page.clearSearch": "Suche leeren",
|
|
38
|
+
"webatlas.paths.page.action.openLink": "Link öffnen",
|
|
39
|
+
"webatlas.paths.page.action.copyPath": "Pfad kopieren",
|
|
40
|
+
"webatlas.paths.page.action.showInNavigation": "In Navigation anzeigen",
|
|
41
|
+
"webatlas.paths.page.actions": "Aktionen für den Pfad",
|
|
42
|
+
"webatlas.paths.page.action.showInNamedNavigation": "In Navigation „{name}“ anzeigen",
|
|
34
43
|
"webatlas.paths.page.column.type": "Typ",
|
|
44
|
+
"webatlas.paths.page.column.contentType": "Inhaltstyp",
|
|
45
|
+
"webatlas.paths.page.canonicalPathHint": "Kanonischer Pfad: {path}",
|
|
46
|
+
"webatlas.paths.page.deviation": "Abweichend",
|
|
47
|
+
"webatlas.paths.page.deviation.description": "Der Pfad weicht von der Inhaltsstruktur ab, durch die Position in der Navigation oder einen manuellen Override",
|
|
35
48
|
"webatlas.paths.page.searchPlaceholder": "Pfade suchen",
|
|
49
|
+
"webatlas.paths.page.filter.contentType": "Inhaltstyp",
|
|
50
|
+
"webatlas.paths.page.filter.type": "Typ",
|
|
51
|
+
"webatlas.paths.page.filter.deviation.true": "Abweichend",
|
|
52
|
+
"webatlas.paths.page.filter.deviation.false": "Nicht abweichend",
|
|
53
|
+
"webatlas.paths.page.filter.deviation.placeholder": "Abweichung",
|
|
54
|
+
"webatlas.paths.page.filter.navigation.true": "In Navigation",
|
|
55
|
+
"webatlas.paths.page.filter.navigation.false": "Nicht in Navigation",
|
|
56
|
+
"webatlas.paths.page.filter.navigation.placeholder": "Navigation",
|
|
57
|
+
"webatlas.paths.page.filter.clear": "Filter entfernen",
|
|
58
|
+
"webatlas.paths.page.filter.reset": "Filter zurücksetzen",
|
|
59
|
+
"webatlas.paths.page.health.check.pathConflict": "Pfad-Konflikt",
|
|
60
|
+
"webatlas.paths.page.health.check.pathConflict.description": "Mehrere Einträge verwenden denselben Pfad. Das Frontend liefert dann einen beliebigen davon aus.",
|
|
61
|
+
"webatlas.paths.page.health.check.orphanedRoute": "Verwaist",
|
|
62
|
+
"webatlas.paths.page.health.check.orphanedRoute.description": "Der verknüpfte Eintrag oder Inhaltstyp existiert nicht mehr oder ist in den Plugin-Einstellungen deaktiviert.",
|
|
63
|
+
"webatlas.paths.page.health.check.blacklistedPath": "Gesperrter Pfad",
|
|
64
|
+
"webatlas.paths.page.health.check.blacklistedPath.description": "Der Pfad ist durch die Blacklist gesperrt. Sie gilt nur für neue Pfade, bestehende bleiben erreichbar.",
|
|
65
|
+
"webatlas.paths.page.health.check.invalidExternalUrl": "Ungültige URL",
|
|
66
|
+
"webatlas.paths.page.health.check.invalidExternalUrl.description": "Der externe Link ist keine gültige URL (http, https, mailto oder tel).",
|
|
67
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation": "Unveröffentlicht",
|
|
68
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation.description": "Der Eintrag ist nicht veröffentlicht und fehlt deshalb in der Navigation des Frontends.",
|
|
69
|
+
"webatlas.paths.page.health.check.tooDeepItem": "Zu tief",
|
|
70
|
+
"webatlas.paths.page.health.check.tooDeepItem.description": "Der Navigationseintrag liegt tiefer, als die maximale Tiefe seiner Navigation erlaubt.",
|
|
71
|
+
"webatlas.paths.page.health.check.notInNavigation": "Nicht in Navigation",
|
|
72
|
+
"webatlas.paths.page.health.check.notInNavigation.description": "Die Seite ist in keiner Navigation verlinkt.",
|
|
73
|
+
"webatlas.paths.page.health.check.emptyWrapper": "Leerer Wrapper",
|
|
74
|
+
"webatlas.paths.page.health.check.emptyWrapper.description": "Der Wrapper hat keine Unterelemente und erscheint als leerer Eintrag in der Navigation.",
|
|
75
|
+
"webatlas.paths.page.health.issue.pathConflict": "„{value}“ wird auch verwendet von: {routes}",
|
|
76
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingContentType": "Der Inhaltstyp existiert nicht mehr",
|
|
77
|
+
"webatlas.paths.page.health.issue.orphanedRoute.disabledContentType": "Der Inhaltstyp ist in den Plugin-Einstellungen nicht aktiviert",
|
|
78
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingDocument": "Der verknüpfte Eintrag existiert nicht mehr",
|
|
79
|
+
"webatlas.paths.page.health.issue.blacklistedPath": "„{value}“ ist durch die Blacklist gesperrt",
|
|
80
|
+
"webatlas.paths.page.health.issue.invalidExternalUrl": "„{value}“ ist keine gültige URL",
|
|
81
|
+
"webatlas.paths.page.health.issue.unpublishedInNavigation": "Nicht veröffentlicht, aber in der Navigation „{navigation}“ verwendet",
|
|
82
|
+
"webatlas.paths.page.health.issue.tooDeepItem": "Auf Ebene {depth} in „{navigation}“, erlaubt {maxDepth, plural, one {ist # Ebene} other {sind # Ebenen}}",
|
|
83
|
+
"webatlas.paths.page.health.issue.emptyWrapper": "Ohne Unterelemente in der Navigation „{navigation}“",
|
|
84
|
+
"webatlas.paths.page.health.summary.error": "{count, plural, one {# Fehler} other {# Fehler}}",
|
|
85
|
+
"webatlas.paths.page.health.summary.warning": "{count, plural, one {# Warnung} other {# Warnungen}}",
|
|
86
|
+
"webatlas.paths.page.health.summary.info": "{count, plural, one {# Hinweis} other {# Hinweise}}",
|
|
87
|
+
"webatlas.paths.page.health.loading": "Pfade werden geprüft …",
|
|
88
|
+
"webatlas.paths.page.health.unavailable": "Die Pfade konnten nicht geprüft werden",
|
|
89
|
+
"webatlas.paths.page.health.noIssues": "Keine Probleme gefunden",
|
|
90
|
+
"webatlas.paths.page.health.showDetails": "Details anzeigen",
|
|
91
|
+
"webatlas.paths.page.health.hideDetails": "Details ausblenden",
|
|
92
|
+
"webatlas.paths.page.health.recheck": "Erneut prüfen",
|
|
93
|
+
"webatlas.paths.page.health.affected": "{count, plural, one {# Pfad} other {# Pfade}}",
|
|
94
|
+
"webatlas.paths.page.health.showPaths": "Pfade anzeigen",
|
|
95
|
+
"webatlas.paths.page.health.hidePaths": "Alle Pfade anzeigen",
|
|
36
96
|
"webatlas.settings.page.general.subtitle": "Konfigurieren Sie allgemeine Einstellungen",
|
|
37
97
|
"webatlas.settings.page.general.webatlasVersion": "Webatlas Version",
|
|
38
98
|
"webatlas.settings.page.general.contentTypes": "Inhaltstypen",
|
|
@@ -177,6 +237,9 @@ const de = {
|
|
|
177
237
|
"webatlas.notification.settings.saved": "Einstellungen erfolgreich gespeichert",
|
|
178
238
|
"webatlas.notification.settings.fetchFailed": "Content-Types konnten nicht geladen werden",
|
|
179
239
|
"webatlas.notification.paths.fetchFailed": "Pfade konnten nicht abgerufen werden",
|
|
240
|
+
"webatlas.notification.paths.healthFailed": "Die Pfade konnten nicht geprüft werden",
|
|
241
|
+
"webatlas.notification.paths.pathCopied": "Pfad kopiert",
|
|
242
|
+
"webatlas.notification.paths.pathCopyFailed": "Pfad konnte nicht kopiert werden",
|
|
180
243
|
"webatlas.notification.navigation.saveNavigationFailed": "Fehler beim Aktualisieren des Navigationselements",
|
|
181
244
|
"webatlas.notification.navigation.navigationSaved": "Navigation erfolgreich aktualisiert",
|
|
182
245
|
"webatlas.notification.navigation.fetchFailed": "Fehler beim Abrufen der Navigationen",
|
|
@@ -26,11 +26,71 @@ const de = {
|
|
|
26
26
|
"webatlas.navigation.page.navItem.resetEdits": "Bearbeitung zurücksetzen",
|
|
27
27
|
"webatlas.navigation.page.navItem.draftHint": "Erscheint erst im Frontend, wenn die Seite veröffentlicht ist.",
|
|
28
28
|
"webatlas.navigation.page.navItem.modifiedHint": "Die letzten Änderungen der Seite sind noch nicht veröffentlicht.",
|
|
29
|
-
"webatlas.paths.page.title": "
|
|
29
|
+
"webatlas.paths.page.title": "Pfade",
|
|
30
30
|
"webatlas.paths.page.subtitle": "Übersicht aller vorhandenen Pfade",
|
|
31
|
+
"webatlas.paths.page.total": "{count, plural, one {# Pfad} other {# Pfade}} insgesamt",
|
|
32
|
+
"webatlas.paths.page.matches": "{count, plural, one {# Treffer} other {# Treffer}}",
|
|
31
33
|
"webatlas.paths.page.emptyPaths": "Es wurden keine Pfade gefunden",
|
|
34
|
+
"webatlas.paths.page.emptyFiltered": "Keine Pfade entsprechen der aktuellen Suche oder den Filtern",
|
|
35
|
+
"webatlas.paths.page.clearSearch": "Suche leeren",
|
|
36
|
+
"webatlas.paths.page.action.openLink": "Link öffnen",
|
|
37
|
+
"webatlas.paths.page.action.copyPath": "Pfad kopieren",
|
|
38
|
+
"webatlas.paths.page.action.showInNavigation": "In Navigation anzeigen",
|
|
39
|
+
"webatlas.paths.page.actions": "Aktionen für den Pfad",
|
|
40
|
+
"webatlas.paths.page.action.showInNamedNavigation": "In Navigation „{name}“ anzeigen",
|
|
32
41
|
"webatlas.paths.page.column.type": "Typ",
|
|
42
|
+
"webatlas.paths.page.column.contentType": "Inhaltstyp",
|
|
43
|
+
"webatlas.paths.page.canonicalPathHint": "Kanonischer Pfad: {path}",
|
|
44
|
+
"webatlas.paths.page.deviation": "Abweichend",
|
|
45
|
+
"webatlas.paths.page.deviation.description": "Der Pfad weicht von der Inhaltsstruktur ab, durch die Position in der Navigation oder einen manuellen Override",
|
|
33
46
|
"webatlas.paths.page.searchPlaceholder": "Pfade suchen",
|
|
47
|
+
"webatlas.paths.page.filter.contentType": "Inhaltstyp",
|
|
48
|
+
"webatlas.paths.page.filter.type": "Typ",
|
|
49
|
+
"webatlas.paths.page.filter.deviation.true": "Abweichend",
|
|
50
|
+
"webatlas.paths.page.filter.deviation.false": "Nicht abweichend",
|
|
51
|
+
"webatlas.paths.page.filter.deviation.placeholder": "Abweichung",
|
|
52
|
+
"webatlas.paths.page.filter.navigation.true": "In Navigation",
|
|
53
|
+
"webatlas.paths.page.filter.navigation.false": "Nicht in Navigation",
|
|
54
|
+
"webatlas.paths.page.filter.navigation.placeholder": "Navigation",
|
|
55
|
+
"webatlas.paths.page.filter.clear": "Filter entfernen",
|
|
56
|
+
"webatlas.paths.page.filter.reset": "Filter zurücksetzen",
|
|
57
|
+
"webatlas.paths.page.health.check.pathConflict": "Pfad-Konflikt",
|
|
58
|
+
"webatlas.paths.page.health.check.pathConflict.description": "Mehrere Einträge verwenden denselben Pfad. Das Frontend liefert dann einen beliebigen davon aus.",
|
|
59
|
+
"webatlas.paths.page.health.check.orphanedRoute": "Verwaist",
|
|
60
|
+
"webatlas.paths.page.health.check.orphanedRoute.description": "Der verknüpfte Eintrag oder Inhaltstyp existiert nicht mehr oder ist in den Plugin-Einstellungen deaktiviert.",
|
|
61
|
+
"webatlas.paths.page.health.check.blacklistedPath": "Gesperrter Pfad",
|
|
62
|
+
"webatlas.paths.page.health.check.blacklistedPath.description": "Der Pfad ist durch die Blacklist gesperrt. Sie gilt nur für neue Pfade, bestehende bleiben erreichbar.",
|
|
63
|
+
"webatlas.paths.page.health.check.invalidExternalUrl": "Ungültige URL",
|
|
64
|
+
"webatlas.paths.page.health.check.invalidExternalUrl.description": "Der externe Link ist keine gültige URL (http, https, mailto oder tel).",
|
|
65
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation": "Unveröffentlicht",
|
|
66
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation.description": "Der Eintrag ist nicht veröffentlicht und fehlt deshalb in der Navigation des Frontends.",
|
|
67
|
+
"webatlas.paths.page.health.check.tooDeepItem": "Zu tief",
|
|
68
|
+
"webatlas.paths.page.health.check.tooDeepItem.description": "Der Navigationseintrag liegt tiefer, als die maximale Tiefe seiner Navigation erlaubt.",
|
|
69
|
+
"webatlas.paths.page.health.check.notInNavigation": "Nicht in Navigation",
|
|
70
|
+
"webatlas.paths.page.health.check.notInNavigation.description": "Die Seite ist in keiner Navigation verlinkt.",
|
|
71
|
+
"webatlas.paths.page.health.check.emptyWrapper": "Leerer Wrapper",
|
|
72
|
+
"webatlas.paths.page.health.check.emptyWrapper.description": "Der Wrapper hat keine Unterelemente und erscheint als leerer Eintrag in der Navigation.",
|
|
73
|
+
"webatlas.paths.page.health.issue.pathConflict": "„{value}“ wird auch verwendet von: {routes}",
|
|
74
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingContentType": "Der Inhaltstyp existiert nicht mehr",
|
|
75
|
+
"webatlas.paths.page.health.issue.orphanedRoute.disabledContentType": "Der Inhaltstyp ist in den Plugin-Einstellungen nicht aktiviert",
|
|
76
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingDocument": "Der verknüpfte Eintrag existiert nicht mehr",
|
|
77
|
+
"webatlas.paths.page.health.issue.blacklistedPath": "„{value}“ ist durch die Blacklist gesperrt",
|
|
78
|
+
"webatlas.paths.page.health.issue.invalidExternalUrl": "„{value}“ ist keine gültige URL",
|
|
79
|
+
"webatlas.paths.page.health.issue.unpublishedInNavigation": "Nicht veröffentlicht, aber in der Navigation „{navigation}“ verwendet",
|
|
80
|
+
"webatlas.paths.page.health.issue.tooDeepItem": "Auf Ebene {depth} in „{navigation}“, erlaubt {maxDepth, plural, one {ist # Ebene} other {sind # Ebenen}}",
|
|
81
|
+
"webatlas.paths.page.health.issue.emptyWrapper": "Ohne Unterelemente in der Navigation „{navigation}“",
|
|
82
|
+
"webatlas.paths.page.health.summary.error": "{count, plural, one {# Fehler} other {# Fehler}}",
|
|
83
|
+
"webatlas.paths.page.health.summary.warning": "{count, plural, one {# Warnung} other {# Warnungen}}",
|
|
84
|
+
"webatlas.paths.page.health.summary.info": "{count, plural, one {# Hinweis} other {# Hinweise}}",
|
|
85
|
+
"webatlas.paths.page.health.loading": "Pfade werden geprüft …",
|
|
86
|
+
"webatlas.paths.page.health.unavailable": "Die Pfade konnten nicht geprüft werden",
|
|
87
|
+
"webatlas.paths.page.health.noIssues": "Keine Probleme gefunden",
|
|
88
|
+
"webatlas.paths.page.health.showDetails": "Details anzeigen",
|
|
89
|
+
"webatlas.paths.page.health.hideDetails": "Details ausblenden",
|
|
90
|
+
"webatlas.paths.page.health.recheck": "Erneut prüfen",
|
|
91
|
+
"webatlas.paths.page.health.affected": "{count, plural, one {# Pfad} other {# Pfade}}",
|
|
92
|
+
"webatlas.paths.page.health.showPaths": "Pfade anzeigen",
|
|
93
|
+
"webatlas.paths.page.health.hidePaths": "Alle Pfade anzeigen",
|
|
34
94
|
"webatlas.settings.page.general.subtitle": "Konfigurieren Sie allgemeine Einstellungen",
|
|
35
95
|
"webatlas.settings.page.general.webatlasVersion": "Webatlas Version",
|
|
36
96
|
"webatlas.settings.page.general.contentTypes": "Inhaltstypen",
|
|
@@ -175,6 +235,9 @@ const de = {
|
|
|
175
235
|
"webatlas.notification.settings.saved": "Einstellungen erfolgreich gespeichert",
|
|
176
236
|
"webatlas.notification.settings.fetchFailed": "Content-Types konnten nicht geladen werden",
|
|
177
237
|
"webatlas.notification.paths.fetchFailed": "Pfade konnten nicht abgerufen werden",
|
|
238
|
+
"webatlas.notification.paths.healthFailed": "Die Pfade konnten nicht geprüft werden",
|
|
239
|
+
"webatlas.notification.paths.pathCopied": "Pfad kopiert",
|
|
240
|
+
"webatlas.notification.paths.pathCopyFailed": "Pfad konnte nicht kopiert werden",
|
|
178
241
|
"webatlas.notification.navigation.saveNavigationFailed": "Fehler beim Aktualisieren des Navigationselements",
|
|
179
242
|
"webatlas.notification.navigation.navigationSaved": "Navigation erfolgreich aktualisiert",
|
|
180
243
|
"webatlas.notification.navigation.fetchFailed": "Fehler beim Abrufen der Navigationen",
|
|
@@ -28,9 +28,69 @@ const en = {
|
|
|
28
28
|
"webatlas.navigation.page.navItem.modifiedHint": "The latest changes of the page are not published yet.",
|
|
29
29
|
"webatlas.paths.page.title": "Paths",
|
|
30
30
|
"webatlas.paths.page.subtitle": "Overview of all existing paths",
|
|
31
|
+
"webatlas.paths.page.total": "{count, plural, one {# path} other {# paths}} total",
|
|
32
|
+
"webatlas.paths.page.matches": "{count, plural, one {# match} other {# matches}}",
|
|
31
33
|
"webatlas.paths.page.emptyPaths": "No paths found",
|
|
34
|
+
"webatlas.paths.page.emptyFiltered": "No paths match the current search or filters",
|
|
35
|
+
"webatlas.paths.page.clearSearch": "Clear search",
|
|
36
|
+
"webatlas.paths.page.action.openLink": "Open link",
|
|
37
|
+
"webatlas.paths.page.action.copyPath": "Copy path",
|
|
38
|
+
"webatlas.paths.page.action.showInNavigation": "Show in navigation",
|
|
39
|
+
"webatlas.paths.page.actions": "Path actions",
|
|
40
|
+
"webatlas.paths.page.action.showInNamedNavigation": 'Show in navigation "{name}"',
|
|
32
41
|
"webatlas.paths.page.column.type": "Type",
|
|
42
|
+
"webatlas.paths.page.column.contentType": "Content Type",
|
|
43
|
+
"webatlas.paths.page.canonicalPathHint": "Canonical Path: {path}",
|
|
44
|
+
"webatlas.paths.page.deviation": "Differs",
|
|
45
|
+
"webatlas.paths.page.deviation.description": "The path differs from the content structure, due to the position in the navigation or a manual override",
|
|
33
46
|
"webatlas.paths.page.searchPlaceholder": "Search paths",
|
|
47
|
+
"webatlas.paths.page.filter.contentType": "Content Type",
|
|
48
|
+
"webatlas.paths.page.filter.type": "Type",
|
|
49
|
+
"webatlas.paths.page.filter.deviation.true": "Differs",
|
|
50
|
+
"webatlas.paths.page.filter.deviation.false": "Matches",
|
|
51
|
+
"webatlas.paths.page.filter.deviation.placeholder": "Deviation",
|
|
52
|
+
"webatlas.paths.page.filter.navigation.true": "In navigation",
|
|
53
|
+
"webatlas.paths.page.filter.navigation.false": "Not in navigation",
|
|
54
|
+
"webatlas.paths.page.filter.navigation.placeholder": "Navigation",
|
|
55
|
+
"webatlas.paths.page.filter.clear": "Clear filter",
|
|
56
|
+
"webatlas.paths.page.filter.reset": "Reset filters",
|
|
57
|
+
"webatlas.paths.page.health.check.pathConflict": "Path conflict",
|
|
58
|
+
"webatlas.paths.page.health.check.pathConflict.description": "Several entries use the same path. The frontend then delivers any one of them.",
|
|
59
|
+
"webatlas.paths.page.health.check.orphanedRoute": "Orphaned",
|
|
60
|
+
"webatlas.paths.page.health.check.orphanedRoute.description": "The linked entry or content type no longer exists or is disabled in the plugin settings.",
|
|
61
|
+
"webatlas.paths.page.health.check.blacklistedPath": "Blocked path",
|
|
62
|
+
"webatlas.paths.page.health.check.blacklistedPath.description": "The path is blocked by the route blacklist. It only applies to new paths, existing ones stay reachable.",
|
|
63
|
+
"webatlas.paths.page.health.check.invalidExternalUrl": "Invalid URL",
|
|
64
|
+
"webatlas.paths.page.health.check.invalidExternalUrl.description": "The external link is no valid URL (http, https, mailto or tel).",
|
|
65
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation": "Unpublished",
|
|
66
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation.description": "The entry is not published, so it is missing in the navigation of the frontend.",
|
|
67
|
+
"webatlas.paths.page.health.check.tooDeepItem": "Too deep",
|
|
68
|
+
"webatlas.paths.page.health.check.tooDeepItem.description": "The navigation item is deeper than the maximum depth of its navigation allows.",
|
|
69
|
+
"webatlas.paths.page.health.check.notInNavigation": "Not in navigation",
|
|
70
|
+
"webatlas.paths.page.health.check.notInNavigation.description": "The page is not linked in any navigation.",
|
|
71
|
+
"webatlas.paths.page.health.check.emptyWrapper": "Empty wrapper",
|
|
72
|
+
"webatlas.paths.page.health.check.emptyWrapper.description": "The wrapper has no children and shows as an empty item in the navigation.",
|
|
73
|
+
"webatlas.paths.page.health.issue.pathConflict": '"{value}" is also used by: {routes}',
|
|
74
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingContentType": "The content type no longer exists",
|
|
75
|
+
"webatlas.paths.page.health.issue.orphanedRoute.disabledContentType": "The content type is not enabled in the plugin settings",
|
|
76
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingDocument": "The linked entry no longer exists",
|
|
77
|
+
"webatlas.paths.page.health.issue.blacklistedPath": '"{value}" is blocked by the route blacklist',
|
|
78
|
+
"webatlas.paths.page.health.issue.invalidExternalUrl": '"{value}" is no valid URL',
|
|
79
|
+
"webatlas.paths.page.health.issue.unpublishedInNavigation": 'Not published, but used in the navigation "{navigation}"',
|
|
80
|
+
"webatlas.paths.page.health.issue.tooDeepItem": 'On level {depth} in "{navigation}", {maxDepth, plural, one {# level is} other {# levels are}} allowed',
|
|
81
|
+
"webatlas.paths.page.health.issue.emptyWrapper": 'Without children in the navigation "{navigation}"',
|
|
82
|
+
"webatlas.paths.page.health.summary.error": "{count, plural, one {# error} other {# errors}}",
|
|
83
|
+
"webatlas.paths.page.health.summary.warning": "{count, plural, one {# warning} other {# warnings}}",
|
|
84
|
+
"webatlas.paths.page.health.summary.info": "{count, plural, one {# hint} other {# hints}}",
|
|
85
|
+
"webatlas.paths.page.health.loading": "Checking paths …",
|
|
86
|
+
"webatlas.paths.page.health.unavailable": "The paths could not be checked",
|
|
87
|
+
"webatlas.paths.page.health.noIssues": "No issues found",
|
|
88
|
+
"webatlas.paths.page.health.showDetails": "Show details",
|
|
89
|
+
"webatlas.paths.page.health.hideDetails": "Hide details",
|
|
90
|
+
"webatlas.paths.page.health.recheck": "Check again",
|
|
91
|
+
"webatlas.paths.page.health.affected": "{count, plural, one {# path} other {# paths}}",
|
|
92
|
+
"webatlas.paths.page.health.showPaths": "Show paths",
|
|
93
|
+
"webatlas.paths.page.health.hidePaths": "Show all paths",
|
|
34
94
|
"webatlas.settings.page.general.subtitle": "Configure general settings",
|
|
35
95
|
"webatlas.settings.page.general.webatlasVersion": "Webatlas Version",
|
|
36
96
|
"webatlas.settings.page.general.contentTypes": "Content Types",
|
|
@@ -175,6 +235,9 @@ const en = {
|
|
|
175
235
|
"webatlas.notification.settings.saved": "Settings saved successfully",
|
|
176
236
|
"webatlas.notification.settings.fetchFailed": "Failed to load content types",
|
|
177
237
|
"webatlas.notification.paths.fetchFailed": "Failed to fetch paths",
|
|
238
|
+
"webatlas.notification.paths.healthFailed": "The paths could not be checked",
|
|
239
|
+
"webatlas.notification.paths.pathCopied": "Path copied",
|
|
240
|
+
"webatlas.notification.paths.pathCopyFailed": "Path could not be copied",
|
|
178
241
|
"webatlas.notification.navigation.saveNavigationFailed": "Error updating navigation item",
|
|
179
242
|
"webatlas.notification.navigation.navigationSaved": "Navigation updated successfully",
|
|
180
243
|
"webatlas.notification.navigation.fetchFailed": "Failed to fetch navigations",
|
|
@@ -30,9 +30,69 @@ const en = {
|
|
|
30
30
|
"webatlas.navigation.page.navItem.modifiedHint": "The latest changes of the page are not published yet.",
|
|
31
31
|
"webatlas.paths.page.title": "Paths",
|
|
32
32
|
"webatlas.paths.page.subtitle": "Overview of all existing paths",
|
|
33
|
+
"webatlas.paths.page.total": "{count, plural, one {# path} other {# paths}} total",
|
|
34
|
+
"webatlas.paths.page.matches": "{count, plural, one {# match} other {# matches}}",
|
|
33
35
|
"webatlas.paths.page.emptyPaths": "No paths found",
|
|
36
|
+
"webatlas.paths.page.emptyFiltered": "No paths match the current search or filters",
|
|
37
|
+
"webatlas.paths.page.clearSearch": "Clear search",
|
|
38
|
+
"webatlas.paths.page.action.openLink": "Open link",
|
|
39
|
+
"webatlas.paths.page.action.copyPath": "Copy path",
|
|
40
|
+
"webatlas.paths.page.action.showInNavigation": "Show in navigation",
|
|
41
|
+
"webatlas.paths.page.actions": "Path actions",
|
|
42
|
+
"webatlas.paths.page.action.showInNamedNavigation": 'Show in navigation "{name}"',
|
|
34
43
|
"webatlas.paths.page.column.type": "Type",
|
|
44
|
+
"webatlas.paths.page.column.contentType": "Content Type",
|
|
45
|
+
"webatlas.paths.page.canonicalPathHint": "Canonical Path: {path}",
|
|
46
|
+
"webatlas.paths.page.deviation": "Differs",
|
|
47
|
+
"webatlas.paths.page.deviation.description": "The path differs from the content structure, due to the position in the navigation or a manual override",
|
|
35
48
|
"webatlas.paths.page.searchPlaceholder": "Search paths",
|
|
49
|
+
"webatlas.paths.page.filter.contentType": "Content Type",
|
|
50
|
+
"webatlas.paths.page.filter.type": "Type",
|
|
51
|
+
"webatlas.paths.page.filter.deviation.true": "Differs",
|
|
52
|
+
"webatlas.paths.page.filter.deviation.false": "Matches",
|
|
53
|
+
"webatlas.paths.page.filter.deviation.placeholder": "Deviation",
|
|
54
|
+
"webatlas.paths.page.filter.navigation.true": "In navigation",
|
|
55
|
+
"webatlas.paths.page.filter.navigation.false": "Not in navigation",
|
|
56
|
+
"webatlas.paths.page.filter.navigation.placeholder": "Navigation",
|
|
57
|
+
"webatlas.paths.page.filter.clear": "Clear filter",
|
|
58
|
+
"webatlas.paths.page.filter.reset": "Reset filters",
|
|
59
|
+
"webatlas.paths.page.health.check.pathConflict": "Path conflict",
|
|
60
|
+
"webatlas.paths.page.health.check.pathConflict.description": "Several entries use the same path. The frontend then delivers any one of them.",
|
|
61
|
+
"webatlas.paths.page.health.check.orphanedRoute": "Orphaned",
|
|
62
|
+
"webatlas.paths.page.health.check.orphanedRoute.description": "The linked entry or content type no longer exists or is disabled in the plugin settings.",
|
|
63
|
+
"webatlas.paths.page.health.check.blacklistedPath": "Blocked path",
|
|
64
|
+
"webatlas.paths.page.health.check.blacklistedPath.description": "The path is blocked by the route blacklist. It only applies to new paths, existing ones stay reachable.",
|
|
65
|
+
"webatlas.paths.page.health.check.invalidExternalUrl": "Invalid URL",
|
|
66
|
+
"webatlas.paths.page.health.check.invalidExternalUrl.description": "The external link is no valid URL (http, https, mailto or tel).",
|
|
67
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation": "Unpublished",
|
|
68
|
+
"webatlas.paths.page.health.check.unpublishedInNavigation.description": "The entry is not published, so it is missing in the navigation of the frontend.",
|
|
69
|
+
"webatlas.paths.page.health.check.tooDeepItem": "Too deep",
|
|
70
|
+
"webatlas.paths.page.health.check.tooDeepItem.description": "The navigation item is deeper than the maximum depth of its navigation allows.",
|
|
71
|
+
"webatlas.paths.page.health.check.notInNavigation": "Not in navigation",
|
|
72
|
+
"webatlas.paths.page.health.check.notInNavigation.description": "The page is not linked in any navigation.",
|
|
73
|
+
"webatlas.paths.page.health.check.emptyWrapper": "Empty wrapper",
|
|
74
|
+
"webatlas.paths.page.health.check.emptyWrapper.description": "The wrapper has no children and shows as an empty item in the navigation.",
|
|
75
|
+
"webatlas.paths.page.health.issue.pathConflict": '"{value}" is also used by: {routes}',
|
|
76
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingContentType": "The content type no longer exists",
|
|
77
|
+
"webatlas.paths.page.health.issue.orphanedRoute.disabledContentType": "The content type is not enabled in the plugin settings",
|
|
78
|
+
"webatlas.paths.page.health.issue.orphanedRoute.missingDocument": "The linked entry no longer exists",
|
|
79
|
+
"webatlas.paths.page.health.issue.blacklistedPath": '"{value}" is blocked by the route blacklist',
|
|
80
|
+
"webatlas.paths.page.health.issue.invalidExternalUrl": '"{value}" is no valid URL',
|
|
81
|
+
"webatlas.paths.page.health.issue.unpublishedInNavigation": 'Not published, but used in the navigation "{navigation}"',
|
|
82
|
+
"webatlas.paths.page.health.issue.tooDeepItem": 'On level {depth} in "{navigation}", {maxDepth, plural, one {# level is} other {# levels are}} allowed',
|
|
83
|
+
"webatlas.paths.page.health.issue.emptyWrapper": 'Without children in the navigation "{navigation}"',
|
|
84
|
+
"webatlas.paths.page.health.summary.error": "{count, plural, one {# error} other {# errors}}",
|
|
85
|
+
"webatlas.paths.page.health.summary.warning": "{count, plural, one {# warning} other {# warnings}}",
|
|
86
|
+
"webatlas.paths.page.health.summary.info": "{count, plural, one {# hint} other {# hints}}",
|
|
87
|
+
"webatlas.paths.page.health.loading": "Checking paths …",
|
|
88
|
+
"webatlas.paths.page.health.unavailable": "The paths could not be checked",
|
|
89
|
+
"webatlas.paths.page.health.noIssues": "No issues found",
|
|
90
|
+
"webatlas.paths.page.health.showDetails": "Show details",
|
|
91
|
+
"webatlas.paths.page.health.hideDetails": "Hide details",
|
|
92
|
+
"webatlas.paths.page.health.recheck": "Check again",
|
|
93
|
+
"webatlas.paths.page.health.affected": "{count, plural, one {# path} other {# paths}}",
|
|
94
|
+
"webatlas.paths.page.health.showPaths": "Show paths",
|
|
95
|
+
"webatlas.paths.page.health.hidePaths": "Show all paths",
|
|
36
96
|
"webatlas.settings.page.general.subtitle": "Configure general settings",
|
|
37
97
|
"webatlas.settings.page.general.webatlasVersion": "Webatlas Version",
|
|
38
98
|
"webatlas.settings.page.general.contentTypes": "Content Types",
|
|
@@ -177,6 +237,9 @@ const en = {
|
|
|
177
237
|
"webatlas.notification.settings.saved": "Settings saved successfully",
|
|
178
238
|
"webatlas.notification.settings.fetchFailed": "Failed to load content types",
|
|
179
239
|
"webatlas.notification.paths.fetchFailed": "Failed to fetch paths",
|
|
240
|
+
"webatlas.notification.paths.healthFailed": "The paths could not be checked",
|
|
241
|
+
"webatlas.notification.paths.pathCopied": "Path copied",
|
|
242
|
+
"webatlas.notification.paths.pathCopyFailed": "Path could not be copied",
|
|
180
243
|
"webatlas.notification.navigation.saveNavigationFailed": "Error updating navigation item",
|
|
181
244
|
"webatlas.notification.navigation.navigationSaved": "Navigation updated successfully",
|
|
182
245
|
"webatlas.notification.navigation.fetchFailed": "Failed to fetch navigations",
|
|
@@ -4,12 +4,12 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const React = require("react");
|
|
5
5
|
const designSystem = require("@strapi/design-system");
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
|
-
const index = require("./index-
|
|
7
|
+
const index = require("./index-DmOWQK6g.js");
|
|
8
8
|
const FullLoader = require("./FullLoader-C4hXFaLP.js");
|
|
9
9
|
const reactIntl = require("react-intl");
|
|
10
10
|
require("@strapi/icons/symbols");
|
|
11
11
|
require("@strapi/icons");
|
|
12
|
-
const ContentBox = require("./ContentBox-
|
|
12
|
+
const ContentBox = require("./ContentBox-CHwpYMiB.js");
|
|
13
13
|
const toLevels = (maxDepth) => String(maxDepth + 1);
|
|
14
14
|
const Settings = () => {
|
|
15
15
|
const { getNavigationDepths, updateNavigationDepths } = index.useApi();
|
|
@@ -2,12 +2,12 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { useState, useEffect, useReducer, useRef, useMemo } from "react";
|
|
3
3
|
import { Typography, Box, Accordion, Field, SingleSelect, SingleSelectOption, Grid, Link } from "@strapi/design-system";
|
|
4
4
|
import { useNotification, useRBAC, Page } from "@strapi/strapi/admin";
|
|
5
|
-
import { u as useApi, i as isAbortError, g as getTranslation, T as Tooltip,
|
|
5
|
+
import { u as useApi, i as isAbortError, g as getTranslation, T as Tooltip, e as usePluginConfig, a as useAllContentTypes, p as pluginPermissions, f as PLUGIN_NAME, h as PLUGIN_VERSION } from "./index-CMuhLgfi.mjs";
|
|
6
6
|
import { u as useErrorMessage, F as FullLoader } from "./FullLoader-BTZzPY8g.mjs";
|
|
7
7
|
import { useIntl } from "react-intl";
|
|
8
8
|
import "@strapi/icons/symbols";
|
|
9
9
|
import { ExternalLink } from "@strapi/icons";
|
|
10
|
-
import { P as PageWrapper, C as ContentBox } from "./ContentBox-
|
|
10
|
+
import { P as PageWrapper, C as ContentBox } from "./ContentBox-CYnyB_5a.mjs";
|
|
11
11
|
import { W as WarningBox } from "./WarningBox-AyYq0Onj.mjs";
|
|
12
12
|
function getRouteSourceFields(contentType) {
|
|
13
13
|
if (!contentType?.attributes) return [];
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useNavigate, useBlocker, useHref, useParams, Routes, Route } from "react-router-dom";
|
|
2
|
+
import { useNavigate, useBlocker, useHref, useParams, useSearchParams, Routes, Route } from "react-router-dom";
|
|
3
3
|
import { Trash, Pencil, Check, Cross, WarningCircle, More, Link, OneToMany, ExternalLink, Drag, ChevronRight, ChevronDown, Plus } from "@strapi/icons";
|
|
4
4
|
import { Box, Typography, Dialog, Button, Modal, Flex, SingleSelect, SingleSelectOption, Grid, Field, Toggle, Divider, Searchbar, Checkbox, Badge, Loader, RawTable, Thead, Tr, Th, Tbody, Td, IconButton, SimpleMenu, MenuItem, Tooltip as Tooltip$1 } from "@strapi/design-system";
|
|
5
5
|
import { useRef, useState, useCallback, useEffect, createContext, useContext, useMemo, useReducer, memo, forwardRef } from "react";
|
|
6
6
|
import { createPortal } from "react-dom";
|
|
7
7
|
import { useIntl } from "react-intl";
|
|
8
|
-
import { t as transformToUrl, i as isAbortError, P as PLUGIN_ID, u as useApi, g as getTranslation, d as debounce,
|
|
8
|
+
import { t as transformToUrl, i as isAbortError, P as PLUGIN_ID, u as useApi, g as getTranslation, d as debounce, b as duplicateCheck, T as Tooltip, c as PathInfo, e as usePluginConfig, p as pluginPermissions } from "./index-CMuhLgfi.mjs";
|
|
9
9
|
import { u as useErrorMessage, C as Center, F as FullLoader } from "./FullLoader-BTZzPY8g.mjs";
|
|
10
10
|
import { useFetchClient, useNotification, Page, Layouts, useRBAC } from "@strapi/strapi/admin";
|
|
11
11
|
import { EmptyDocuments } from "@strapi/icons/symbols";
|
|
12
12
|
import { W as WarningBox } from "./WarningBox-AyYq0Onj.mjs";
|
|
13
13
|
import { MeasuringStrategy, DndContext, DragOverlay, closestCenter } from "@dnd-kit/core";
|
|
14
14
|
import { arrayMove, useSortable, SortableContext, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
15
|
-
import { CSS } from "@dnd-kit/utilities";
|
|
15
|
+
import { CSS as CSS$1 } from "@dnd-kit/utilities";
|
|
16
16
|
const DEFAULT_NAVIGATION_MAX_DEPTH = 1;
|
|
17
17
|
let tempItemCounter = 0;
|
|
18
18
|
function createTempNavItemObject({
|
|
@@ -104,11 +104,14 @@ function buildBreadcrumbString({
|
|
|
104
104
|
);
|
|
105
105
|
if (targetIndex === -1) return null;
|
|
106
106
|
const parts = [];
|
|
107
|
+
let currentDepth = targetItem.depth;
|
|
107
108
|
for (let i = targetIndex - 1; i >= 0; i--) {
|
|
108
109
|
const candidate = navigationItems[i];
|
|
109
110
|
if (candidate.clientModifications?.type === "delete") continue;
|
|
111
|
+
if (typeof candidate.depth !== "number" || candidate.depth >= currentDepth) continue;
|
|
110
112
|
parts.unshift(candidate.route.title);
|
|
111
|
-
|
|
113
|
+
currentDepth = candidate.depth;
|
|
114
|
+
if (currentDepth === 0) break;
|
|
112
115
|
}
|
|
113
116
|
if (includeTarget) {
|
|
114
117
|
parts.push(targetItem.route.title);
|
|
@@ -2663,7 +2666,8 @@ const RouteItem = memo(
|
|
|
2663
2666
|
hasChildren = false,
|
|
2664
2667
|
collapsed = false,
|
|
2665
2668
|
onToggleCollapse,
|
|
2666
|
-
readOnly = false
|
|
2669
|
+
readOnly = false,
|
|
2670
|
+
highlighted = false
|
|
2667
2671
|
}, ref) => {
|
|
2668
2672
|
const { setModalType } = useContext(ModalContext);
|
|
2669
2673
|
const { formatMessage } = useIntl();
|
|
@@ -2730,6 +2734,7 @@ const RouteItem = memo(
|
|
|
2730
2734
|
zIndex: isHovered ? 1 : void 0,
|
|
2731
2735
|
...style
|
|
2732
2736
|
};
|
|
2737
|
+
const insertDepth = (depth ?? 0) + (hasChildren && !collapsed ? 1 : 0);
|
|
2733
2738
|
const insertBelowLabel = formatMessage({
|
|
2734
2739
|
id: getTranslation("navigation.page.navItem.insertBelow"),
|
|
2735
2740
|
defaultMessage: "Add item below"
|
|
@@ -2740,6 +2745,7 @@ const RouteItem = memo(
|
|
|
2740
2745
|
{
|
|
2741
2746
|
ref: wrapperRef,
|
|
2742
2747
|
style: elStyle,
|
|
2748
|
+
"data-navitem-id": item.documentId,
|
|
2743
2749
|
onMouseEnter: () => setIsHovered(true),
|
|
2744
2750
|
onMouseLeave: () => {
|
|
2745
2751
|
setIsHovered(false);
|
|
@@ -2755,7 +2761,8 @@ const RouteItem = memo(
|
|
|
2755
2761
|
flex: "1",
|
|
2756
2762
|
minWidth: 0,
|
|
2757
2763
|
alignItems: "stretch",
|
|
2758
|
-
background: isDeleted ? "danger100" : "neutral0",
|
|
2764
|
+
background: isDeleted ? "danger100" : highlighted ? "primary100" : "neutral0",
|
|
2765
|
+
transition: "background-color 0.6s ease",
|
|
2759
2766
|
borderColor: "neutral150",
|
|
2760
2767
|
borderStyle: "solid",
|
|
2761
2768
|
borderWidth: "0 0 1px 0",
|
|
@@ -2821,6 +2828,19 @@ const RouteItem = memo(
|
|
|
2821
2828
|
}
|
|
2822
2829
|
)
|
|
2823
2830
|
] }),
|
|
2831
|
+
isInsertButtonActive && onInsertBelow && !disableInteraction && !ghost && // Shows where the new item is inserted, indented to its future depth
|
|
2832
|
+
/* @__PURE__ */ jsx(
|
|
2833
|
+
Box,
|
|
2834
|
+
{
|
|
2835
|
+
position: "absolute",
|
|
2836
|
+
bottom: "-1px",
|
|
2837
|
+
left: `${insertDepth * indentationWidth$1}px`,
|
|
2838
|
+
right: 0,
|
|
2839
|
+
height: "2px",
|
|
2840
|
+
background: "primary600",
|
|
2841
|
+
style: { pointerEvents: "none" }
|
|
2842
|
+
}
|
|
2843
|
+
),
|
|
2824
2844
|
isHovered && onInsertBelow && !disableInteraction && !ghost && // Sits on the border below the row, centered below the collapse toggle
|
|
2825
2845
|
/* @__PURE__ */ jsx(
|
|
2826
2846
|
Flex,
|
|
@@ -2871,7 +2891,7 @@ function SortableRouteItem({
|
|
|
2871
2891
|
attributes,
|
|
2872
2892
|
listeners
|
|
2873
2893
|
} = useSortable({ id: item.id });
|
|
2874
|
-
const transformString = transform ? CSS.Translate.toString(transform) : void 0;
|
|
2894
|
+
const transformString = transform ? CSS$1.Translate.toString(transform) : void 0;
|
|
2875
2895
|
const style = useMemo(() => ({ transform: transformString }), [transformString]);
|
|
2876
2896
|
const handleProps = useMemo(() => ({ ...attributes, ...listeners }), [attributes, listeners]);
|
|
2877
2897
|
return /* @__PURE__ */ jsx(
|
|
@@ -4721,6 +4741,10 @@ const Navigation = () => {
|
|
|
4721
4741
|
const getErrorMessage = useErrorMessage();
|
|
4722
4742
|
const { navigationId } = useParams();
|
|
4723
4743
|
const navigate = useNavigate();
|
|
4744
|
+
const [searchParams, setSearchParams] = useSearchParams();
|
|
4745
|
+
const highlightParam = searchParams.get("highlight");
|
|
4746
|
+
const [highlightedId, setHighlightedId] = useState(null);
|
|
4747
|
+
const scrolledToHighlightRef = useRef(null);
|
|
4724
4748
|
async function loadNavigations() {
|
|
4725
4749
|
try {
|
|
4726
4750
|
const updatedNavigations = await getNavigation({ variant: "flat" });
|
|
@@ -4798,6 +4822,29 @@ const Navigation = () => {
|
|
|
4798
4822
|
setInsertBelowItem(null);
|
|
4799
4823
|
}
|
|
4800
4824
|
}, [modalType]);
|
|
4825
|
+
useEffect(() => {
|
|
4826
|
+
if (!highlightParam || !navigationItems) return;
|
|
4827
|
+
const item = navigationItems.find(({ documentId }) => documentId === highlightParam);
|
|
4828
|
+
if (!item) return;
|
|
4829
|
+
for (let parent = getParentItem(navigationItems, item.id); parent; parent = getParentItem(navigationItems, parent.id)) {
|
|
4830
|
+
expand(parent.documentId);
|
|
4831
|
+
}
|
|
4832
|
+
scrolledToHighlightRef.current = null;
|
|
4833
|
+
setHighlightedId(item.documentId);
|
|
4834
|
+
setSearchParams(
|
|
4835
|
+
(prev) => {
|
|
4836
|
+
const next = new URLSearchParams(prev);
|
|
4837
|
+
next.delete("highlight");
|
|
4838
|
+
return next;
|
|
4839
|
+
},
|
|
4840
|
+
{ replace: true }
|
|
4841
|
+
);
|
|
4842
|
+
}, [highlightParam, navigationItems, expand, setSearchParams]);
|
|
4843
|
+
useEffect(() => {
|
|
4844
|
+
if (!highlightedId) return;
|
|
4845
|
+
const timeout = setTimeout(() => setHighlightedId(null), 3e3);
|
|
4846
|
+
return () => clearTimeout(timeout);
|
|
4847
|
+
}, [highlightedId]);
|
|
4801
4848
|
const handleInsertBelow = useCallback((item) => {
|
|
4802
4849
|
setInsertBelowItem(item);
|
|
4803
4850
|
setModalType("ItemCreate");
|
|
@@ -4903,6 +4950,13 @@ const Navigation = () => {
|
|
|
4903
4950
|
if (!navigationItems) return [];
|
|
4904
4951
|
return isSearching ? getSearchVisibleItems(navigationItems, searchQuery) : getCollapsedVisibleItems(navigationItems, collapsedIds);
|
|
4905
4952
|
}, [navigationItems, isSearching, searchQuery, collapsedIds]);
|
|
4953
|
+
useEffect(() => {
|
|
4954
|
+
if (!highlightedId || scrolledToHighlightRef.current === highlightedId) return;
|
|
4955
|
+
const element = document.querySelector(`[data-navitem-id="${CSS.escape(highlightedId)}"]`);
|
|
4956
|
+
if (!element) return;
|
|
4957
|
+
scrolledToHighlightRef.current = highlightedId;
|
|
4958
|
+
element.scrollIntoView({ behavior: "smooth", block: "center" });
|
|
4959
|
+
}, [highlightedId, visibleItems]);
|
|
4906
4960
|
const itemsWithChildren = useMemo(
|
|
4907
4961
|
() => getItemsWithChildren(navigationItems ?? []),
|
|
4908
4962
|
[navigationItems]
|
|
@@ -5106,7 +5160,8 @@ const Navigation = () => {
|
|
|
5106
5160
|
collapsed: collapsedIds.has(item.documentId),
|
|
5107
5161
|
onToggleCollapse: isSearching ? void 0 : toggleCollapsed,
|
|
5108
5162
|
onInsertBelow: isSearching || !canEditItems ? void 0 : handleInsertBelow,
|
|
5109
|
-
readOnly: !canEditItems
|
|
5163
|
+
readOnly: !canEditItems,
|
|
5164
|
+
highlighted: item.documentId === highlightedId
|
|
5110
5165
|
},
|
|
5111
5166
|
item.documentId || index
|
|
5112
5167
|
);
|