fix menu text

This commit is contained in:
Rolux 2016-01-05 23:05:35 +05:30
parent 7682ebb1df
commit ed17a54b26

View file

@ -610,8 +610,9 @@ oml.ui.mainMenu = function() {
selectionItemName = ( selectionItemName = (
selectionItems > 1 ? Ox.formatNumber(selectionItems) + ' ' : '' selectionItems > 1 ? Ox.formatNumber(selectionItems) + ' ' : ''
) + Ox._(selectionItems == 1 ? 'Book' : 'Books'), ) + Ox._(selectionItems == 1 ? 'Book' : 'Books'),
editItemName = Ox.formatNumber(selectionItems) + ' ' editItemName = (
+ Ox._(selectionItems == 1 ? 'Book' : 'Books'), selectionItems > 0 ? Ox.formatNumber(selectionItems) + ' ' : ''
) + Ox._(selectionItems == 1 ? 'Book' : 'Books'),
clipboardItems = oml.clipboard.items(), clipboardItems = oml.clipboard.items(),
clipboardType = oml.clipboard.type(), clipboardType = oml.clipboard.type(),
clipboardItemName = !clipboardItems ? '' clipboardItemName = !clipboardItems ? ''