forked from mia/Aegisub
Make top-level menubar items translatable
Originally committed to SVN as r6684.
This commit is contained in:
parent
ee84961d36
commit
e2edd71f9d
1 changed files with 2 additions and 2 deletions
|
@ -430,12 +430,12 @@ namespace menu {
|
|||
read_entry(*it, "submenu", &submenu);
|
||||
read_entry(*it, "text", &disp);
|
||||
if (!submenu.empty()) {
|
||||
menu->Append(build_menu(submenu, c, &menu->cm), lagi_wxString(disp));
|
||||
menu->Append(build_menu(submenu, c, &menu->cm), _(lagi_wxString(disp)));
|
||||
}
|
||||
else {
|
||||
read_entry(*it, "special", &submenu);
|
||||
if (submenu == "automation")
|
||||
menu->Append(new AutomationMenu(c, &menu->cm), lagi_wxString(disp));
|
||||
menu->Append(new AutomationMenu(c, &menu->cm), _(lagi_wxString(disp)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue