fix add annotation keyboard shortcuts in /help/editor

This commit is contained in:
rolux 2014-01-17 15:10:45 +00:00
parent 97cd4cb087
commit 2def691f04

View file

@ -56,7 +56,7 @@ pandora.ui.helpDialog = function() {
strings = Ox.clone(pandora.site, true); strings = Ox.clone(pandora.site, true);
strings.addAnnotationShortcuts = strings.layers.map(function(layer, index) { strings.addAnnotationShortcuts = strings.layers.map(function(layer, index) {
return '<tr><td>' + index + '</td><td>' + Ox._('Add {0}', [layer.item.toLowerCase()]) + '</td></tr>'; return '<tr><td>' + (index + 1) + '</td><td>' + Ox._('Add {0}', [layer.item.toLowerCase()]) + '</td></tr>';
}).join('\n'); }).join('\n');
strings.itemName = Ox.map(strings.itemName, function(v) { strings.itemName = Ox.map(strings.itemName, function(v) {
return v.toLowerCase(); return v.toLowerCase();