Bug 1025017 - Fix l10n issues with the GCLI help command and sync with web GCLI; r=mratcliffe

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

View File

@ -168,8 +168,8 @@ helpManRequired=required
helpManOptional=optional
helpManDefault=optional, default=%S
# LOCALIZATION NOTE (helpIntro): This forms part of the output from the 'help'
# command. 'GCLI' is a project name and should be left untranslated.
# LOCALIZATION NOTE: This forms part of the output from the 'help' command.
# 'GCLI' is a project name and should be left untranslated.
helpIntro=GCLI is an experiment to create a highly usable command line for web developers.
# LOCALIZATION NOTE: Text shown as part of the output of the 'help' command

View File

@ -314,7 +314,7 @@ exports.items = [
'</span>\n' +
'</loop>\n' +
'\n' +
'<span if="${command.isParent}"># ${l10n.subCommands}:\n' +
'<span if="${command.isParent}"># ${l10n.subCommands}:</span>\n' +
'\n' +
'<span if="${subcommands.length === 0}">${l10n.subcommandsNone}</span>\n' +
'<loop foreach="subcommand in ${subcommands}">* ${subcommand.name}: ${subcommand.description}\n' +
@ -368,9 +368,7 @@ exports.items = [
exec: function(commandsData, context) {
return {
html:
'<pre><span if="${includeIntro}">## ${l10n.helpIntro1}\n' +
'\n' +
'${l10n.helpIntro}\n' +
'<pre><span if="${includeIntro}">## ${l10n.helpIntro}</span>\n' +
'\n' +
'# ${heading}\n' +
'\n' +