mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-27 15:53:49 +01:00
Construct MenuItem with untranslated label, so it can be static...
... and other storage of TranslatableString instead of naked wxString, for management of menu items, in CommandManager
This commit is contained in:
@@ -420,7 +420,7 @@ MenuTable::BaseItemPtr HelpMenu( AudacityProject & )
|
||||
|
||||
using namespace MenuTable;
|
||||
|
||||
return Menu( _("&Help"),
|
||||
return Menu( XO("&Help"),
|
||||
// QuickFix menu item not in Audacity 2.3.1 whilst we discuss further.
|
||||
#ifdef EXPERIMENTAL_DA
|
||||
// DA: Has QuickFix menu item.
|
||||
@@ -439,7 +439,7 @@ MenuTable::BaseItemPtr HelpMenu( AudacityProject & )
|
||||
|
||||
Separator(),
|
||||
|
||||
Menu( _("&Diagnostics"),
|
||||
Menu( XO("&Diagnostics"),
|
||||
Command( wxT("DeviceInfo"), XXO("Au&dio Device Info..."),
|
||||
FN(OnAudioDeviceInfo),
|
||||
AudioIONotBusyFlag ),
|
||||
|
||||
Reference in New Issue
Block a user