From cb8d65058a2f8bc76baa71afe22f86227a1c9a99 Mon Sep 17 00:00:00 2001 From: rolux Date: Sat, 3 Aug 2013 20:13:56 +0000 Subject: [PATCH] fix find menu localization --- static/js/mainMenu.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/js/mainMenu.js b/static/js/mainMenu.js index f0558d5f..73e9798d 100644 --- a/static/js/mainMenu.js +++ b/static/js/mainMenu.js @@ -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' },