Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

a little bug of "help plugin"

(1/3) > >>

nanyu:
in the file : 
codeblocks\src\plugins\contrib\help_plugin\help_plugin.cpp
line : 364  in function : HelpPlugin::AddToHelpMenu(...)

int pos = m_pMenuBar->FindMenu(_("Help"));

-------

now , I try to convert the language of C::B from english to chinese,

m_pMenuBar->FindMenu(_("Help")) maybe return a -1?





[attachment deleted by admin]

WNiva:
I have found the same bug with german translation.
I have insert "&" in the line:
  int pos = m_pMenuBar->FindMenu(_("&Help"));
With the current SVN version compiled works with german translation perfect.

But where can insert this change in the current version ?
(I can not transmit my changes to SVN)

Ceniza:
There you go. Revision 5300.

nanyu:
thanks! very good! 

But almost all the plug-in's menu item can find the same bug.
Could Ceniza notice all plug-in 's authors this bug and solve it?

thanks again.

killerbot:

--- Quote from: nanyu on November 10, 2008, 10:44:11 pm ---thanks! very good! 

But almost all the plug-in's menu item can find the same bug.
Could Ceniza notice all plug-in 's authors this bug and solve it?

thanks again.


--- End quote ---

can you say which plug-ins ? I will try to fix them.

Navigation

[0] Message Index

[#] Next page

Go to full version