Hi,
the labels of a form are not translated on locale-switch on qooxdoo 1.0.1.
Example:
<code>
var form = new qx.ui.form.Form;
form.addGroupHeader(this.tr("Einstellungen"));
form.add(new qx.ui.form.SelectBox, this.tr("Sprache"));
this.add(new qx.ui.form.renderer.Single(form));
</code>
Whenever the locale is changed[1], the group header and the items will switch
the translation, but the labels[2] don't.
I think the reason lies in the renderer, 'cause in its "_createLabel" method
'colon' and 'required' strings are appended and therefore the localized string
will become a "regular" JavaScript string.
Anyone able to provide a fix/workaround?
Thanks in advance for any help
Peter
-----
[1] via qx.locale.Manager.getInstance().setLocale("en") e.g
[2] added via Form:add(item,label,validator,name) method
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel