Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Update translation files
Browse files Browse the repository at this point in the history
  • Loading branch information
JiangtianLi committed Jun 1, 2017
1 parent bcbcac0 commit f16bb48
Show file tree
Hide file tree
Showing 8 changed files with 87 additions and 54 deletions.
12 changes: 6 additions & 6 deletions pkg/i18n/translations.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/update-translation.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

GO_SOURCE="pkg/acsengine/*.go pkg/api/*.go pkg/operations/*.go"
GO_SOURCE="pkg/acsengine/*.go pkg/api/*.go pkg/operations/*.go pkg/operations/kubernetesupgrade/*.go"
LANGUAGE="en_US"
DOMAIN="acsengine"
generate_po="false"
Expand Down
Binary file modified translations/default/LC_MESSAGES/acsengine.mo
Binary file not shown.
43 changes: 27 additions & 16 deletions translations/default/LC_MESSAGES/acsengine.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: acsengine\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-18 22:00+0000\n"
"PO-Revision-Date: 2017-05-18 15:03-0700\n"
"POT-Creation-Date: 2017-06-01 23:16+0000\n"
"PO-Revision-Date: 2017-06-01 16:19-0700\n"
"Last-Translator: Jiangtian Li <jiangtianli@hotmail.com>\n"
"Language-Team: English\n"
"Language: en_US\n"
Expand All @@ -18,48 +18,59 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.2\n"

#: pkg/acsengine/engine.go:221
#: pkg/acsengine/engine.go:226
#, c-format
msgid "Error reading file %s, Error: %s"
msgstr "Error reading file %s, Error: %s"

#: pkg/operations/upgradecluster.go:49
#: pkg/operations/kubernetesupgrade/upgradecluster.go:68
#, c-format
msgid "Error while querying ARM for resources: %+v"
msgstr "Error while querying ARM for resources: %+v"

#: pkg/acsengine/transform.go:94
#: pkg/acsengine/transform.go:97
#, c-format
msgid "Found 2 resources with type %s in the template. There should only be 1"
msgstr "Found 2 resources with type %s in the template. There should only be 1"

#: pkg/acsengine/transform.go:117
#: pkg/acsengine/transform.go:120
#, c-format
msgid "Found no resources with type %s in the template. There should have been 1"
msgstr "Found no resources with type %s in the template. There should have been 1"

#: pkg/operations/kubernetes162upgrader.go:26
#: pkg/operations/upgradecluster.go:64
#: pkg/operations/kubernetesupgrade/v162upgrader.go:101
#, c-format
msgid "Total count of master VMs: %d exceeded expected count: %d"
msgstr "Total count of master VMs: %d exceeded expected count: %d"

#: pkg/operations/kubernetesupgrade/v162upgrader.go:30
#, c-format
msgid "Upgrade to Kubernetes 1.6.2 is not supported from version: %s"
msgstr "Upgrade to Kubernetes 1.6.2 is not supported from version: %s"

#: pkg/operations/kubernetesupgrade/upgradecluster.go:83
#, c-format
msgid "Upgrade to Kubernetes version: %s is not supported from version: %s"
msgstr "Upgrade to Kubernetes version: %s is not supported from version: %s"

#: pkg/acsengine/output.go:109
#, c-format
msgid "error creating directory '%s': %s"
msgstr "error creating directory '%s': %s"

#: pkg/acsengine/engine.go:1016
#: pkg/acsengine/engine.go:1030
#, c-format
msgid "error executing template for file %s: %v"
msgstr "error executing template for file %s: %v"

#: pkg/operations/kubernetes162upgrader.go:52
#: pkg/operations/kubernetesupgrade/v162upgrader.go:66
#: pkg/operations/kubernetesupgrade/v162upgrader.go:161
#: pkg/operations/kubernetesupgrade/v162upgrader.go:252
#, c-format
msgid "error generating upgrade template: %s"
msgstr "error generating upgrade template: %s"

#: pkg/acsengine/engine.go:1011
#: pkg/acsengine/engine.go:1025
#, c-format
msgid "error parsing file %s: %v"
msgstr "error parsing file %s: %v"
Expand All @@ -69,7 +80,7 @@ msgstr "error parsing file %s: %v"
msgid "error reading file %s: %s"
msgstr "error reading file %s: %s"

#: pkg/operations/kubernetes162upgrader.go:46
#: pkg/operations/kubernetesupgrade/v162upgrader.go:246
#, c-format
msgid "failed to initialize template generator: %s"
msgstr "failed to initialize template generator: %s"
Expand All @@ -79,12 +90,12 @@ msgstr "failed to initialize template generator: %s"
msgid "invalid version %s for conversion back from unversioned object"
msgstr "invalid version %s for conversion back from unversioned object"

#: pkg/acsengine/engine.go:302
#: pkg/acsengine/engine.go:307
#, c-format
msgid "orchestrator '%s' is unsupported"
msgstr "orchestrator '%s' is unsupported"

