localizations
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user