Bug 1554857 - Add editor mode button in input. r=ladybenko.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Sat, 03 Aug 2019 08:30:16 +0000
changeset 11862 d481caba0bda7a6de2e9a71aa95a6337f804dc2d
parent 11861 f6a988cc9fdbc0bd62f4cabaeb3d077fbb829fe1
child 11863 a2e51629e5422d091e0a21abe762979e2993b898
push id159
push userflodolo@mozilla.com
push dateThu, 08 Aug 2019 09:52:52 +0000
reviewersladybenko
bugs1554857
Bug 1554857 - Add editor mode button in input. r=ladybenko. The button is then hidden when in editor mode. A test is added to ensure the button is displayed when it's expected, and that clicking on it does open the editor. Differential Revision: https://phabricator.services.mozilla.com/D39203 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 3d503ad7ab6dde29848e01d8abd42afb11da7e0c X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: e5d98eda2ec359a0968c567076b1a625cb6c99ce X-Channel-Repo: releases/mozilla-release X-Channel-Revision: 2fb19d0466d2f61674c0af80813645cccd510593 X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: a8da73ce90a4110e14caaba3e93d8a086b3a0669
devtools/client/webconsole.properties
--- a/devtools/client/webconsole.properties
+++ b/devtools/client/webconsole.properties
@@ -451,8 +451,14 @@ webconsole.editor.toolbar.history.prevEx
 # which is displayed when the editor mode is enabled (devtools.webconsole.input.editor=true).
 webconsole.editor.toolbar.history.nextExpressionButton.tooltip=Next Expression
 
 # LOCALIZATION NOTE (webconsole.editor.toolbar.closeButton.tooltip)
 # Label used for the tooltip on the close button, in the editor toolbar, which is
 # displayed when the editor mode is enabled (devtools.webconsole.input.editor=true).
 # Parameters: %S is the keyboard shortcut.
 webconsole.editor.toolbar.closeButton.tooltip=Close Editor (%S)
+
+# LOCALIZATION NOTE (webconsole.input.openEditorButton.tooltip)
+# Label used for the tooltip on the open editor button, in console input, which is
+# displayed when the console is in regular mode.
+# Parameters: %S is the keyboard shortcut.
+webconsole.input.openEditorButton.tooltip=Open Editor (%S)