localizations blocklist view

This commit is contained in:
Lone Iversen
2024-07-11 11:59:10 +02:00
committed by Jacob Overgaard
parent e911e2bad7
commit 23949d3542
2 changed files with 13 additions and 13 deletions

View File

@@ -2237,7 +2237,7 @@ export default {
addCustomStylesheet: 'Tilføj stylesheet',
headlineEditorAppearance: 'Redigerings udseende',
headlineDataModels: 'Data modeller',
headlineCatalogueAppearance: 'katalog udseende',
headlineCatalogueAppearance: 'Katalog udseende',
labelBackgroundColor: 'Baggrunds farve',
labelIconColor: 'Ikon farve',
labelContentElementType: 'Indholds model',

View File

@@ -7,20 +7,20 @@ import type { UmbWorkspaceViewElement } from '@umbraco-cms/backoffice/extension-
export class UmbBlockListTypeWorkspaceViewSettingsElement extends UmbLitElement implements UmbWorkspaceViewElement {
override render() {
return html`
<uui-box headline="Editor Appearance">
<uui-box headline=${this.localize.term('blockEditor_headlineEditorAppearance')}>
<umb-property
label="Label"
label=${this.localize.term('general_label')}
alias="label"
property-editor-ui-alias="Umb.PropertyEditorUi.TextBox"></umb-property>
<umb-property
label="Overlay size"
label=${this.localize.term('blockEditor_labelEditorSize')}
alias="editorSize"
property-editor-ui-alias="Umb.PropertyEditorUi.OverlaySize"></umb-property>
</uui-box>
<uui-box headline="Data models">
<uui-box headline=${this.localize.term('blockEditor_headlineDataModels')}>
<!-- TODO: implement readonly mode for umb-property -->
<umb-property
label="Content Model"
label=${this.localize.term('blockEditor_labelContentElementType')}
alias="contentElementTypeKey"
property-editor-ui-alias="Umb.PropertyEditorUi.DocumentTypePicker"
readonly
@@ -35,7 +35,7 @@ export class UmbBlockListTypeWorkspaceViewSettingsElement extends UmbLitElement
},
]}></umb-property>
<umb-property
label="Settings Model"
label=${this.localize.term('blockEditor_labelSettingsElementType')}
alias="settingsElementTypeKey"
property-editor-ui-alias="Umb.PropertyEditorUi.DocumentTypePicker"
.config=${[
@@ -49,19 +49,19 @@ export class UmbBlockListTypeWorkspaceViewSettingsElement extends UmbLitElement
},
]}></umb-property>
</uui-box>
<uui-box headline="Catalogue appearance">
<uui-box headline=${this.localize.term('blockEditor_headlineCatalogueAppearance')}>
<umb-property
label="Background color"
label=${this.localize.term('blockEditor_labelBackgroundColor')}
alias="backgroundColor"
property-editor-ui-alias="Umb.PropertyEditorUi.EyeDropper"
.config=${[{ alias: 'showAlpha', value: true }]}></umb-property>
<umb-property
label="Icon color"
label=${this.localize.term('blockEditor_labelIconColor')}
alias="iconColor"
property-editor-ui-alias="Umb.PropertyEditorUi.EyeDropper"
.config=${[{ alias: 'showAlpha', value: true }]}></umb-property>
<umb-property
label="Thumbnail"
label=${this.localize.term('blockEditor_thumbnail')}
alias="thumbnail"
property-editor-ui-alias="Umb.PropertyEditorUi.StaticFilePicker"
.config=${[
@@ -71,9 +71,9 @@ export class UmbBlockListTypeWorkspaceViewSettingsElement extends UmbLitElement
},
]}></umb-property>
</uui-box>
<uui-box headline="Advanced">
<uui-box headline=${this.localize.term('blockEditor_headlineAdvanced')}>
<umb-property
label="Hide Content Editor"
label=${this.localize.term('blockEditor_forceHideContentEditor')}
alias="forceHideContentEditorInOverlay"
property-editor-ui-alias="Umb.PropertyEditorUi.Toggle"></umb-property>
</uui-box>