Skip to content

Commit 52dff8e

Browse files
authored
Merge pull request javascript-tutorial#18 from leviding/add-zh.yml
Add zh.yml
2 parents bb407bf + 3e943c9 commit 52dff8e

2 files changed

Lines changed: 77 additions & 0 deletions

File tree

locales/zh.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
site:
2+
privacy_policy: 隐私政策
3+
4+
gdpr_dialog:
5+
title: 本网站使用 cookie
6+
text: 我们使用 cookie 和本地存储等浏览器技术来存储你的偏好设置。你需要接受我们的 <a href="/privacy">隐私政策</a> 和本网站的 <a href="/terms">其他条款</a>。
7+
accept: 接受
8+
cancel: 取消
9+
10+
toolbar:
11+
lang_switcher:
12+
cta_text: 我们希望将这个开源项目提供给全世界的人。请帮助我们将教程的内容 <a href="https://github.com/iliakan/javascript-tutorial-en" rel="noopener noreferrer" target="_blank">翻译为你所掌握的语言</a> 对应的版本。
13+
footer_text: 多少比重的内容已经被翻译成了相应的语言。
14+
old_version: 旧版本已发布,需要向后移植。
15+
logo:
16+
normal:
17+
svg: sitetoolbar__logo_en.svg
18+
width: 200 # 171
19+
normal-white:
20+
svg: sitetoolbar__logo_en-white.svg
21+
small:
22+
svg: sitetoolbar__logo_small_en.svg
23+
width: 70
24+
small-white:
25+
svg: sitetoolbar__logo_small_en-white.svg
26+
sections:
27+
- slug: ''
28+
url: '/'
29+
title: '教程'
30+
- slug: '课程'
31+
title: '课程'
32+
buy_ebook_extra: '购买'
33+
buy_ebook: 'EPUB/PDF'
34+
search_placeholder: '在 Javascript.info 网站中搜索'
35+
search_button: '搜索'
36+
37+
public_profile: 公开资料
38+
account: 账号
39+
notifications: 通知
40+
admin: 管理员
41+
logout: 登出
42+
43+
sorry_old_browser: 很抱歉,我们不支持 IE<10 等浏览器,请使用一个更新版本的浏览器。
44+
contact_us: 联系我们
45+
about_the_project: 关于本项目
46+
ilya_kantor: Ilya Kantor
47+
comments: 评论
48+
loading: 加载中...
49+
search: 搜索
50+
share: 分享
51+
read_before_commenting: 在评论之前先阅读本内容…
52+
53+
meta:
54+
description: '现代 JavaScript 教程:有关示例和任务的简单但详细的解释包括:闭包、文档和事件,以及面向对象编程等。'
55+
56+
tablet-menu:
57+
choose_section: 选择章节
58+
search_placeholder: 在教程中搜索
59+
search_button: 搜索
60+
61+
comment:
62+
help:
63+
- 欢迎你在文章下添加补充内容、提出你的问题或回答提出的问题。
64+
- 使用 <code>&lt;code&gt;</code> 标签插入几行代码,对于多行代码 — 可以使用 <code>&lt;pre&gt;</code>,对于超过十行的代码 — 使用 sandbox(<a href='http://plnkr.co/edit/?p=preview'>plnkr</a>、<a href='http://jsbin.com'>JSBin</a> 和 <a href='http://codepen.io'>codepen</a> 等)。
65+
- 如果你无法理解文章中的内容 — 请详细说明。
66+
67+
edit_on_github: 在 Github 上编辑
68+
error: 错误
69+
close: 关闭
70+
71+
hide_forever: 永久隐藏
72+
hidden_forever: 此信息将不再显示。
73+

modules/frontpage/locales/zh.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
view_github: "在 Github 上查看"
2+
search_placeholder: "在教程中搜索"
3+
search_button: "搜索"
4+
share_text: "分享"

0 commit comments

Comments
 (0)