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

a little bug of "help plugin"

<< < (3/3)

nanyu:
killerbot ,  Really solved? your action really faster! could you send a Nightly build version to me? I am waitting.
here is my msn: nanyu1234#hotmail.com  (#->@)

killerbot:
you don't build them yourself, so you need a nightly ?

Will build one later today.

Currently I fixed the ones that move position and the ones that disappear.
The ones that can NOT be translated aren't fixed yet.

killerbot:
For the moment I can't figure out why some entries in the search menu refuse to be translated. in code it looks the same :

--- Code: ---    pos = menuBar->FindMenu(_("Sea&rch"));
    if (pos != wxNOT_FOUND)
    {
        m_SearchMenu = menuBar->GetMenu(pos);
        m_SearchMenu->Append(idMenuGotoFunction, _("Goto function...\tCtrl-Alt-G"));
        m_SearchMenu->Append(idMenuGotoPrevFunction, _("Goto previous function\tCtrl-PgUp"));
        m_SearchMenu->Append(idMenuGotoNextFunction, _("Goto next function\tCtrl-PgDn"));
        m_SearchMenu->Append(idMenuGotoDeclaration, _("Goto declaration\tCtrl-Shift-."));
        m_SearchMenu->Append(idMenuGotoImplementation, _("Goto implementation\tCtrl-."));
        m_SearchMenu->Append(idMenuOpenIncludeFile, _("Open include file\tCtrl-Alt-."));
    }

--- End code ---

The "Goto function..." is translated but the other are NOT.

killerbot:
maybe the wx :Add wxXXX can be translated now : note each consists out of 2 parts "Add" and "wxXXX" (rev 5309)

nanyu:
"The "Goto function..." is translated but the other are NOT. "

oh, I see now. this isn't a bug of c::b.   they can NOT be translated  just because

in my “.mo” file, the caption of these menu item was without "hot key"

etc :"Goto previous function\tCtrl-PgUp" in my mo file, it is ""Goto previous function" since these commands
maybe have no hot key long long ago.

(yes.. "Goto..." menu items now can be translated, aft I append the part of hot key)

-------------------
btw I was build c::b by myself, but have a link fail: "cannot find -lwxmsw28u".
and the linker setting, i found "wxmsw28$(WX_SUFFIX)" ... HOW the WX_SUFFIX work?
and the search directoies , i found $(#WX.lib)\gcc_dll$(WX_CFG)\msw$(WX_SUFFIX), I don't understand them...sorry. can you give me some hints?
i am in winxp + mingw32 + gcc, and i have the wxWidgets build (version 2.8.8 and 2.8.9) thks!

------------
:D i known the WX_SUFFIX = 'u' , and next step, i need a mono wxWidgets dll. ...

Navigation

[0] Message Index

[*] Previous page

Go to full version