Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: gd_on on September 27, 2008, 07:22:08 pm

Title: Small bug in project importer plugin
Post by: gd_on on September 27, 2008, 07:22:08 pm
In projectsimporter.cpp at line 103 the original code is : (actual svn rev 5231)
fileMenu->Insert(++id, wxNewId(), _T("&Import project"), m_Menu);

It works but the menu "Import project" cannot be translated in localized version of C::B.
I think it should be :
fileMenu->Insert(++id, wxNewId(), _("&Import project"), m_Menu);

Like that, this menu item is translatable.

gd_on
Title: Re: Small bug in project importer plugin
Post by: nanyu on September 28, 2008, 04:20:15 am
(sorry for my english...)

the same situation is the "Help" menu item and the "View" item.
after the c::b applied a localized file, all the "Help plugin" menuitem was lose;
and the "Open files list " menu item was lose.
Title: Re: Small bug in project importer plugin
Post by: nanyu on September 28, 2008, 04:22:06 am
here is a screenshot :
(http://forums.codeblocks.org/index.php?action=dlattach;topic=9230.0;attach=2777;image)