Browse Source
Bugfix/improve paginator range label translation (#8485)
Improve paginator range label translation
pull/8483/merge
Kenrick Tandrian
6 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
15 changed files with
112 additions and
1 deletions
-
apps/client/src/app/adapter/custom-paginator-intl.ts
-
apps/client/src/locales/messages.ca.xlf
-
apps/client/src/locales/messages.de.xlf
-
apps/client/src/locales/messages.es.xlf
-
apps/client/src/locales/messages.fr.xlf
-
apps/client/src/locales/messages.it.xlf
-
apps/client/src/locales/messages.ja.xlf
-
apps/client/src/locales/messages.ko.xlf
-
apps/client/src/locales/messages.nl.xlf
-
apps/client/src/locales/messages.pl.xlf
-
apps/client/src/locales/messages.pt.xlf
-
apps/client/src/locales/messages.tr.xlf
-
apps/client/src/locales/messages.uk.xlf
-
apps/client/src/locales/messages.xlf
-
apps/client/src/locales/messages.zh.xlf
|
|
@ -30,7 +30,7 @@ export class CustomPaginatorIntl extends MatPaginatorIntl { |
|
|
|
|
|
|
|
|
const total = this.formatNumber(Math.max(length, 0)); |
|
|
const total = this.formatNumber(Math.max(length, 0)); |
|
|
|
|
|
|
|
|
return `${range} ${$localize`of`} ${total}`; |
|
|
return $localize`${range}:range: of ${total}:total:`; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
public setLocale(aLocale: string) { |
|
|
public setLocale(aLocale: string) { |
|
|
|
|
|
@ -5119,6 +5119,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="new"><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Seleccioneu Fitxer</target> |
|
|
<target state="translated">Seleccioneu Fitxer</target> |
|
|
|
|
|
@ -4545,6 +4545,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> von <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Datei auswählen</target> |
|
|
<target state="translated">Datei auswählen</target> |
|
|
|
|
|
@ -4522,6 +4522,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> de <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Seleccionar archivo</target> |
|
|
<target state="translated">Seleccionar archivo</target> |
|
|
|
|
|
@ -4521,6 +4521,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> sur <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Selectionner un Fichier</target> |
|
|
<target state="translated">Selectionner un Fichier</target> |
|
|
|
|
|
@ -4522,6 +4522,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> di <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Seleziona il file</target> |
|
|
<target state="translated">Seleziona il file</target> |
|
|
|
|
|
@ -4759,6 +4759,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="total" equiv-text="total"/>件中 <x id="range" equiv-text="range"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">ファイルを選択</target> |
|
|
<target state="translated">ファイルを選択</target> |
|
|
|
|
|
@ -4751,6 +4751,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="total" equiv-text="total"/>개 중 <x id="range" equiv-text="range"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">파일 선택</target> |
|
|
<target state="translated">파일 선택</target> |
|
|
|
|
|
@ -4521,6 +4521,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> van <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Selecteer bestand</target> |
|
|
<target state="translated">Selecteer bestand</target> |
|
|
|
|
|
@ -4718,6 +4718,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> z <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Wybierz plik</target> |
|
|
<target state="translated">Wybierz plik</target> |
|
|
|
|
|
@ -4521,6 +4521,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> de <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Selecionar Ficheiro</target> |
|
|
<target state="translated">Selecionar Ficheiro</target> |
|
|
|
|
|
@ -3746,6 +3746,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> / <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Dosya Seç</target> |
|
|
<target state="translated">Dosya Seç</target> |
|
|
|
|
|
@ -5479,6 +5479,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated"><x id="range" equiv-text="range"/> з <x id="total" equiv-text="total"/></target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">Вибрати файл</target> |
|
|
<target state="translated">Вибрати файл</target> |
|
|
|
|
|
@ -4333,6 +4333,13 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<context-group purpose="location"> |
|
|
<context-group purpose="location"> |
|
|
|
|
|
@ -4735,6 +4735,14 @@ |
|
|
<context context-type="linenumber">20</context> |
|
|
<context context-type="linenumber">20</context> |
|
|
</context-group> |
|
|
</context-group> |
|
|
</trans-unit> |
|
|
</trans-unit> |
|
|
|
|
|
<trans-unit id="7176656706914974584" datatype="html"> |
|
|
|
|
|
<source><x id="range" equiv-text="range"/> of <x id="total" equiv-text="total"/></source> |
|
|
|
|
|
<target state="translated">第 <x id="range" equiv-text="range"/> 条,共 <x id="total" equiv-text="total"/> 条</target> |
|
|
|
|
|
<context-group purpose="location"> |
|
|
|
|
|
<context context-type="sourcefile">apps/client/src/app/adapter/custom-paginator-intl.ts</context> |
|
|
|
|
|
<context context-type="linenumber">33</context> |
|
|
|
|
|
</context-group> |
|
|
|
|
|
</trans-unit> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<trans-unit id="4347553215219271086" datatype="html"> |
|
|
<source>Select File</source> |
|
|
<source>Select File</source> |
|
|
<target state="translated">选择文件</target> |
|
|
<target state="translated">选择文件</target> |
|
|
|