Adds localization for "No configuration"
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user