Bug 799462 - GCLI jsb command should revert jsbBraceStyleDesc, jsbBraceStyleManual strings; r=jwalker
authorMichael Ratcliffe <mratcliffe@mozilla.com>
Tue, 09 Oct 2012 14:56:09 +0100
changeset 110260 0759a7d8b78bbbd3ba831d237e0b213ca6e40990
parent 110259 fd093acb629e09e54af97455911aafc137a8067e
child 110261 4d3652c0a96f58e88aa18a6f412310de6d6e031f
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersjwalker
bugs799462
milestone19.0a1
Bug 799462 - GCLI jsb command should revert jsbBraceStyleDesc, jsbBraceStyleManual strings; r=jwalker
browser/locales/en-US/chrome/browser/devtools/gclicommands.properties
--- a/browser/locales/en-US/chrome/browser/devtools/gclicommands.properties
+++ b/browser/locales/en-US/chrome/browser/devtools/gclicommands.properties
@@ -848,22 +848,22 @@ jsbJslintHappyDesc=Enforce jslint-strict
 # 'jsb <jslintHappy>' parameter, displayed when the user asks for help
 # on what it does.
 jsbJslintHappyManual=When set to true, jslint-stricter mode is enforced
 
 # LOCALIZATION NOTE (jsbBraceStyleDesc) A very short description of the
 # 'jsb <braceStyle>' parameter. This string is designed to be shown
 # in a menu alongside the command name, which is why it should be as short as
 # possible.
-jsbBraceStyleDesc=Select the coding style of braces
+jsbBraceStyleDesc=Collapse, expand, end-expand, expand-strict
 
 # LOCALIZATION NOTE (jsbBraceStyleManual) A fuller description of the
 # 'jsb <braceStyle>' parameter, displayed when the user asks for help
 # on what it does.
-jsbBraceStyleManual=<p class="nowrap">The coding style of braces. Select from one of the following:</p><ul><li>collapse<br/><pre>if (x == 1) {\n  ...\n} else {\n  ...\n}</pre></li><li>expand<br/><pre>if (x == 1)\n{\n  ...\n}\nelse\n{\n  ...\n}</pre></li><li>end-expand<br/><pre>if (x == 1) {\n  ...\n}\nelse {\n  ...\n}</pre></li><li>expand-strict<br/><pre>if (x == 1)\n{\n  return // This option can break scripts\n  {\n    a: 1\n  };\n} else {\n  ...\n}</pre></li></ul>
+jsbBraceStyleManual=The coding style of braces. Either collapse, expand, end-expand or expand-strict
 
 # LOCALIZATION NOTE (jsbNoSpaceBeforeConditionalDesc) A very short description
 # of the 'jsb <noSpaceBeforeConditional>' parameter. This string is designed to
 # be shown in a menu alongside the command name, which is why it should be as
 # short as possible.
 jsbNoSpaceBeforeConditionalDesc=No space before conditional statements
 
 # LOCALIZATION NOTE (jsbUnescapeStringsDesc) A very short description of the