Adds localization for "No configuration"

This commit is contained in:
leekelleher
2024-07-30 09:52:37 +01:00
parent 8d0d09f1d7
commit b2815fdfd1
3 changed files with 5 additions and 3 deletions

View File

@@ -695,6 +695,7 @@ export default {
hasReferencesDeleteConsequence:
'Deleting <strong>%0%</strong> will delete the properties and their data from the following items',
acceptDeleteConsequence: 'I understand this action will delete the properties and data based on this Data Type',
noConfiguration: 'There is no configuration for this property editor.',
},
errorHandling: {
errorButDataWasSaved:

View File

@@ -53,8 +53,9 @@ export class UmbPropertyEditorConfigElement extends UmbLitElement {
property-editor-ui-alias=${property.propertyEditorUiAlias}
.config=${property.config}></umb-property>`,
)
: // TODO: Localize this [NL]
html`<div>No configuration</div>`;
: html`<umb-localize key="editdatatype_noConfiguration"
>There is no configuration for this property editor.</umb-localize
>`;
}
static override styles = [UmbTextStyles];

View File

@@ -32,7 +32,7 @@ import {
type EntityType = UmbDataTypeDetailModel;
/**
* @class uUmbDataTypeWorkspaceContext
* @class UmbDataTypeWorkspaceContext
* @description - Context for handling data type workspace
* There is two overall code flows to be aware about:
*