localizations

This commit is contained in:
Lone Iversen
2024-06-17 11:49:38 +02:00
parent 8940960b7d
commit 6f4ec31724
2 changed files with 11 additions and 3 deletions

View File

@@ -123,7 +123,11 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
() => this.#renderBlueprints(),
() => this.#renderDocumentTypes(),
)}
<uui-button slot="actions" id="cancel" label="Cancel" @click="${this._rejectModal}"></uui-button>
<uui-button
slot="actions"
id="cancel"
label=${this.localize.term('general_cancel')}
@click="${this._rejectModal}"></uui-button>
</umb-body-layout>
`;
}
@@ -136,7 +140,7 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
<umb-localize key="create_noDocumentTypes">
There are no allowed Document Types available for creating content here. You must enable these in
<strong>Document Types</strong> within the <strong>Settings</strong> section, by editing the
<strong>Allowed child node types</strong> under <strong>Permissions</strong><br />
<strong>Allowed child node types</strong> under <strong>Permissions</strong>.<br />
</umb-localize>
<uui-button
id="edit-permissions"

View File

@@ -89,7 +89,11 @@ export class UmbMediaCreateOptionsModalElement extends UmbModalBaseElement<
}
#renderNotAllowed() {
return html`<umb-localize key="create_noMediaTypes"></umb-localize><br />
return html`<umb-localize key="create_noMediaTypes">
There are no allowed Media Types available for creating media here. You must enable these in
<strong>Media Types</strong> within the <strong>Settings</strong> section, by editing the
<strong>Allowed child node types</strong> under <strong>Permissions</strong>. </umb-localize
><br />
<uui-button
id="edit-permissions"
look="secondary"