From e7490486c4dfff383d9411617ac84bd73f77e03a Mon Sep 17 00:00:00 2001 From: Twan van Laarhoven Date: Sun, 27 Sep 2020 15:24:26 +0200 Subject: [PATCH] Fix #84: "menu_item" instead of "menu item" for symbol font localization --- CHANGES.md | 1 + src/data/symbol_font.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 3118afb3..d56a179a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ HEAD: new items added as changes are made Bug fixes: * Fixed: crash in expand_keywords when given empty tags (#90) * 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 ------------------------------------------------------------------------------ diff --git a/src/data/symbol_font.cpp b/src/data/symbol_font.cpp index 99b919bd..9e8481f2 100644 --- a/src/data/symbol_font.cpp +++ b/src/data/symbol_font.cpp @@ -479,7 +479,7 @@ wxMenu* InsertSymbolMenu::makeMenu(int id, SymbolFont& font) const { return nullptr; } 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, menu_name.Replace(_("\t "),_("\t")); #ifdef __WXMSW__