Bug 1023943 - Better wording for coverage command descriptions; r=harth
authorJoe Walker <jwalker@mozilla.com>
Tue, 17 Jun 2014 09:12:17 +0100
changeset 188949 e4c03eb1b6a3
parent 188948 d698320dfba1
child 188950 5cce921c930f
push id7317
push userjwalker@mozilla.com
push dateTue, 17 Jun 2014 08:13:20 +0000
treeherderfx-team@5cce921c930f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersharth
bugs1023943
milestone33.0a1
Bug 1023943 - Better wording for coverage command descriptions; r=harth
toolkit/devtools/gcli/commands/csscoverage.js
toolkit/locales/en-US/chrome/global/devtools/csscoverage.properties
--- a/toolkit/devtools/gcli/commands/csscoverage.js
+++ b/toolkit/devtools/gcli/commands/csscoverage.js
@@ -24,58 +24,58 @@ exports.items = [
   {
     name: "csscoverage",
     hidden: true,
     description: l10n.lookup("csscoverageDesc"),
   },
   {
     name: "csscoverage start",
     hidden: true,
-    description: l10n.lookup("csscoverageStartDesc"),
+    description: l10n.lookup("csscoverageStartDesc2"),
     exec: function*(args, context) {
       let usage = yield csscoverage.getUsage(context.environment.target);
       if (usage == null) {
         throw new Error(l10n.lookup("csscoverageNoRemoteError"));
       }
       yield usage.start(context.environment.chromeWindow,
                         context.environment.target);
     }
   },
   {
     name: "csscoverage stop",
     hidden: true,
-    description: l10n.lookup("csscoverageStopDesc"),
+    description: l10n.lookup("csscoverageStopDesc2"),
     exec: function*(args, context) {
       let target = context.environment.target;
       let usage = yield csscoverage.getUsage(target);
       if (usage == null) {
         throw new Error(l10n.lookup("csscoverageNoRemoteError"));
       }
       yield usage.stop();
       yield gDevTools.showToolbox(target, "styleeditor");
     }
   },
   {
     name: "csscoverage oneshot",
     hidden: true,
-    description: l10n.lookup("csscoverageOneShotDesc"),
+    description: l10n.lookup("csscoverageOneShotDesc2"),
     exec: function*(args, context) {
       let target = context.environment.target;
       let usage = yield csscoverage.getUsage(target);
       if (usage == null) {
         throw new Error(l10n.lookup("csscoverageNoRemoteError"));
       }
       yield usage.oneshot();
       yield gDevTools.showToolbox(target, "styleeditor");
     }
   },
   {
     name: "csscoverage toggle",
     hidden: true,
-    description: l10n.lookup("csscoverageToggleDesc"),
+    description: l10n.lookup("csscoverageToggleDesc2"),
     exec: function*(args, context) {
       let target = context.environment.target;
       let usage = yield csscoverage.getUsage(target);
       if (usage == null) {
         throw new Error(l10n.lookup("csscoverageNoRemoteError"));
       }
 
       let running = yield usage.toggle();
@@ -85,17 +85,17 @@ exports.items = [
 
       yield usage.stop();
       yield gDevTools.showToolbox(target, "styleeditor");
     }
   },
   {
     name: "csscoverage report",
     hidden: true,
-    description: l10n.lookup("csscoverageReportDesc"),
+    description: l10n.lookup("csscoverageReportDesc2"),
     exec: function*(args, context) {
       let usage = yield csscoverage.getUsage(context.environment.target);
       if (usage == null) {
         throw new Error(l10n.lookup("csscoverageNoRemoteError"));
       }
 
       return {
         isTypedData: true,
--- a/toolkit/locales/en-US/chrome/global/devtools/csscoverage.properties
+++ b/toolkit/locales/en-US/chrome/global/devtools/csscoverage.properties
@@ -1,24 +1,24 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 # LOCALIZATION NOTE These strings are used in the 'csscoverage' command and in
 # the user interface that this command creates.
 
-# LOCALIZATION NOTE (csscoverageDesc, csscoverageStartDesc, csscoverageStopDesc,
-# csscoverageOneShotDesc, csscoverageToggleDesc, csscoverageReportDesc): Short
-# descriptions of the csscoverage commands
+# LOCALIZATION NOTE (csscoverageDesc, csscoverageStartDesc2,
+# csscoverageStopDesc2, csscoverageOneShotDesc2, csscoverageToggleDesc2,
+# csscoverageReportDesc2): Short descriptions of the csscoverage commands
 csscoverageDesc=Control CSS coverage analysis
-csscoverageStartDesc=Begin collecting CSS coverage analysis
-csscoverageStopDesc=Stop collecting CSS coverage analysis
-csscoverageOneShotDesc=Stop collecting CSS coverage analysis
-csscoverageToggleDesc=Toggle collecting CSS coverage analysis
-csscoverageReportDesc=Show CSS coverage analysis report
+csscoverageStartDesc2=Begin collecting CSS coverage data
+csscoverageStopDesc2=Stop collecting CSS coverage data
+csscoverageOneShotDesc2=Collect instantaneous CSS coverage data
+csscoverageToggleDesc2=Toggle collecting CSS coverage data
+csscoverageReportDesc2=Show CSS coverage report
 
 # LOCALIZATION NOTE (csscoverageRunningReply, csscoverageDoneReply): Text that
 # describes the current state of the css coverage system
 csscoverageRunningReply=Running CSS coverage analysis
 csscoverageDoneReply=CSS Coverage analysis completed
 
 # LOCALIZATION NOTE (csscoverageRunningError, csscoverageNotRunningError,
 # csscoverageNotRunError): Error message that describe things that can go wrong