From bbe23df8eab2b6224307f09a9aa435d15d0c1c49 Mon Sep 17 00:00:00 2001 From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com> Date: Mon, 27 May 2024 22:16:07 +0200 Subject: [PATCH] fix: add localization --- .../create/document-create-options-modal.element.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts index cff57ab694..f1cb7e1e04 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/documents/documents/entity-actions/create/document-create-options-modal.element.ts @@ -130,7 +130,13 @@ export class UmbDocumentCreateOptionsModalElement extends UmbModalBaseElement< return html` ${when( this._allowedDocumentTypes.length === 0, - () => html`

No allowed types

`, + () => html` + + There are no allowed Document Types available for creating content here. You must enable these in + Document Types within the Settings section, by editing the + Allowed child node types under Permissions + + `, () => repeat( this._allowedDocumentTypes,