зеркало из https://github.com/mozilla/gecko-dev.git
Bug 799462 - GCLI jsb command should revert jsbBraceStyleDesc, jsbBraceStyleManual strings r=joewalker a=pike
This commit is contained in:
Родитель
dd2f26aa6e
Коммит
4f82d9b238
|
@ -74,8 +74,8 @@ gcli.addCommand({
|
||||||
name: 'selection',
|
name: 'selection',
|
||||||
data: ['collapse', 'expand', 'end-expand', 'expand-strict']
|
data: ['collapse', 'expand', 'end-expand', 'expand-strict']
|
||||||
},
|
},
|
||||||
description: gcli.lookup('jsbBraceStyleDesc'),
|
description: gcli.lookup('jsbBraceStyleDesc2'),
|
||||||
manual: gcli.lookup('jsbBraceStyleManual'),
|
manual: gcli.lookup('jsbBraceStyleManual2'),
|
||||||
defaultValue: "collapse"
|
defaultValue: "collapse"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -849,16 +849,16 @@ jsbJslintHappyDesc=Enforce jslint-stricter mode?
|
||||||
# on what it does.
|
# on what it does.
|
||||||
jsbJslintHappyManual=When set to true, jslint-stricter mode is enforced
|
jsbJslintHappyManual=When set to true, jslint-stricter mode is enforced
|
||||||
|
|
||||||
# LOCALIZATION NOTE (jsbBraceStyleDesc) A very short description of the
|
# LOCALIZATION NOTE (jsbBraceStyleDesc2) A very short description of the
|
||||||
# 'jsb <braceStyle>' parameter. This string is designed to be shown
|
# '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
|
# in a menu alongside the command name, which is why it should be as short as
|
||||||
# possible.
|
# possible.
|
||||||
jsbBraceStyleDesc=Select the coding style of braces
|
jsbBraceStyleDesc2=Collapse, expand, end-expand, expand-strict
|
||||||
|
|
||||||
# LOCALIZATION NOTE (jsbBraceStyleManual) A fuller description of the
|
# LOCALIZATION NOTE (jsbBraceStyleManual2) A fuller description of the
|
||||||
# 'jsb <braceStyle>' parameter, displayed when the user asks for help
|
# 'jsb <braceStyle>' parameter, displayed when the user asks for help
|
||||||
# on what it does.
|
# 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>
|
jsbBraceStyleManual2=The coding style of braces. Either collapse, expand, end-expand or expand-strict
|
||||||
|
|
||||||
# LOCALIZATION NOTE (jsbNoSpaceBeforeConditionalDesc) A very short description
|
# LOCALIZATION NOTE (jsbNoSpaceBeforeConditionalDesc) A very short description
|
||||||
# of the 'jsb <noSpaceBeforeConditional>' parameter. This string is designed to
|
# of the 'jsb <noSpaceBeforeConditional>' parameter. This string is designed to
|
||||||
|
|
Загрузка…
Ссылка в новой задаче