Bug 1554404 - Add title to disabled serviceworker buttons in aboutdebugging r=fluent-reviewers,Pike,daisuke
authorJulian Descottes <jdescottes@mozilla.com>
Wed, 31 Jul 2019 11:34:37 +0000
changeset 11839 bf06b16c89c0f6ce7432d14803a8fee56c7c081b
parent 11838 e5d2b2495216ec4de8b5c29261e6be70b84e80b9
child 11840 79b059071353bfdf67ec3f3b262baf3d126d9e7f
push id157
push userflodolo@mozilla.com
push dateFri, 02 Aug 2019 11:41:38 +0000
reviewersfluent-reviewers, Pike, daisuke
bugs1554404
Bug 1554404 - Add title to disabled serviceworker buttons in aboutdebugging r=fluent-reviewers,Pike,daisuke Depends on D38850 Differential Revision: https://phabricator.services.mozilla.com/D38856 X-Channel-Repo: mozilla-central X-Channel-Converted-Revision: 449f7d70485145ff13a67f558e4181e064d1ccaf 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/aboutdebugging.ftl
--- a/devtools/client/aboutdebugging.ftl
+++ b/devtools/client/aboutdebugging.ftl
@@ -323,16 +323,27 @@ about-debugging-extension-id =
 # to a service worker.
 # Notes, this relates to the "Push" API, which is normally not localized so it is
 # probably better to not localize it.
 about-debugging-worker-action-push = Push
 
 # This string is displayed as a label of the button that starts a service worker.
 about-debugging-worker-action-start = Start
 
+# This string is displayed as a label of the button that pushes a test payload
+# to a service worker.
+# Note this relates to the "Push" API, which is normally not localized so it is
+# probably better to not localize it.
+about-debugging-worker-action-push2 = Push
+  .disabledTitle = Service Worker push is currently disabled for multiprocess { -brand-shorter-name }
+
+# This string is displayed as a label of the button that starts a service worker.
+about-debugging-worker-action-start2 = Start
+  .disabledTitle = Service Worker start is currently disabled for multiprocess { -brand-shorter-name }
+
 # This string is displayed as a label of the button that unregisters a service worker.
 about-debugging-worker-action-unregister = Unregister
 
 # Displayed for service workers in runtime pages that listen to Fetch events.
 about-debugging-worker-fetch-listening =
   .label = Fetch
   .value = Listening for fetch events
 
@@ -355,16 +366,20 @@ about-debugging-worker-status-registerin
 about-debugging-worker-scope =
   .label = Scope
 
 # Displayed for service workers in runtime pages, to label the push service endpoint (url)
 # of a worker
 about-debugging-worker-push-service =
   .label = Push Service
 
+# Displayed as title of the inspect button when service worker debugging is disabled.
+about-debugging-worker-inspect-action-disabled =
+  .title = Service Worker inspection is currently disabled for multiprocess { -brand-shorter-name }
+
 # Displayed as name for the Main Process debug target in the Processes category. Only for
 # remote runtimes, if `devtools.aboutdebugging.process-debugging` is true.
 about-debugging-main-process-name = Main Process
 
 # Displayed as description for the Main Process debug target in the Processes category.
 # Only for remote browsers, if `devtools.aboutdebugging.process-debugging` is true.
 about-debugging-main-process-description2 = Main Process for the target browser