Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zh-CN translation for hello world as a localization demo #40

Merged
merged 3 commits into from
Jan 28, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 如果您希望在 jenkins 组织当中发布您的插件,那我们推荐您将本地化文件提交到 https://github.com/jenkinsci/localization-zh-cn-plugin 中。
runzexia marked this conversation as resolved.
Show resolved Hide resolved
# 如果您希望私有维护插件,可以参考本例子的方式放置中文的本地化文件。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Google Translate FTR:

If you wish to host your plugin in the Jenkins organization, we recommend that you submit your localization files to https://github.com/jenkinsci/localization-zh-cn-plugin.
If you want a private maintenance plugin, you can refer to this example to place the Chinese localization file.


Name=\u540d\u5b57
French=\u6cd5\u8bed
FrenchDescr=\u68c0\u67e5\u6211\u4eec\u662f\u5426\u5e94\u8be5\u7528\u6cd5\u8bed\u6253\u4e2a\u62db\u547c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!--如果您希望在 jenkins 组织当中发布您的插件,那我们推荐您将本地化文件提交到 https://github.com/jenkinsci/localization-zh-cn-plugin 中。-->
<!--如果您希望私有维护插件,可以参考本例子的方式放置中文的本地化文件。-->
<div>
你的名字。
</div>
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!--如果您希望在 jenkins 组织当中发布您的插件,那我们推荐您将本地化文件提交到 https://github.com/jenkinsci/localization-zh-cn-plugin 中。-->
<!--如果您希望私有维护插件,可以参考本例子的方式放置中文的本地化文件。-->
<div>
使用法语 ?
</div>
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 如果您希望在 jenkins 组织当中发布您的插件,那我们推荐您将本地化文件提交到 https://github.com/jenkinsci/localization-zh-cn-plugin 中。
# 如果您希望私有维护插件,可以参考本例子的方式放置中文的本地化文件。

HelloWorldBuilder.DescriptorImpl.errors.missingName=\u8bf7\u586b\u5199\u540d\u5b57
HelloWorldBuilder.DescriptorImpl.warnings.tooShort=\u540d\u5b57\u662f\u4e0d\u662f\u592a\u77ed\u4e86\uff1f
HelloWorldBuilder.DescriptorImpl.warnings.reallyFrench=\u4f60\u771f\u7684\u662f\u6cd5\u56fd\u4eba\u5417\uff1f
Expand Down