User forums > Using Code::Blocks
Syntax highlighting fail with Internationlization - who will apply it?
nanyu:
I changed the Syntax highlighting for editor. it work fine.
But after I setted the Internationlization to Chinese, the highlighting was jumbled.
(windows xp , code::blocks svn5696)
help me!
[attachment deleted by admin]
blueshake:
I guess that "default" should not be translated in color setting,just a guess. :)
nanyu:
--- Quote from: blueshake on July 24, 2009, 12:00:58 pm ---I guess that "default" should not be translated in color setting,just a guess. :)
--- End quote ---
What a great GUESS it is..:)
I found the BUG now:
===============================
svn: 5702
file: codeblocks\src\plugins\contrib\codesnippets\editor\seditorcolourset.cpp
line: 450
// first load the default colours to all styles (ignoring some built-in styles)
SOptionColour* defaults = GetOptionByName(lang, _("Default"));
=========== I think the "Default" needn't translate to Chinese(or other language)...so..pls :
SOptionColour* defaults = GetOptionByName(lang, _wxT("Default"));
Whic developer can apply it ? I can test it after modifed. thanks!
blueshake:
I think you can make a patch and submit it.
killerbot:
I could apply it.
Question : do you build CB yourself ? If so, you can already change it in your source tree. If not, I assume you will want a next nightly build ?
Navigation
[0] Message Index
[#] Next page
Go to full version