The standard menu text comes from Microsoft.VisualStudio.Modeling.Sdk.Shell.dll. The menu text comes from within this DLL. Having said that, it dose not prevent you from writing your own command set. In another words, you can simply override
protected virtual IList<MenuCommand> GetMenuCommands()
defined in Microsoft.VisualStudio.Modeling.Shell namespace. In your generated language, you have a commandset.cs file generated for you (in your GeneratedCode folder under your DslPackage project.). Yon will need to create a partial class MyLangCommandSet and override this command to supply your own menu text (which can be localized if you wish). NOtice that we're using the double-derived scheme for you to customize your code. In your case, you would simply skiping what the base (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll) proffer and roll your own own command handlers...
Patrick Tseng |