Bug 1023943 - Better wording for coverage command descriptions; r=harth

This commit is contained in:
Joe Walker 2014-06-17 09:12:17 +01:00
parent 2e4f3861ec
commit 7f5f5169db
2 changed files with 13 additions and 13 deletions

View File

@ -29,7 +29,7 @@ exports.items = [
{
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) {
@ -42,7 +42,7 @@ exports.items = [
{
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);
@ -56,7 +56,7 @@ exports.items = [
{
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);
@ -70,7 +70,7 @@ exports.items = [
{
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);
@ -90,7 +90,7 @@ exports.items = [
{
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) {

View File

@ -5,15 +5,15 @@
# 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