Update chrome/content/zotero/zoteroPane.js

This commit is contained in:
gracile-fr 2012-03-13 20:21:07 +01:00
parent 192162c567
commit 0430e7def5

View file

@ -1253,7 +1253,20 @@ var ZoteroPane = new function()
var msg = Zotero.getString('pane.item.selected.multiple', count);
}
else {
var msg = Zotero.getString('pane.item.selected.zero');
var rowCount = this.itemsView.rowCount;
var str = 'pane.item.unselected.';
switch (rowCount){
case 0:
str += 'zero';
break;
case 1:
str += 'singular';
break;
default:
str += 'plural';
break;
}
var msg = Zotero.getString(str, [rowCount]);
}
this.setItemPaneMessage(msg);