Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Localization of scripts

(1/2) > >>

David Perfors:
I came a cross this bug. I think it could be useful to bind the _() method. Is there a reason why this is never done?

MortenMacFly:

--- Quote from: mispunt on May 25, 2007, 11:28:53 am ---I came a cross this bug. I think it could be useful to bind the _() method. Is there a reason why this is never done?

--- End quote ---
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.

David Perfors:
Morton, could you review the patch which is attached and commit it?I didn't had anything todo :P

[attachment deleted by admin]

MortenMacFly:

--- 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

--- End quote ---
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.

David Perfors:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version