From 66f33b368b780f3758fa81cba550cf3322056322 Mon Sep 17 00:00:00 2001 From: Hadi Charara Date: Sun, 3 Jul 2022 13:46:54 -0400 Subject: [PATCH] Localized page flippers --- src/components/imageDownloader/imageDownloader.js | 2 +- src/scripts/libraryBrowser.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/imageDownloader/imageDownloader.js b/src/components/imageDownloader/imageDownloader.js index b88eea6688..ad69caa7dc 100644 --- a/src/components/imageDownloader/imageDownloader.js +++ b/src/components/imageDownloader/imageDownloader.js @@ -122,7 +122,7 @@ import template from './imageDownloader.template.html'; html += ''; const startAtDisplay = totalRecordCount ? startIndex + 1 : 0; - html += globalize.translate('ListPaging', startAtDisplay, recordsEnd, totalRecordCount); + html += globalize.translate('ListPaging', startAtDisplay.toLocaleString(), recordsEnd.toLocaleString(), totalRecordCount.toLocaleString()); html += ''; diff --git a/src/scripts/libraryBrowser.js b/src/scripts/libraryBrowser.js index 426b53eb45..2f2268498d 100644 --- a/src/scripts/libraryBrowser.js +++ b/src/scripts/libraryBrowser.js @@ -90,7 +90,7 @@ export function getQueryPagingHtml (options) { if (showControls) { html += ''; - html += globalize.translate('ListPaging', (totalRecordCount ? startIndex + 1 : 0), recordsEnd, totalRecordCount); + html += globalize.translate('ListPaging', (totalRecordCount ? startIndex + 1 : 0).toLocaleString(), recordsEnd.toLocaleString(), totalRecordCount.toLocaleString()); html += ''; }