Fix #84: "menu_item" instead of "menu item" for symbol font localization

This commit is contained in:
Twan van Laarhoven
2020-09-27 15:24:26 +02:00
parent a9077cd265
commit e7490486c4
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ HEAD: new items added as changes are made
Bug fixes: Bug fixes:
* Fixed: crash in expand_keywords when given empty tags (#90) * Fixed: crash in expand_keywords when given empty tags (#90)
* Fixed: tab traversal in native look editors (style and set info tabs) (#98) * Fixed: tab traversal in native look editors (style and set info tabs) (#98)
* Fixed: Mana Symbol Menu Items were notlonger using names from locale (#84)
* Auto replaces that match "" are now disabled * Auto replaces that match "" are now disabled
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
+1 -1
View File
@@ -479,7 +479,7 @@ wxMenu* InsertSymbolMenu::makeMenu(int id, SymbolFont& font) const {
return nullptr; return nullptr;
} }
wxMenuItem* InsertSymbolMenu::makeMenuItem(wxMenu* parent, int first_id, SymbolFont& font) const { wxMenuItem* InsertSymbolMenu::makeMenuItem(wxMenu* parent, int first_id, SymbolFont& font) const {
wxString menu_name = tr(font, _("menu item"), name, capitalize); wxString menu_name = tr(font, _("menu_item"), name, capitalize);
// ensure that there is not actually an accelerator string, // ensure that there is not actually an accelerator string,
menu_name.Replace(_("\t "),_("\t")); menu_name.Replace(_("\t "),_("\t"));
#ifdef __WXMSW__ #ifdef __WXMSW__