update undo/redo menu text

This commit is contained in:
rolux 2013-08-03 14:54:46 +00:00
parent d8e6e18855
commit d25368b6b6

View file

@ -298,10 +298,9 @@ pandora.createLinks = function($element) {
paste: 'Pasting' paste: 'Pasting'
}, },
type = getType(items), type = getType(items),
text = Ox._(actions[action]) + ' ' + Ox.formatCount( text = Ox._(actions[action]) + ' ' + (
items.length, items.length == 1 ? Ox._(type == 'item' ? pandora.site.itemName.singular : 'Clip')
type == 'item' ? pandora.site.itemName.singular : 'Clip', : items.length + ' ' + Ox._(type == 'item' ? pandora.site.itemName.plural : 'Clips')
type == 'item' ? pandora.site.itemName.plural : 'Clips'
); );
if (action == 'copy' || action == 'paste') { if (action == 'copy' || action == 'paste') {
addItems(items, targets[0], addToHistory); addItems(items, targets[0], addToHistory);