From afc60ff958e87d942be894b44697b2c2b48f4939 Mon Sep 17 00:00:00 2001 From: savitaashture Date: Wed, 19 Nov 2014 18:36:44 -0500 Subject: [PATCH 1/2] Added colon for GLOBAL OPTIONS and ENVIRONMENT VARIABLES in help heading Before Fix: There were no colon(:) for GLOBAL OPTIONS and ENVIRONMENT VARIABLES After Fix:There is a colon(:) for GLOBAL OPTIONS: and ENVIRONMENT VARIABLES: http://rnd-github.huawei.com/paas/cli/issues/24 --- cf/app/app.go | 4 ++-- cf/i18n/resources/de_DE.all.json | 10 +++++----- cf/i18n/resources/en_US.all.json | 10 +++++----- cf/i18n/resources/es_ES.all.json | 8 ++++---- cf/i18n/resources/fr_FR.all.json | 6 +++--- cf/i18n/resources/it_IT.all.json | 10 +++++----- cf/i18n/resources/ja_JA.all.json | 10 +++++----- cf/i18n/resources/pt_BR.all.json | 6 +++--- cf/i18n/resources/zh_CN.all.json | 6 +++--- cf/i18n/resources/zh_HK.all.json | 10 +++++----- 10 files changed, 40 insertions(+), 40 deletions(-) diff --git a/cf/app/app.go b/cf/app/app.go index 1f8a54aca60..d500125e6ea 100644 --- a/cf/app/app.go +++ b/cf/app/app.go @@ -103,7 +103,7 @@ func appHelpTemplate() string { {{.SubTitle .Name}}{{range .CommandSubGroups}} {{range .}} {{.Name}} {{.Description}} {{end}}{{end}}{{end}} -{{.Title "` + T("ENVIRONMENT VARIABLES") + `"}} +{{.Title "` + T("ENVIRONMENT VARIABLES:") + `"}} CF_COLOR=false ` + T("Do not colorize output") + ` CF_HOME=path/to/dir/ ` + T("Override path to default config directory") + ` CF_PLUGIN_HOME=path/to/dir/ ` + T("Override path to default plugin config directory") + ` @@ -113,7 +113,7 @@ func appHelpTemplate() string { CF_TRACE=path/to/trace.log ` + T("Append API request diagnostics to a log file") + ` HTTP_PROXY=proxy.example.com:8080 ` + T("Enable HTTP proxying for API requests") + ` -{{.Title "` + T("GLOBAL OPTIONS") + `"}} +{{.Title "` + T("GLOBAL OPTIONS:") + `"}} --version, -v ` + T("Print the version") + ` --help, -h ` + T("Show help") + ` ` diff --git a/cf/i18n/resources/de_DE.all.json b/cf/i18n/resources/de_DE.all.json index 237f7aadda6..a6040d1d594 100644 --- a/cf/i18n/resources/de_DE.all.json +++ b/cf/i18n/resources/de_DE.all.json @@ -1645,8 +1645,8 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", - "translation": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", + "translation": "ENVIRONMENT VARIABLES:", "modified": false }, { @@ -2050,8 +2050,8 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", - "translation": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", + "translation": "GLOBAL OPTIONS:", "modified": false }, { @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/en_US.all.json b/cf/i18n/resources/en_US.all.json index db06b39fa0f..3650f9e3e41 100644 --- a/cf/i18n/resources/en_US.all.json +++ b/cf/i18n/resources/en_US.all.json @@ -1645,8 +1645,8 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", - "translation": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", + "translation": "ENVIRONMENT VARIABLES:", "modified": false }, { @@ -2050,8 +2050,8 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", - "translation": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", + "translation": "GLOBAL OPTIONS:", "modified": false }, { @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/es_ES.all.json b/cf/i18n/resources/es_ES.all.json index d16d02d9776..c10da44ef1e 100644 --- a/cf/i18n/resources/es_ES.all.json +++ b/cf/i18n/resources/es_ES.all.json @@ -1645,8 +1645,8 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", - "translation": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", + "translation": "ENVIRONMENT VARIABLES:", "modified": false }, { @@ -2050,7 +2050,7 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", "translation": "OPCIONES GLOBALES", "modified": false }, @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instancias", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/fr_FR.all.json b/cf/i18n/resources/fr_FR.all.json index d45629b8d84..2114861a487 100644 --- a/cf/i18n/resources/fr_FR.all.json +++ b/cf/i18n/resources/fr_FR.all.json @@ -1645,7 +1645,7 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", "translation": "VARIABLES D'ENVIRONNEMENT", "modified": false }, @@ -2050,7 +2050,7 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", "translation": "OPTIONS GLOBALES", "modified": false }, @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} d'instances", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/it_IT.all.json b/cf/i18n/resources/it_IT.all.json index 5f0e77513ba..e1a48b62174 100644 --- a/cf/i18n/resources/it_IT.all.json +++ b/cf/i18n/resources/it_IT.all.json @@ -1645,8 +1645,8 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", - "translation": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", + "translation": "ENVIRONMENT VARIABLES:", "modified": false }, { @@ -2050,8 +2050,8 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", - "translation": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", + "translation": "GLOBAL OPTIONS:", "modified": false }, { @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/ja_JA.all.json b/cf/i18n/resources/ja_JA.all.json index 5f0e77513ba..e1a48b62174 100644 --- a/cf/i18n/resources/ja_JA.all.json +++ b/cf/i18n/resources/ja_JA.all.json @@ -1645,8 +1645,8 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", - "translation": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", + "translation": "ENVIRONMENT VARIABLES:", "modified": false }, { @@ -2050,8 +2050,8 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", - "translation": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", + "translation": "GLOBAL OPTIONS:", "modified": false }, { @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/pt_BR.all.json b/cf/i18n/resources/pt_BR.all.json index 7dd908020fc..c3cf050555c 100644 --- a/cf/i18n/resources/pt_BR.all.json +++ b/cf/i18n/resources/pt_BR.all.json @@ -1645,7 +1645,7 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", "translation": "VARIÁVEIS DE AMBIENTE", "modified": false }, @@ -2050,7 +2050,7 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", "translation": "OPÇÕES GLOBAIS", "modified": false }, @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instâncias", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/zh_CN.all.json b/cf/i18n/resources/zh_CN.all.json index a4c9be561fa..43bfca16dc4 100644 --- a/cf/i18n/resources/zh_CN.all.json +++ b/cf/i18n/resources/zh_CN.all.json @@ -1645,7 +1645,7 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", "translation": "环境变量", "modified": false }, @@ -2050,7 +2050,7 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", "translation": "全局选项", "modified": false }, @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} 乘以 {{.InstanceCount}}实例数", "modified": false } -] \ No newline at end of file +] diff --git a/cf/i18n/resources/zh_HK.all.json b/cf/i18n/resources/zh_HK.all.json index 237f7aadda6..a6040d1d594 100644 --- a/cf/i18n/resources/zh_HK.all.json +++ b/cf/i18n/resources/zh_HK.all.json @@ -1645,8 +1645,8 @@ "modified": false }, { - "id": "ENVIRONMENT VARIABLES", - "translation": "ENVIRONMENT VARIABLES", + "id": "ENVIRONMENT VARIABLES:", + "translation": "ENVIRONMENT VARIABLES:", "modified": false }, { @@ -2050,8 +2050,8 @@ "modified": false }, { - "id": "GLOBAL OPTIONS", - "translation": "GLOBAL OPTIONS", + "id": "GLOBAL OPTIONS:", + "translation": "GLOBAL OPTIONS:", "modified": false }, { @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] \ No newline at end of file +] From 960ab77c3fbd55f67d06efe150f400e5e662b13e Mon Sep 17 00:00:00 2001 From: savitaashture Date: Tue, 25 Nov 2014 09:55:30 -0500 Subject: [PATCH 2/2] Added colon for GLOBAL OPTIONS and ENVIRONMENT VARIABLES in help heading Before Fix: There were no colon(:) for GLOBAL OPTIONS and ENVIRONMENT VARIABLES After Fix:There is a colon(:) for GLOBAL OPTIONS: and ENVIRONMENT VARIABLES: http://rnd-github.huawei.com/paas/cli/issues/24 --- cf/i18n/resources/de_DE.all.json | 2 +- cf/i18n/resources/en_US.all.json | 2 +- cf/i18n/resources/es_ES.all.json | 2 +- cf/i18n/resources/fr_FR.all.json | 2 +- cf/i18n/resources/it_IT.all.json | 2 +- cf/i18n/resources/ja_JA.all.json | 2 +- cf/i18n/resources/pt_BR.all.json | 2 +- cf/i18n/resources/zh_CN.all.json | 2 +- cf/i18n/resources/zh_HK.all.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cf/i18n/resources/de_DE.all.json b/cf/i18n/resources/de_DE.all.json index a6040d1d594..a7bfbdd4bd3 100644 --- a/cf/i18n/resources/de_DE.all.json +++ b/cf/i18n/resources/de_DE.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/en_US.all.json b/cf/i18n/resources/en_US.all.json index 3650f9e3e41..e3e78276735 100644 --- a/cf/i18n/resources/en_US.all.json +++ b/cf/i18n/resources/en_US.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/es_ES.all.json b/cf/i18n/resources/es_ES.all.json index c10da44ef1e..aff81940449 100644 --- a/cf/i18n/resources/es_ES.all.json +++ b/cf/i18n/resources/es_ES.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instancias", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/fr_FR.all.json b/cf/i18n/resources/fr_FR.all.json index 2114861a487..56e87295f0d 100644 --- a/cf/i18n/resources/fr_FR.all.json +++ b/cf/i18n/resources/fr_FR.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} d'instances", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/it_IT.all.json b/cf/i18n/resources/it_IT.all.json index e1a48b62174..016e1e40ecc 100644 --- a/cf/i18n/resources/it_IT.all.json +++ b/cf/i18n/resources/it_IT.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/ja_JA.all.json b/cf/i18n/resources/ja_JA.all.json index e1a48b62174..016e1e40ecc 100644 --- a/cf/i18n/resources/ja_JA.all.json +++ b/cf/i18n/resources/ja_JA.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/pt_BR.all.json b/cf/i18n/resources/pt_BR.all.json index c3cf050555c..71e332299e2 100644 --- a/cf/i18n/resources/pt_BR.all.json +++ b/cf/i18n/resources/pt_BR.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instâncias", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/zh_CN.all.json b/cf/i18n/resources/zh_CN.all.json index 43bfca16dc4..f8fe3a4a7b8 100644 --- a/cf/i18n/resources/zh_CN.all.json +++ b/cf/i18n/resources/zh_CN.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} 乘以 {{.InstanceCount}}实例数", "modified": false } -] +] \ No newline at end of file diff --git a/cf/i18n/resources/zh_HK.all.json b/cf/i18n/resources/zh_HK.all.json index a6040d1d594..a7bfbdd4bd3 100644 --- a/cf/i18n/resources/zh_HK.all.json +++ b/cf/i18n/resources/zh_HK.all.json @@ -4684,4 +4684,4 @@ "translation": "{{.Usage}} {{.FormattedMemory}} x {{.InstanceCount}} instances", "modified": false } -] +] \ No newline at end of file