From 35a49c0fd5ba46a598b0992d0085b73d23deebf3 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 25 Jan 2017 21:47:47 +0100 Subject: [PATCH] plural --- static/js/item.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/item.js b/static/js/item.js index 20eb7b72..13ced163 100644 --- a/static/js/item.js +++ b/static/js/item.js @@ -59,7 +59,8 @@ pandora.ui.item = function() { .html( html + '
' - + Ox._('There are {1}', [ + + Ox._('There {0} {2}', [ + (result.data.numberofdocuments == 1 ? 'is' : 'are'), '/' + pandora.user.ui.item + '/documents', Ox.formatCount(result.data.numberofdocuments, 'document') ])