#: pkg/acsengine/engine.go:169
#: pkg/acsengine/engine.go:174
#, c-format
msgid "template file %s does not exist"
msgstr "template file %s does not exist"
Expand All @@ -94,7 +105,7 @@ msgstr "template file %s does not exist"
msgid "unrecognized APIVersion '%s'"
msgstr "unrecognized APIVersion '%s'"

#: pkg/acsengine/engine.go:1005
#: pkg/acsengine/engine.go:1019
#, c-format
msgid "yaml file %s does not exist"
msgstr "yaml file %s does not exist"
Binary file modified translations/en_US/LC_MESSAGES/acsengine.mo
Binary file not shown.
43 changes: 27 additions & 16 deletions translations/en_US/LC_MESSAGES/acsengine.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Project-Id-Version: acsengine\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-18 22:00+0000\n"
"PO-Revision-Date: 2017-05-18 15:03-0700\n"
"POT-Creation-Date: 2017-06-01 23:16+0000\n"
"PO-Revision-Date: 2017-06-01 16:19-0700\n"
"Last-Translator: Jiangtian Li <jiangtianli@hotmail.com>\n"
"Language-Team: English\n"
"Language: en_US\n"
Expand All @@ -18,48 +18,59 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.0.2\n"

#: pkg/acsengine/engine.go:221
#: pkg/acsengine/engine.go:226
#, c-format
msgid "Error reading file %s, Error: %s"
msgstr "Error reading file %s, Error: %s"

#: pkg/operations/upgradecluster.go:49
#: pkg/operations/kubernetesupgrade/upgradecluster.go:68
#, c-format
msgid "Error while querying ARM for resources: %+v"
msgstr "Error while querying ARM for resources: %+v"

#: pkg/acsengine/transform.go:94
#: pkg/acsengine/transform.go:97
#, c-format
msgid "Found 2 resources with type %s in the template. There should only be 1"
msgstr "Found 2 resources with type %s in the template. There should only be 1"

#: pkg/acsengine/transform.go:117
#: pkg/acsengine/transform.go:120
#, c-format
msgid "Found no resources with type %s in the template. There should have been 1"
msgstr "Found no resources with type %s in the template. There should have been 1"

#: pkg/operations/kubernetes162upgrader.go:26
#: pkg/operations/upgradecluster.go:64
#: pkg/operations/kubernetesupgrade/v162upgrader.go:101
#, c-format
msgid "Total count of master VMs: %d exceeded expected count: %d"
msgstr "Total count of master VMs: %d exceeded expected count: %d"

#: pkg/operations/kubernetesupgrade/v162upgrader.go:30
#, c-format
msgid "Upgrade to Kubernetes 1.6.2 is not supported from version: %s"
msgstr "Upgrade to Kubernetes 1.6.2 is not supported from version: %s"

#: pkg/operations/kubernetesupgrade/upgradecluster.go:83
#, c-format
msgid "Upgrade to Kubernetes version: %s is not supported from version: %s"
msgstr "Upgrade to Kubernetes version: %s is not supported from version: %s"

#: pkg/acsengine/output.go:109
#, c-format
msgid "error creating directory '%s': %s"
msgstr "error creating directory '%s': %s"

#: pkg/acsengine/engine.go:1016
#: pkg/acsengine/engine.go:1030
#, c-format
msgid "error executing template for file %s: %v"
msgstr "error executing template for file %s: %v"

#: pkg/operations/kubernetes162upgrader.go:52
#: pkg/operations/kubernetesupgrade/v162upgrader.go:66
#: pkg/operations/kubernetesupgrade/v162upgrader.go:161
#: pkg/operations/kubernetesupgrade/v162upgrader.go:252
#, c-format
msgid "error generating upgrade template: %s"
msgstr "error generating upgrade template: %s"

#: pkg/acsengine/engine.go:1011
#: pkg/acsengine/engine.go:1025
#, c-format
msgid "error parsing file %s: %v"
msgstr "error parsing file %s: %v"
Expand All @@ -69,7 +80,7 @@ msgstr "error parsing file %s: %v"
msgid "error reading file %s: %s"
msgstr "error reading file %s: %s"

#: pkg/operations/kubernetes162upgrader.go:46
#: pkg/operations/kubernetesupgrade/v162upgrader.go:246
#, c-format
msgid "failed to initialize template generator: %s"
msgstr "failed to initialize template generator: %s"
Expand All @@ -79,12 +90,12 @@ msgstr "failed to initialize template generator: %s"
msgid "invalid version %s for conversion back from unversioned object"
msgstr "invalid version %s for conversion back from unversioned object"

#: pkg/acsengine/engine.go:302
#: pkg/acsengine/engine.go:307
#, c-format
msgid "orchestrator '%s' is unsupported"
msgstr "orchestrator '%s' is unsupported"

#: pkg/acsengine/engine.go:169
#: pkg/acsengine/engine.go:174
#, c-format
msgid "template file %s does not exist"
msgstr "template file %s does not exist"
Expand All @@ -94,7 +105,7 @@ msgstr "template file %s does not exist"
msgid "unrecognized APIVersion '%s'"
msgstr "unrecognized APIVersion '%s'"

