Skip to content

Commit f926316

Browse files
authored
V15/fix/18595 (#18925)
* fix for #18595 * updates the en.ts
1 parent b991976 commit f926316

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Umbraco.Web.UI.Client/src/assets/lang/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,6 +1592,7 @@ export default {
15921592
'\n If mandatory, the child template must contain a <code>@section</code> definition, otherwise an error is shown.\n ',
15931593
queryBuilder: 'Query builder',
15941594
itemsReturned: 'items returned, in',
1595+
publishedItemsReturned: 'Currently %0% published items returned, in %1% ms',
15951596
iWant: 'I want',
15961597
allContent: 'all content',
15971598
contentOfType: 'content of type "%0%"',

src/Umbraco.Web.UI.Client/src/packages/templating/templates/modals/query-builder/query-builder-modal.element.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,7 @@ export default class UmbTemplateQueryBuilderModalElement extends UmbModalBaseEle
243243
</div>
244244
<div class="row query-results">
245245
<span id="results-count">
246-
${this._templateQuery?.resultCount ?? 0}
247-
<umb-localize key="template_itemsReturned">items returned, in</umb-localize>
248-
${this._templateQuery?.executionTime ?? 0} ms
246+
<umb-localize key="template_publishedItemsReturned" .args=${[this._templateQuery?.resultCount ?? 0, this._templateQuery?.executionTime ?? 0]}>items returned, in</umb-localize>
249247
</span>
250248
${this._templateQuery?.sampleResults.map(
251249
(sample) => html`<span><umb-icon name=${sample.icon}></umb-icon>${sample.name}</span>`,

0 commit comments

Comments
 (0)