Skip to content
This repository was archived by the owner on Nov 6, 2025. It is now read-only.

Commit b26b7ad

Browse files
committed
Adds localization for "No configuration"
1 parent 11b9b08 commit b26b7ad

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/assets/lang/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,7 @@ export default {
695695
hasReferencesDeleteConsequence:
696696
'Deleting <strong>%0%</strong> will delete the properties and their data from the following items',
697697
acceptDeleteConsequence: 'I understand this action will delete the properties and data based on this Data Type',
698+
noConfiguration: 'There is no configuration for this property editor.',
698699
},
699700
errorHandling: {
700701
errorButDataWasSaved:

src/packages/data-type/components/property-editor-config/property-editor-config.element.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ export class UmbPropertyEditorConfigElement extends UmbLitElement {
5353
property-editor-ui-alias=${property.propertyEditorUiAlias}
5454
.config=${property.config}></umb-property>`,
5555
)
56-
: // TODO: Localize this [NL]
57-
html`<div>No configuration</div>`;
56+
: html`<umb-localize key="editdatatype_noConfiguration"
57+
>There is no configuration for this property editor.</umb-localize
58+
>`;
5859
}
5960

6061
static override styles = [UmbTextStyles];

src/packages/data-type/workspace/data-type-workspace.context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import {
3232
type EntityType = UmbDataTypeDetailModel;
3333

3434
/**
35-
* @class uUmbDataTypeWorkspaceContext
35+
* @class UmbDataTypeWorkspaceContext
3636
* @description - Context for handling data type workspace
3737
* There is two overall code flows to be aware about:
3838
*

0 commit comments

Comments
 (0)