Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

cleared up some plural forms

jonaswinklereb91ac0c3ccd
diff --git a/src-ui/messages.xlf b/src-ui/messages.xlf
index 314766dfb..079fd41c1 100644
--- a/src-ui/messages.xlf
+++ b/src-ui/messages.xlf
@@ -79,15 +79,8 @@
<context context-type="linenumber">71</context>
</context-group>
</trans-unit>
- <trans-unit id="546b2014cc578af06b6023a7f38fa77aa9d58f5d" datatype="html">
- <source>{VAR_PLURAL, plural, =1 {document} other {documents}}</source>
- <context-group purpose="location">
- <context context-type="sourcefile">src/app/components/document-list/document-list.component.html</context>
- <context context-type="linenumber">86</context>
- </context-group>
- </trans-unit>
- <trans-unit id="3c298bb50741c8b2641889b0a0e0009769e66370" datatype="html">
- <source>Selected <x id="INTERPOLATION" equiv-text="{{list.selected.size}}"/> of <x id="INTERPOLATION_1" equiv-text="{{list.collectionSize || 0}}"/> <x id="ICU" equiv-text="{list.collectionSize, plural, =1 {document} other {documents}}"/></source>
+ <trans-unit id="08064670ae1497e47fb040ce7f610e55744b8889" datatype="html">
+ <source>{VAR_PLURAL, plural, =1 {Selected <x id="INTERPOLATION"/> of <x id="INTERPOLATION_1"/> document} other {Selected <x id="INTERPOLATION"/> of <x id="INTERPOLATION_1"/> documents}}</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/document-list/document-list.component.html</context>
<context context-type="linenumber">86</context>
@@ -1019,13 +1012,6 @@
<context context-type="linenumber">50</context>
</context-group>
</trans-unit>
- <trans-unit id="9c5fdf21ec2cc7baa6f062f2dc417af45c8dbe60" datatype="html">
- <source>Score:</source>
- <context-group purpose="location">
- <context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context>
- <context context-type="linenumber">61</context>
- </context-group>
- </trans-unit>
<trans-unit id="1b29a8153575e5ad26cc7dd8bd75c4f45f6bfe7e" datatype="html">
<source>Created: <x id="INTERPOLATION" equiv-text="{{document.created | date}}"/></source>
<context-group purpose="location">
@@ -1047,6 +1033,13 @@
<context context-type="linenumber">24</context>
</context-group>
</trans-unit>
+ <trans-unit id="9c5fdf21ec2cc7baa6f062f2dc417af45c8dbe60" datatype="html">
+ <source>Score:</source>
+ <context-group purpose="location">
+ <context context-type="sourcefile">src/app/components/document-list/document-card-large/document-card-large.component.html</context>
+ <context context-type="linenumber">61</context>
+ </context-group>
+ </trans-unit>
<trans-unit id="2840db547019ce8c76b2cdbe3a1653c5b68b06af" datatype="html">
<source>View in browser</source>
<context-group purpose="location">
@@ -1295,15 +1288,8 @@
<context context-type="linenumber">5</context>
</context-group>
</trans-unit>
- <trans-unit id="a7b50b2df68e875a918d1f4f98f358d756139c13" datatype="html">
- <source>{VAR_PLURAL, plural, =1 {file} =other {<x id="INTERPOLATION"/> files}}</source>
- <context-group purpose="location">
- <context context-type="sourcefile">src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html</context>
- <context context-type="linenumber">13</context>
- </context-group>
- </trans-unit>
- <trans-unit id="ec37c68a90632530f5cc8b7e5245cab89ef8bf82" datatype="html">
- <source>Uploading <x id="ICU" equiv-text="{uploadStatus.length, plural, =1 {file} =other {{{uploadStatus.length}} files}}"/>...</source>
+ <trans-unit id="33c76d75ce25ce3b05ab22877f1b6b09dcf603ae" datatype="html">
+ <source>{VAR_PLURAL, plural, =1 {Uploading file...} =other {Uploading <x id="INTERPOLATION"/> files...}}</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html</context>
<context context-type="linenumber">13</context>
diff --git a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html
index 38aff96ab..aa317bd52 100644
--- a/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html
+++ b/src-ui/src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html
@@ -10,7 +10,7 @@
</ngx-file-drop>
</form>
<div *ngIf="uploadVisible" class="mt-3">
- <p i18n>Uploading {uploadStatus.length, plural, =1 {file} =other {{{uploadStatus.length}} files}}...</p>
+ <p i18n>{uploadStatus.length, plural, =1 {Uploading file...} =other {Uploading {{uploadStatus.length}} files...}}</p>
<ngb-progressbar [value]="loadedSum" [max]="totalSum" [striped]="true" [animated]="uploadStatus.length > 0">
</ngb-progressbar>
</div>
diff --git a/src-ui/src/app/components/document-list/document-list.component.html b/src-ui/src/app/components/document-list/document-list.component.html
index e627c428d..bd7797e14 100644
--- a/src-ui/src/app/components/document-list/document-list.component.html
+++ b/src-ui/src/app/components/document-list/document-list.component.html
@@ -83,8 +83,8 @@
</div>
<div class="d-flex justify-content-between align-items-center">
- <p i18n *ngIf="list.selected.size > 0">Selected {{list.selected.size}} of {{list.collectionSize || 0}} {list.collectionSize, plural, =1 {document} other {documents}}</p>
- <p *ngIf="list.selected.size == 0">{list.collectionSize, plural, =1 {1 document} other {{{list.collectionSize || 0}} documents}}</p>
+ <p i18n *ngIf="list.selected.size > 0">{list.collectionSize, plural, =1 {Selected {{list.selected.size}} of {{list.collectionSize || 0}} document} other {Selected {{list.selected.size}} of {{list.collectionSize || 0}} documents}}</p>
+ <p i18n *ngIf="list.selected.size == 0">{list.collectionSize, plural, =1 {1 document} other {{{list.collectionSize || 0}} documents}}</p>
<ngb-pagination [pageSize]="list.currentPageSize" [collectionSize]="list.collectionSize" [(page)]="list.currentPage" [maxSize]="5"
[rotate]="true" (pageChange)="list.reload()" aria-label="Default pagination"></ngb-pagination>
</div>