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') ])