diff --git a/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts b/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts index d608e3c373..4ed8afbd35 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/block/block-list/property-editors/block-list-editor/property-editor-ui-block-list.element.ts @@ -244,14 +244,26 @@ export class UmbPropertyEditorUIBlockListElement this.addValidator( 'rangeUnderflow', - () => '#validation_entriesShort', + () => { + return this.localize.term( + 'validation_entriesShort', + this._limitMin, + (this._limitMin?? 0) - this.#entriesContext.getLength() + ); + }, () => !!this._limitMin && this.#entriesContext.getLength() < this._limitMin, ); - + this.addValidator( - 'rangeOverflow', - () => '#validation_entriesExceed', - () => !!this._limitMax && this.#entriesContext.getLength() > this._limitMax, + 'rangeOverflow', + () => { + return this.localize.term( + 'validation_entriesExceed', + this._limitMax, + this.#entriesContext.getLength() + ); + }, + () => !!this._limitMax && this.#entriesContext.getLength() > this._limitMax, ); this.observe(this.#entriesContext.layoutEntries, (layouts) => {