From: Bill Erickson Date: Mon, 11 Jan 2021 21:08:08 +0000 (-0500) Subject: LP1888723 Value summaries '1 copy' vs 'x copies' X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=45add5664c5a23317f92a4092fe040a5f319e03b;p=working%2FEvergreen.git LP1888723 Value summaries '1 copy' vs 'x copies' Add pluralization support to the copy summary counts so that values linked to only a single copy display as "1 copy" instead of "1 copies" Signed-off-by: Bill Erickson Signed-off-by: Ruth Frasur Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/holdings/batch-item-attr.component.html b/Open-ILS/src/eg2/src/app/staff/share/holdings/batch-item-attr.component.html index bd87837ece..a4599eba4b 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holdings/batch-item-attr.component.html +++ b/Open-ILS/src/eg2/src/app/staff/share/holdings/batch-item-attr.component.html @@ -52,7 +52,9 @@ {{count.key}} -
{{count.value}} copies
+
+ {count.value, plural, =1 {1 copy} other {{{count.value}} copies}} +