mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-15 07:01:18 +02:00
Pass untranslated command labels to CommandManager...
... and deduce whether to exclude from macros inside NewIdentifier, simplifying argument lists further Also fix the localization of "..." added to names by PluginMenus.cpp
This commit is contained in:
@@ -162,14 +162,12 @@ int ModuleDispatch(ModuleDispatchTypes type)
|
||||
// We add two new commands into the Analyze menu.
|
||||
c->AddItem(
|
||||
_T("A New Command"), // internal name
|
||||
_T("1st Experimental Command"), //displayed name
|
||||
true, // has dialog
|
||||
XO("1st Experimental Command..."), //displayed name
|
||||
ModNullFN( OnFuncFirst ),
|
||||
AudioIONotBusyFlag );
|
||||
c->AddItem(
|
||||
_T("Another New Command"),
|
||||
_T("2nd Experimental Command"),
|
||||
false, // no dialog
|
||||
XO("2nd Experimental Command"),
|
||||
ModNullFN( OnFuncSecond ),
|
||||
AudioIONotBusyFlag );
|
||||
c->ClearCurrentMenu();
|
||||
|
Reference in New Issue
Block a user