Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Doxygen script plugin
rockstar1707:
Hi jomeggs,
thanks for the help. Changing of input encoding to UTF-8 really fixed the problem. Though it took me some time till I figured out that you have to delete "doxygen.cfg" file and to restart Code::Blocks for the changes to take effect :)
However, things work as expected now :)
Thanks again.
vri:
Jomeggs,
Thank you very much for this splendid plugin. I find it very useful.
Theo.
nanyu:
my suggestion:
line 100 ~ 101 , pls modify these two lines to :
entries.Add(_("&Tools")+_T("/")+_("0:Generate documentation"), 1);
entries.Add(_("&Tools")+_T("/")+_("1:Generate documentation with dependants"), 2);
then , it can work well with c::b which a Chinese local language.
jomeggs:
@vri :)
@nanyu
I followed your suggestion and furthermore removed the second (yet not working) menue entry. The download is to be found
on page one, first post.
However, I don't really understand the difference between my code and your version. Apart from the additional ampersand, what is the sense behind the now splitted string? In my eyes _() and _T() should do the same, am I wrong at this point?
Jenna:
--- Quote from: jomeggs on March 15, 2009, 03:06:10 pm ---In my eyes _() and _T() should do the same, am I wrong at this point?
--- End quote ---
Yes, see quotes from wxWidgets docu:
--- Quote ---_
const wxChar * _(const char *s)
This macro expands into a call to wxGetTranslation function, so it marks the message for the extraction by xgettext just as wxTRANSLATE does, but also returns the translation of the string for the current locale during execution.
Don't confuse this macro with _T()!
--- End quote ---
--- Quote ---_T
wxChar _T(char ch)
const wxChar * _T(const wxChar ch)
This macro is exactly the same as wxT and is defined in wxWidgets simply because it may be more intuitive for Windows programmers as the standard Win32 headers also define it (as well as yet another name for the same macro which is _TEXT()).
Don't confuse this macro with _()!
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version