I came a cross this (http://developer.berlios.de/bugs/?func=detailbug&bug_id=10297&group_id=5358) bug. I think it could be useful to bind the _() method. Is there a reason why this is never done?
Quote from: mispunt on May 25, 2007, 11:28:53 AM
I came a cross this (http://developer.berlios.de/bugs/?func=detailbug&bug_id=10297&group_id=5358) bug. I think it could be useful to bind the _() method. Is there a reason why this is never done?
Not really. And to be honest: The plan is to add even more wxWidgets bindings (e.g. all basic GUI stuff and things). I'm on it for some time now but it's not as easy as I thought it would be. Anyway - this binding could easily be added I don't see any reason why it shouldn't. Will give it a try though...
With regards, Morten.
Morton, could you review the patch which is attached and commit it?I didn't had anything todo :P
[attachment deleted by admin]
Quote from: mispunt on May 25, 2007, 01:58:03 PM
Morton, could you review the patch which is attached and commit it?I didn't had anything todo :P
Hehe... besides the fact that I have a different order (first "_", then "_T") it's exactly the same how I've done it... makes me kind of confident. I haven't tried yet because I currently don't know how to do (I'm not using localisation). Did you??? Does that fix the bug mentioned???
With regards, Morten.
No I didn't use localisation, but I tried to the code I mentioned in the bug reply and that works.
I can try the localized version tonight, but I have to find out how I have to install the language pack.
This doesn't fix the bug :( strange...
Fixed. It will solve the problem partly. the startup script should contain the following (notice the &):
GetScriptingManager().RegisterScriptMenu(_("&Settings") + _T("/-Edit startup script"), _T("edit_startup_script.script"), false);
(see patch 2020 (https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=2020&group_id=5358))