主权项 |
1. A method comprising:
generating, using a computing device, a menu document that specifies one or more menu items, to be included in a menu, that correspond to one or more actions available via code of a module, wherein at least one menu item is associated with a behavior that specifies whether the at least one menu item is to be output in the menu; generating, using the computing device, a string document that specifies one or more strings to represent the one or more menu items in the menu; and making the menu document and the string document, using the computing device, available to a client that includes the module to output the menu having the one or more strings to represent the menu items and which are selectable to cause a corresponding said action to be performed by the module, wherein the string document is configurable to allow a user to specify a user-defined, customized name representing the one or more menu items to be displayed. |