diff --git a/src/assets/lang/da-dk.ts b/src/assets/lang/da-dk.ts index 68461e1e90..59691293a3 100644 --- a/src/assets/lang/da-dk.ts +++ b/src/assets/lang/da-dk.ts @@ -1565,8 +1565,8 @@ export default { 'Konfigurér indholdet til at blive vist i en sortérbar og søgbar liste;\n undersider vil ikke blive vist i træet\n ', allowedTemplatesHeading: 'Tilladte skabeloner', allowedTemplatesDescription: 'Vælg hvilke skabeloner, der er tilladt at bruge på dette indhold.', - allowAsRootHeading: 'Tillad på rodniveau', - allowAsRootDescription: + allowAtRootHeading: 'Tillad på rodniveau', + allowAtRootDescription: 'Kun dokumenttyper med denne indstilling aktiveret kan oprettes i rodniveau under\n indhold og mediearkiv.\n ', childNodesHeading: 'Tilladte typer', childNodesDescription: 'Tillad at oprette indhold af en specifik type under denne.', @@ -1658,6 +1658,8 @@ export default { collections: 'Samlinger', collectionsDescription: 'Konfigurerer indholdselementet til at vise listen over dets underordnede elementer, underordnede elementer vil ikke blive vist i træet.', + structure: 'Struktur', + presentation: 'Præsentation', }, languages: { addLanguage: 'Tilføj sprog', diff --git a/src/assets/lang/en-us.ts b/src/assets/lang/en-us.ts index f2332f75d7..e4c941f1ac 100644 --- a/src/assets/lang/en-us.ts +++ b/src/assets/lang/en-us.ts @@ -1563,11 +1563,10 @@ export default { 'Configures the content item to show a sortable and searchable list of its\n children, the children will not be shown in the tree\n ', allowedTemplatesHeading: 'Allowed Templates', allowedTemplatesDescription: 'Choose which templates editors are allowed to use on content of this type', - allowAsRootHeading: 'Allow as root', - allowAsRootDescription: 'Allow editors to create content of this type in the root of the content tree.\n ', + allowAtRootHeading: 'Allow at root', + allowAtRootDescription: 'Allow editors to create content of this type in the root of the content tree.\n ', childNodesHeading: 'Allowed child node types', - childNodesDescription: - 'Allow content of the specified types to be created underneath content of this\n type.\n ', + childNodesDescription: 'Allow content of the specified types to be created underneath content of this type.', chooseChildNode: 'Choose child node', compositionsDescription: 'Inherit tabs and properties from an existing Document Type. New tabs will be\n added to the current Document Type or merged if a tab with an identical name exists.\n ', @@ -1655,6 +1654,8 @@ export default { collections: 'Collections', collectionsDescription: 'Configures the content item to show list of its children, the children will not be shown in the tree.', + structure: 'Structure', + presentation: 'Presentation', }, languages: { addLanguage: 'Add language', diff --git a/src/packages/documents/document-types/workspace/views/structure/document-type-workspace-view-structure.element.ts b/src/packages/documents/document-types/workspace/views/structure/document-type-workspace-view-structure.element.ts index 9f8b9dc91b..7fb5dda0a7 100644 --- a/src/packages/documents/document-types/workspace/views/structure/document-type-workspace-view-structure.element.ts +++ b/src/packages/documents/document-types/workspace/views/structure/document-type-workspace-view-structure.element.ts @@ -64,22 +64,20 @@ export class UmbDocumentTypeWorkspaceViewStructureElement extends UmbLitElement render() { return html` - - -
${this.localize.term('contentTypeEditor_allowAsRootDescription')}
+ + +
${this.localize.term('contentTypeEditor_allowAtRootDescription')}
{ this.#workspaceContext?.setAllowedAsRoot((e.target as UUIToggleElement).checked); }}>
- -
- Allow content of the specified types to be created underneath content of this type. -
+ +
${this.localize.term('contentTypeEditor_childNodesDescription')}
- +
${this.localize.term('contentTypeEditor_collectionsDescription')}
diff --git a/src/packages/media/media-types/workspace/views/structure/media-type-workspace-view-structure.element.ts b/src/packages/media/media-types/workspace/views/structure/media-type-workspace-view-structure.element.ts index 2608977233..58568a471c 100644 --- a/src/packages/media/media-types/workspace/views/structure/media-type-workspace-view-structure.element.ts +++ b/src/packages/media/media-types/workspace/views/structure/media-type-workspace-view-structure.element.ts @@ -42,22 +42,20 @@ export class UmbMediaTypeWorkspaceViewStructureElement extends UmbLitElement imp render() { return html` - - -
${this.localize.term('contentTypeEditor_allowAsRootDescription')}
+ + +
${this.localize.term('contentTypeEditor_allowAtRootDescription')}
{ this.#workspaceContext?.updateProperty('allowedAsRoot', (e.target as UUIToggleElement).checked); }}>
- -
- Allow content of the specified types to be created underneath content of this type. -
+ +
${this.localize.term('contentTypeEditor_childNodesDescription')}
- +
Provides an overview of child content and hides it in the tree.