#: pkg/acsengine/engine.go:1005
#: pkg/acsengine/engine.go:1019
#, c-format
msgid "yaml file %s does not exist"
msgstr "yaml file %s does not exist"
Binary file modified translations/zh_CN/LC_MESSAGES/acsengine.mo
Binary file not shown.
41 changes: 26 additions & 15 deletions translations/zh_CN/LC_MESSAGES/acsengine.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-05-18 22:07+0000\n"
"PO-Revision-Date: 2017-05-18 15:18-0700\n"
"POT-Creation-Date: 2017-06-01 23:20+0000\n"
"PO-Revision-Date: 2017-06-01 16:30-0700\n"
"Last-Translator: Jiangtian Li <jiangtianli@hotmail.com>\n"
"Language-Team: Chinese (simplified)\n"
"Language: zh_CN\n"
Expand All @@ -17,48 +17,59 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.2\n"

#: pkg/acsengine/engine.go:221
#: pkg/acsengine/engine.go:226
#, c-format
msgid "Error reading file %s, Error: %s"
msgstr "文件 %s,错误读取时出错: %s"

#: pkg/operations/upgradecluster.go:49
#: pkg/operations/kubernetesupgrade/upgradecluster.go:68
#, c-format
msgid "Error while querying ARM for resources: %+v"
msgstr "查询ARM资源时出错: %+v"

#: pkg/acsengine/transform.go:94
#: pkg/acsengine/transform.go:97
#, c-format
msgid "Found 2 resources with type %s in the template. There should only be 1"
msgstr "模板发现两个类型%s 的资源。应该只有一个"

#: pkg/acsengine/transform.go:117
#: pkg/acsengine/transform.go:120
#, c-format
msgid "Found no resources with type %s in the template. There should have been 1"
msgstr "模板没有发现类型%s 的资源。应该有一个"

#: pkg/operations/kubernetes162upgrader.go:26
#: pkg/operations/upgradecluster.go:64
#: pkg/operations/kubernetesupgrade/v162upgrader.go:101
#, c-format
msgid "Total count of master VMs: %d exceeded expected count: %d"
msgstr "主虚拟机总数: %d 超过期望的数目: %d"

#: pkg/operations/kubernetesupgrade/v162upgrader.go:30
#, c-format
msgid "Upgrade to Kubernetes 1.6.2 is not supported from version: %s"
msgstr "版本%s 不支持升级到Kubernetes 1.6.2"

#: pkg/operations/kubernetesupgrade/upgradecluster.go:83
#, c-format
msgid "Upgrade to Kubernetes version: %s is not supported from version: %s"
msgstr "版本%s 不支持升级到Kubernetes版本%s"

#: pkg/acsengine/output.go:109
#, c-format
msgid "error creating directory '%s': %s"
msgstr "创建目录 %s 时出错: %s"

#: pkg/acsengine/engine.go:1016
#: pkg/acsengine/engine.go:1030
#, c-format
msgid "error executing template for file %s: %v"
msgstr "执行文件 %s %v 模板时出错"

#: pkg/operations/kubernetes162upgrader.go:52
#: pkg/operations/kubernetesupgrade/v162upgrader.go:66
#: pkg/operations/kubernetesupgrade/v162upgrader.go:161
#: pkg/operations/kubernetesupgrade/v162upgrader.go:252
#, c-format
msgid "error generating upgrade template: %s"
msgstr "执行文件 %s 模板时出错"

#: pkg/acsengine/engine.go:1011
#: pkg/acsengine/engine.go:1025
#, c-format
msgid "error parsing file %s: %v"
msgstr "解析文件 %s: %v 时出错"
Expand All @@ -68,7 +79,7 @@ msgstr "解析文件 %s: %v 时出错"
msgid "error reading file %s: %s"
msgstr "读取文件 %s: %s 时出错"

#: pkg/operations/kubernetes162upgrader.go:46
#: pkg/operations/kubernetesupgrade/v162upgrader.go:246
#, c-format
msgid "failed to initialize template generator: %s"
msgstr "初始化模板生成器时出错: %s"
Expand All @@ -78,12 +89,12 @@ msgstr "初始化模板生成器时出错: %s"
msgid "invalid version %s for conversion back from unversioned object"
msgstr "与回是非版本化的对象的转换的版本无效 %s"

#: pkg/acsengine/engine.go:302
#: pkg/acsengine/engine.go:307
#, c-format
msgid "orchestrator '%s' is unsupported"
msgstr "%s 配器是不受支持"

#: pkg/acsengine/engine.go:169
#: pkg/acsengine/engine.go:174
#, c-format
msgid "template file %s does not exist"
msgstr "模板文件 %s 不存在"
Expand All @@ -93,7 +104,7 @@ msgstr "模板文件 %s 不存在"
msgid "unrecognized APIVersion '%s'"
msgstr "无法识别的 APIVersion '%s'"

#: pkg/acsengine/engine.go:1005
#: pkg/acsengine/engine.go:1019
#, c-format
msgid "yaml file %s does not exist"
msgstr "yaml 文件 %s 不存在"

0 comments on commit f16bb48

Please sign in to comment.