Does anyone know is translation magic work on script files like "plugin_find_broken_files.script"?
Tim S.
I opened "plugin_find_broken_files.script" in **\CodeBlocks\share\CodeBlocks\scripts\ , and found that there is such a function:
// create menubar items
function GetMenu()
{
local entries = ::wxArrayString();
entries.Add(_("Plugins") + _T("/0:-") + _("Find broken files in project"), 1); return entries;
}
Obviously, here lies the problem: it tries to add a menuentry under the menu named "Plugins".
In order to eliminate the problem, I should make a translation here.
However, this is not a good solution. Because I found another magic:
Open C::B (whatever the version or language), click "Plugins > Manage plugins", select one plugin in "Installed plugins" list, then click "Disable", the menu "plugins" will refresh, and "Find broken files in project" disappeared! (It will return back when restart C::B).
In my opinion, the plugin "Find broken files in project" shouldn't add itself to the menu by a startup script. It should be managed as same as other plugins!