From a97da8a9badc72297fe59ad8de9d6a3481e00e9f Mon Sep 17 00:00:00 2001 From: tao wang Date: Thu, 18 Aug 2022 09:43:05 +0800 Subject: [PATCH] FIX:menu bar text not translated in MacOS Change-Id: I334a1e859e0c4455190202c95e3132cfad976ed4 --- src/slic3r/GUI/MainFrame.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/MainFrame.cpp b/src/slic3r/GUI/MainFrame.cpp index 2499ce92d..acbd9d197 100644 --- a/src/slic3r/GUI/MainFrame.cpp +++ b/src/slic3r/GUI/MainFrame.cpp @@ -2084,13 +2084,13 @@ void MainFrame::init_menubar_as_editor() //m_topbar->AddDropDownMenuItem(config_item); m_topbar->AddDropDownSubMenu(helpMenu, _L("Help")); #else - m_menubar->Append(fileMenu, _L("&File")); + m_menubar->Append(fileMenu, wxString::Format("&%s", _L("File"))); if (editMenu) - m_menubar->Append(editMenu, _L("&Edit")); + m_menubar->Append(editMenu, wxString::Format("&%s", _L("Edit"))); if (viewMenu) - m_menubar->Append(viewMenu, _L("&View")); + m_menubar->Append(viewMenu, wxString::Format("&%s", _L("View"))); if (helpMenu) - m_menubar->Append(helpMenu, _L("&Help")); + m_menubar->Append(helpMenu, wxString::Format("&%s", _L("Help"))); SetMenuBar(m_menubar); #endif