This code is actually pretty neat because it allows you to pre-populate any module parameter when creating a new module. Could have a wealth of other applications.
Test plan:
Add a new menu type
Check that this link appears in the menu manager list against the new menu "**Add a module for this menu type."
Click link and ensure you go to a new menu page and the menutype is populated. Save and check details.
Create other modules and edit other modules and ensure the "menutype" behaves as expected.
The changes to the language file are because I sorted it (thought it would be in alpha order already, whoops). Only adding the COM_MENUS_ADD_MENU_MODULE="Add a module for this menu type." key.
Mistake in the ini file.
A comment has been moved away from its position.
; in the following string
; %1$s is for module title, %2$s is for access-title, %3$s is for position
Trying now to make a working SVN patch as eclipse does not like
The changes to the language file are because I sorted it (thought it would be in alpha order already, whoops). Only adding the COM_MENUS_ADD_MENU_MODULE="Add a module for this menu type." key.