>> Is there a reason for this code not to work?
>>
>> qx.Class.define("text.Wid",
>> {
>> extend : qx.ui.core.Widget, //(or nothing or qx.core.Object -> no
>> difference of course!
>"of course"?! - bullshit! of course it makes a difference, even if not
>for this particular problem.
I don't see any bullshit here. I am not talking about all other problems.
>> when Widget is the one supporting translation,
>> though we use direct access of the locale Manager.)
>>
>> statics :
>> {
>> BUTTONS : {
>> ttt : {
>> label : qx.locale.Manager.tr("Great"),
>> toolTipIcon : null,
>> toolTipText : qx.locale.Manager.tr("Life is great!")
>> }
>> }
>> }
>> }
>>
>> When we access the ttt by doing a set of ttt to a widget,
>"doing a set of ttt to a widget"??
widget.set(ttt);
>> then the
>> localization info is not translated,
>this sounds like you got it working through some other way. which was that?
putting it within the member block, but then not static anymore.
>> instead falls back to the English
>> version (probably the C version).
>as this is evaluated at load time of the class, is it assured that the
>i18n information has been loaded prior to that?!
yes, as I said.
Do you really want a static class to do ALL evaluations at load time?
...including expected saved functions....
Stefan
>
> Is it because the current locale for "no-man's-land" is not set (only
> for or through the Application class)? It would be expected to translate!
>
> Stefan
>
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
>
>
>
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel