diff --git a/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts b/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts index f6ceed0051..38736aa6f2 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/block/block/modals/block-catalogue/block-catalogue-modal.element.ts @@ -104,7 +104,11 @@ export class UmbBlockCatalogueModalElement extends UmbModalBaseElement< const lookup = items.reduce( (acc, item) => { - acc[item.unique] = item; + acc[item.unique] = { + ...item, + name: this.localize.string(item.name), + description: this.localize.string(item.description), + }; return acc; }, {} as { [key: string]: UmbDocumentTypeItemModel }, @@ -244,8 +248,8 @@ export class UmbBlockCatalogueModalElement extends UmbModalBaseElement< return html` this.#chooseBlock(block.contentElementTypeKey)}> ${when(