From 08816eb0f79d3be94a522c25c18025ab3e79908a Mon Sep 17 00:00:00 2001 From: Kenrick Tandrian <60643640+KenTandrian@users.noreply.github.com> Date: Sun, 29 Nov 2026 12:13:49 +0700 Subject: [PATCH] Bugfix/improve paginator range label translation (#8485) Improve paginator range label translation --- apps/client/src/app/adapter/custom-paginator-intl.ts | 2 +- apps/client/src/locales/messages.ca.xlf | 8 ++++++++ apps/client/src/locales/messages.de.xlf | 8 ++++++++ apps/client/src/locales/messages.es.xlf | 8 ++++++++ apps/client/src/locales/messages.fr.xlf | 8 ++++++++ apps/client/src/locales/messages.it.xlf | 8 ++++++++ apps/client/src/locales/messages.ja.xlf | 8 ++++++++ apps/client/src/locales/messages.ko.xlf | 8 ++++++++ apps/client/src/locales/messages.nl.xlf | 8 ++++++++ apps/client/src/locales/messages.pl.xlf | 8 ++++++++ apps/client/src/locales/messages.pt.xlf | 8 ++++++++ apps/client/src/locales/messages.tr.xlf | 8 ++++++++ apps/client/src/locales/messages.uk.xlf | 8 ++++++++ apps/client/src/locales/messages.xlf | 7 +++++++ apps/client/src/locales/messages.zh.xlf | 8 ++++++++ 15 files changed, 112 insertions(+), 1 deletion(-) diff --git a/apps/client/src/app/adapter/custom-paginator-intl.ts b/apps/client/src/app/adapter/custom-paginator-intl.ts index 8bfd139420..ca4a4b3bb9 100644 --- a/apps/client/src/app/adapter/custom-paginator-intl.ts +++ b/apps/client/src/app/adapter/custom-paginator-intl.ts @@ -30,7 +30,7 @@ export class CustomPaginatorIntl extends MatPaginatorIntl { const total = this.formatNumber(Math.max(length, 0)); - return `${range} ${$localize`of`} ${total}`; + return $localize`${range}:range: of ${total}:total:`; }; public setLocale(aLocale: string) { diff --git a/apps/client/src/locales/messages.ca.xlf b/apps/client/src/locales/messages.ca.xlf index 4df395e687..e679a52cb8 100644 --- a/apps/client/src/locales/messages.ca.xlf +++ b/apps/client/src/locales/messages.ca.xlf @@ -5119,6 +5119,14 @@ 20 + + of + of + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Seleccioneu Fitxer diff --git a/apps/client/src/locales/messages.de.xlf b/apps/client/src/locales/messages.de.xlf index 0363827c8a..e79dda9754 100644 --- a/apps/client/src/locales/messages.de.xlf +++ b/apps/client/src/locales/messages.de.xlf @@ -4545,6 +4545,14 @@ 20 + + of + von + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Datei auswählen diff --git a/apps/client/src/locales/messages.es.xlf b/apps/client/src/locales/messages.es.xlf index 6d74337569..59cbcbee73 100644 --- a/apps/client/src/locales/messages.es.xlf +++ b/apps/client/src/locales/messages.es.xlf @@ -4522,6 +4522,14 @@ 20 + + of + de + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Seleccionar archivo diff --git a/apps/client/src/locales/messages.fr.xlf b/apps/client/src/locales/messages.fr.xlf index 1a8e389be3..b4c82161f2 100644 --- a/apps/client/src/locales/messages.fr.xlf +++ b/apps/client/src/locales/messages.fr.xlf @@ -4521,6 +4521,14 @@ 20 + + of + sur + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Selectionner un Fichier diff --git a/apps/client/src/locales/messages.it.xlf b/apps/client/src/locales/messages.it.xlf index a70448f7e8..014db4059f 100644 --- a/apps/client/src/locales/messages.it.xlf +++ b/apps/client/src/locales/messages.it.xlf @@ -4522,6 +4522,14 @@ 20 + + of + di + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Seleziona il file diff --git a/apps/client/src/locales/messages.ja.xlf b/apps/client/src/locales/messages.ja.xlf index a00e2e5c32..6d4a67b6c6 100644 --- a/apps/client/src/locales/messages.ja.xlf +++ b/apps/client/src/locales/messages.ja.xlf @@ -4759,6 +4759,14 @@ 20 + + of + 件中 + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File ファイルを選択 diff --git a/apps/client/src/locales/messages.ko.xlf b/apps/client/src/locales/messages.ko.xlf index f78dfe2ca3..8e78b3e70b 100644 --- a/apps/client/src/locales/messages.ko.xlf +++ b/apps/client/src/locales/messages.ko.xlf @@ -4751,6 +4751,14 @@ 20 + + of + 개 중 + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File 파일 선택 diff --git a/apps/client/src/locales/messages.nl.xlf b/apps/client/src/locales/messages.nl.xlf index 18744015e3..2ebe075e4f 100644 --- a/apps/client/src/locales/messages.nl.xlf +++ b/apps/client/src/locales/messages.nl.xlf @@ -4521,6 +4521,14 @@ 20 + + of + van + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Selecteer bestand diff --git a/apps/client/src/locales/messages.pl.xlf b/apps/client/src/locales/messages.pl.xlf index 4491f9eb0d..420a10fd55 100644 --- a/apps/client/src/locales/messages.pl.xlf +++ b/apps/client/src/locales/messages.pl.xlf @@ -4718,6 +4718,14 @@ 20 + + of + z + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Wybierz plik diff --git a/apps/client/src/locales/messages.pt.xlf b/apps/client/src/locales/messages.pt.xlf index 3504f4ae53..3f511ee299 100644 --- a/apps/client/src/locales/messages.pt.xlf +++ b/apps/client/src/locales/messages.pt.xlf @@ -4521,6 +4521,14 @@ 20 + + of + de + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Selecionar Ficheiro diff --git a/apps/client/src/locales/messages.tr.xlf b/apps/client/src/locales/messages.tr.xlf index 9bed2c560a..ce0630bded 100644 --- a/apps/client/src/locales/messages.tr.xlf +++ b/apps/client/src/locales/messages.tr.xlf @@ -3746,6 +3746,14 @@ 20 + + of + / + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Dosya Seç diff --git a/apps/client/src/locales/messages.uk.xlf b/apps/client/src/locales/messages.uk.xlf index 44c720e1b2..f7be8d0066 100644 --- a/apps/client/src/locales/messages.uk.xlf +++ b/apps/client/src/locales/messages.uk.xlf @@ -5479,6 +5479,14 @@ 20 + + of + з + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File Вибрати файл diff --git a/apps/client/src/locales/messages.xlf b/apps/client/src/locales/messages.xlf index 0f726d012c..90f54d090f 100644 --- a/apps/client/src/locales/messages.xlf +++ b/apps/client/src/locales/messages.xlf @@ -4333,6 +4333,13 @@ 20 + + of + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File diff --git a/apps/client/src/locales/messages.zh.xlf b/apps/client/src/locales/messages.zh.xlf index da1ad82623..3047395375 100644 --- a/apps/client/src/locales/messages.zh.xlf +++ b/apps/client/src/locales/messages.zh.xlf @@ -4735,6 +4735,14 @@ 20 + + of + 第 条,共 条 + + apps/client/src/app/adapter/custom-paginator-intl.ts + 33 + + Select File 选择文件