Bug 1567370 - Add a close button to the Editor Toolbar. r=Honza.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 19 Jul 2019 14:10:06 +0000
changeset 11743 13e104b1b5ff59f1bb1b4e42ce6cebcf64a41a81
parent 11742 a0474deb83e301e2066816314707b98a02611745
child 11744 953b39112289defa297262ae940b6113ccd85622
push id156
push userflodolo@mozilla.com
push dateMon, 29 Jul 2019 09:39:25 +0000
reviewersHonza
bugs1567370
Bug 1567370 - Add a close button to the Editor Toolbar. r=Honza. The button display the same icon that will be used in the console input when in inline-mode to toggle the editor mode, active. A test is added to ensure the button works as expected. Differential Revision: https://phabricator.services.mozilla.com/D38622 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: fe4380f248f8a935c927f4f978a66680e10130a1 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
@@ -434,8 +434,14 @@ webconsole.message.componentDidCatch.cop
 # displayed when the editor mode is enabled (devtools.webconsole.input.editor=true).
 webconsole.editor.toolbar.executeButton.label=Run
 
 # LOCALIZATION NOTE (webconsole.editor.toolbar.executeButton.tooltip)
 # Label used for the tooltip on the execute 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.executeButton.tooltip=Run expression (%S). This won’t clear the input.
+
+# 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)