Bug 1574791 - Don't emit a warning message when enabling CSS warnings. r=Honza.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 30 Aug 2019 08:57:50 +0000
changeset 12023 c75f5b3757ede1e3b3195c13cb9a03cdef69622d
parent 12022 7c7891d15477c217aebe4023ad4600fb7b01d92e
child 12024 a65a84a5e7f1235d2e8b5868f6ab3c08dcfe3ca0
push id173
push userflodolo@mozilla.com
push dateSat, 31 Aug 2019 04:31:56 +0000
reviewersHonza
bugs1574791
Bug 1574791 - Don't emit a warning message when enabling CSS warnings. r=Honza. There was a warning message displayed to indicate that the stylesheets where parsed again for checking errors, and that in order to see errors for CSS modified in Javascript, the tab should be reloaded. The jargon used there was confusing, and also this was more a notice than an actual warning message. In order to remove confusion, we don't emit this message anymore, but add a title to the CSS filter button when it's disabled. The sentence is reworded to be simpler to understand. Differential Revision: https://phabricator.services.mozilla.com/D44118 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 4b5fb6e4c7f945bec7f975e31b9e0da6becc87b8 X-Channel-Repo: releases/mozilla-beta X-Channel-Revision: e9268d2f323358d07eaf690515108508d6d7588e X-Channel-Repo: releases/mozilla-release X-Channel-Revision: b19ffb3ca153242cc668db6549940b421f176d4b X-Channel-Repo: releases/mozilla-esr68 X-Channel-Revision: 6da286bb33b5cee90f383d21b5835e81a4709388
devtools/client/webconsole.properties
--- a/devtools/client/webconsole.properties
+++ b/devtools/client/webconsole.properties
@@ -279,16 +279,21 @@ webconsole.infoFilterButton.label=Info
 webconsole.debugFilterButton.label=Debug
 
 # LOCALIZATION NOTE (webconsole.cssFilterButton.label)
 # Label used as the text of the "CSS" button in the additional filter toolbar.
 # It shows or hides CSS warning messages, inserted in the page by the browser
 # when there are CSS errors in the page.
 webconsole.cssFilterButton.label=CSS
 
+# LOCALIZATION NOTE (webconsole.cssFilterButton.inactive.tooltip)
+# Label used as the tooltip of the "CSS" button in the additional filter toolbar, when the
+# filter is inactive (=unchecked).
+webconsole.cssFilterButton.inactive.tooltip=Stylesheets will be reparsed to check for errors. Refresh the page to also see errors from stylesheets modified from Javascript.
+
 # LOCALIZATION NOTE (webconsole.xhrFilterButton.label)
 # Label used as the text of the "XHR" button in the additional filter toolbar.
 # It shows or hides messages displayed when the page makes an XMLHttpRequest or
 # a fetch call.
 webconsole.xhrFilterButton.label=XHR
 
 # LOCALIZATION NOTE (webconsole.requestsFilterButton.label)
 # Label used as the text of the "Requests" button in the additional filter toolbar.