forked from 0x2620/pandora
fix find menu localization
This commit is contained in:
parent
9942e4aa16
commit
cb8d65058a
1 changed files with 5 additions and 3 deletions
|
@ -166,9 +166,11 @@ pandora.ui.mainMenu = function() {
|
|||
{ id: 'findMenu', title: Ox._('Find'), items: [
|
||||
{ id: 'find', title: Ox._('Find'), items: [
|
||||
{ group: 'find', min: 0, max: 1, items: pandora.site.findKeys.map(function(key, i) {
|
||||
return Ox.extend({
|
||||
checked: key.id == findState.key
|
||||
}, key);
|
||||
return {
|
||||
id: key.id,
|
||||
checked: key.id == findState.key,
|
||||
title: Ox._(key.title)
|
||||
};
|
||||
}) }
|
||||
] },
|
||||
{ id: 'advancedfind', title: Ox._('Advanced Find...'), keyboard: 'shift control f' },
|
||||
|
|
Loading…
Reference in a new issue