Bug 892185 - Ctrl+Shift+J/Cmd+Opt+J should toggle the console; r=fitzgen
☠☠ backed out by b36e521b71cd ☠ ☠
authorHeather Arthur <fayearthur@gmail.com>
Wed, 31 Jul 2013 11:39:00 -0700
changeset 141255 fa280c8a55f0fa059372e24b94f51827c8493f0b
parent 141254 859a06fa227c3bf8db2e9551f22c55449df6cfe8
child 141256 448547a2084e512645cb419e114ac166f15b5f0e
push id2042
push userdcamp@campd.org
push dateMon, 05 Aug 2013 00:09:33 +0000
treeherderfx-team@74dd77fd840c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfitzgen
bugs892185
milestone25.0a1
Bug 892185 - Ctrl+Shift+J/Cmd+Opt+J should toggle the console; r=fitzgen
browser/devtools/main.js
browser/locales/en-US/chrome/browser/devtools/webconsole.properties
--- a/browser/devtools/main.js
+++ b/browser/devtools/main.js
@@ -62,17 +62,17 @@ Tools.options = {
   build: function(iframeWindow, toolbox) {
     let panel = new OptionsPanel(iframeWindow, toolbox);
     return panel.open();
   }
 }
 
 Tools.webConsole = {
   id: "webconsole",
-  key: l10n("cmd.commandkey", webConsoleStrings),
+  key: l10n("webConsole.commandkey", webConsoleStrings),
   accesskey: l10n("webConsoleCmd.accesskey", webConsoleStrings),
   modifiers: Services.appinfo.OS == "Darwin" ? "accel,alt" : "accel,shift",
   ordinal: 1,
   icon: "chrome://browser/skin/devtools/tool-webconsole.png",
   url: "chrome://browser/content/devtools/webconsole.xul",
   label: l10n("ToolboxTabWebconsole.label", webConsoleStrings),
   menuLabel: l10n("MenuWebconsole.label", webConsoleStrings),
   tooltip: l10n("ToolboxWebconsole.tooltip", webConsoleStrings),
--- a/browser/locales/en-US/chrome/browser/devtools/webconsole.properties
+++ b/browser/locales/en-US/chrome/browser/devtools/webconsole.properties
@@ -27,17 +27,17 @@ btnGlobal=Global Messages
 tipGlobal=Toggle Global Message logging
 localConsole=Local Console
 clearConsoleCmd.label=Clear Console
 clearConsoleCmd.accesskey=e
 close.button=Close
 close.accesskey=C
 update.button=Update
 update.accesskey=U
-cmd.commandkey=k
+webConsole.commandkey=j
 webConsoleCmd.accesskey=W
 
 # LOCALIZATION NOTE (timestampFormat): %1$02S = hours (24-hour clock),
 # %2$02S = minutes, %3$02S = seconds, %4$03S = milliseconds.
 timestampFormat=%02S:%02S:%02S.%03S
 
 helperFuncUnsupportedTypeError=Can't call pprint on this type of object.
 NetworkPanel.label=Inspect Network Request