If I run following code in the playground:

var button1 = new qx.ui.form.Button("First Button",
"icon/22/apps/internet-web-browser.png");
var doc = this.getRoot();
doc.add(button1, { left : 100, top  : 50 });
button1.addListener("execute", function(e) { alert("Hello World!"); });
button1.setToolTipText(new qx.ui.core.Command("Control+D").toString());
qx.locale.Manager.getInstance().setLocale("en");

The Button-Tooltip shows Ctrl+D.

If I change the locale to "de" the tooltip still shows Ctrl+D. On the second
run it shows Strg+D, the correct string.

How can I make it to show the correct string on the first run?

/Kind regards

Christian
-- 
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Command-Shortcut-translation-tp5894873p5894873.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to