Make strings from the menu json translatable

Originally committed to SVN as r6228.
This commit is contained in:
Thomas Goyne 2012-01-08 01:34:12 +00:00
parent 4d7518e127
commit 8511376da5
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ public:
wxString menu_text = text.empty() ?
get_menu_text(co, context) :
lagi_wxString(text) + "\t" + hotkey::get_hotkey_str_first("Default", co->name());
_(lagi_wxString(text)) + "\t" + hotkey::get_hotkey_str_first("Default", co->name());
wxMenuItem *item = new wxMenuItem(parent, MENU_ID_BASE + items.size(), menu_text, co->StrHelp(), kind);
#ifndef __WXMAC__