update undo/redo menu text
This commit is contained in:
parent
d8e6e18855
commit
d25368b6b6
1 changed files with 3 additions and 4 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue