From eb91ac0c3ccd06426c53405842fe3a2919d58e13 Mon Sep 17 00:00:00 2001 From: jonaswinkler Date: Sat, 2 Jan 2021 12:52:10 +0100 Subject: [PATCH] cleared up some plural forms --- src-ui/messages.xlf | 36 ++++++------------- .../upload-file-widget.component.html | 2 +- .../document-list.component.html | 4 +-- 3 files changed, 14 insertions(+), 28 deletions(-) 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 @@ 71 - - {VAR_PLURAL, plural, =1 {document} other {documents}} - - src/app/components/document-list/document-list.component.html - 86 - - - - Selected of + + {VAR_PLURAL, plural, =1 {Selected of document} other {Selected of documents}} src/app/components/document-list/document-list.component.html 86 @@ -1019,13 +1012,6 @@ 50 - - Score: - - src/app/components/document-list/document-card-large/document-card-large.component.html - 61 - - Created: @@ -1047,6 +1033,13 @@ 24 + + Score: + + src/app/components/document-list/document-card-large/document-card-large.component.html + 61 + + View in browser @@ -1295,15 +1288,8 @@ 5 - - {VAR_PLURAL, plural, =1 {file} =other { files}} - - src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html - 13 - - - - Uploading ... + + {VAR_PLURAL, plural, =1 {Uploading file...} =other {Uploading files...}} src/app/components/dashboard/widgets/upload-file-widget/upload-file-widget.component.html 13 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 @@
-

Uploading {uploadStatus.length, plural, =1 {file} =other {{{uploadStatus.length}} files}}...

+

{uploadStatus.length, plural, =1 {Uploading file...} =other {Uploading {{uploadStatus.length}} files...}}

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 @@
-

Selected {{list.selected.size}} of {{list.collectionSize || 0}} {list.collectionSize, plural, =1 {document} other {documents}}

-

{list.collectionSize, plural, =1 {1 document} other {{{list.collectionSize || 0}} documents}}

+

{list.collectionSize, plural, =1 {Selected {{list.selected.size}} of {{list.collectionSize || 0}} document} other {Selected {{list.selected.size}} of {{list.collectionSize || 0}} documents}}

+

{list.collectionSize, plural, =1 {1 document} other {{{list.collectionSize || 0}} documents}}