fix find menu localization

This commit is contained in:
rolux 2013-08-03 20:13:56 +00:00
parent 9942e4aa16
commit cb8d65058a

View file

@ -166,9 +166,11 @@ pandora.ui.mainMenu = function() {
{ id: 'findMenu', title: Ox._('Find'), items: [ { id: 'findMenu', title: Ox._('Find'), items: [
{ id: 'find', title: Ox._('Find'), items: [ { id: 'find', title: Ox._('Find'), items: [
{ group: 'find', min: 0, max: 1, items: pandora.site.findKeys.map(function(key, i) { { group: 'find', min: 0, max: 1, items: pandora.site.findKeys.map(function(key, i) {
return Ox.extend({ return {
checked: key.id == findState.key id: key.id,
}, key); checked: key.id == findState.key,
title: Ox._(key.title)
};
}) } }) }
] }, ] },
{ id: 'advancedfind', title: Ox._('Advanced Find...'), keyboard: 'shift control f' }, { id: 'advancedfind', title: Ox._('Advanced Find...'), keyboard: 'shift control f' },