Skip to content

Commit 52571e2

Browse files
committed
localizations
1 parent d8bf40e commit 52571e2

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,11 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
123123
() => this.#renderBlueprints(),
124124
() => this.#renderDocumentTypes(),
125125
)}
126-
<uui-button slot="actions" id="cancel" label="Cancel" @click="${this._rejectModal}"></uui-button>
126+
<uui-button
127+
slot="actions"
128+
id="cancel"
129+
label=${this.localize.term('general_cancel')}
130+
@click="${this._rejectModal}"></uui-button>
127131
</umb-body-layout>
128132
`;
129133
}
@@ -136,7 +140,7 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement<
136140
<umb-localize key="create_noDocumentTypes">
137141
There are no allowed Document Types available for creating content here. You must enable these in
138142
<strong>Document Types</strong> within the <strong>Settings</strong> section, by editing the
139-
<strong>Allowed child node types</strong> under <strong>Permissions</strong><br />
143+
<strong>Allowed child node types</strong> under <strong>Permissions</strong>.<br />
140144
</umb-localize>
141145
<uui-button
142146
id="edit-permissions"

src/packages/media/media/entity-actions/create/media-create-options-modal.element.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,11 @@ export class UmbMediaCreateOptionsModalElement extends UmbModalBaseElement<
8989
}
9090

9191
#renderNotAllowed() {
92-
return html`<umb-localize key="create_noMediaTypes"></umb-localize><br />
92+
return html`<umb-localize key="create_noMediaTypes">
93+
There are no allowed Media Types available for creating media here. You must enable these in
94+
<strong>Media Types</strong> within the <strong>Settings</strong> section, by editing the
95+
<strong>Allowed child node types</strong> under <strong>Permissions</strong>. </umb-localize
96+
><br />
9397
<uui-button
9498
id="edit-permissions"
9599
look="secondary"

0 commit comments

Comments
 (0)