[qooxdoo-commit] SF.net SVN: qooxdoo:[20232] trunk/qooxdoo/framework/source/class/qx/test/ui /Local
Brought to you by:
ecker,
martinwittemann
From: <mar...@us...> - 2009-09-29 09:04:17
|
Revision: 20232 http://qooxdoo.svn.sourceforge.net/qooxdoo/?rev=20232&view=rev Author: martinwittemann Date: 2009-09-29 09:04:04 +0000 (Tue, 29 Sep 2009) Log Message: ----------- [Bug #1976] Fixed issues caused by the deprecated code removal. Modified Paths: -------------- trunk/qooxdoo/framework/source/class/qx/test/ui/LocaleSwitch.js Modified: trunk/qooxdoo/framework/source/class/qx/test/ui/LocaleSwitch.js =================================================================== --- trunk/qooxdoo/framework/source/class/qx/test/ui/LocaleSwitch.js 2009-09-29 09:01:07 UTC (rev 20231) +++ trunk/qooxdoo/framework/source/class/qx/test/ui/LocaleSwitch.js 2009-09-29 09:04:04 UTC (rev 20232) @@ -41,7 +41,7 @@ "test Jonny": "test Jonny", "test One car": "test One car", "test %1 cars": "test %1 cars", - "key_short_Control": "Ctrl" + "key_short_Shift": "Shift" }); manager.addTranslation("de_QX", { "test one": "Eins", @@ -50,7 +50,7 @@ "test Jonny": "Jonathan", "test One car": "Ein Auto", "test %1 cars": "%1 Autos", - "key_short_Control": "Strg" + "key_short_Shift": "Umschalt" }); }, @@ -65,14 +65,14 @@ testCommandInMenuButton : function() { - var command = new qx.ui.core.Command("Control-A"); + var command = new qx.ui.core.Command("Shift-A"); var menuButton = new qx.ui.menu.Button("Juhu", null, command); - this.assertEquals("Ctrl+A", command.toString()); - this.assertEquals("Ctrl+A", menuButton.getChildControl("shortcut").getValue()); + this.assertEquals("Shift+A", command.toString()); + this.assertEquals("Shift+A", menuButton.getChildControl("shortcut").getValue()); this.manager.setLocale("de_QX"); - this.assertEquals("Strg+A", command.toString()); - this.assertEquals("Strg+A", menuButton.getChildControl("shortcut").getValue()); + this.assertEquals("Umschalt+A", command.toString()); + this.assertEquals("Umschalt+A", menuButton.getChildControl("shortcut").getValue()); menuButton.destroy(); command.dispose(); }, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |