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! 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, then the localization 
info is not translated, instead falls back to the English version (probably the 
C version).

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

Reply via email to