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', addCustomStylesheet: 'Tilføj stylesheet',
headlineEditorAppearance: 'Redigerings udseende', headlineEditorAppearance: 'Redigerings udseende',
headlineDataModels: 'Data modeller', headlineDataModels: 'Data modeller',
headlineCatalogueAppearance: 'katalog udseende', headlineCatalogueAppearance: 'Katalog udseende',
labelBackgroundColor: 'Baggrunds farve', labelBackgroundColor: 'Baggrunds farve',
labelIconColor: 'Ikon farve', labelIconColor: 'Ikon farve',
labelContentElementType: 'Indholds model', labelContentElementType: 'Indholds model',

View File

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