From bc3ef52bbe1f9007a6a7d5eecd5820bafe26dbd9 Mon Sep 17 00:00:00 2001
From: Jonas Zhang <106856363@qq.com>
Date: Fri, 24 Nov 2017 10:11:15 +0800
Subject: [PATCH] docs: Improve the translation (#312)
* docs:Improve the translation
docs:Improve the translation
* docs:Improve the translation
docs:Improve the translation
* Update configuration.md
* Update deploy.md
* Update helpers.md
---
docs/zh-cn/configuration.md | 8 ++++----
docs/zh-cn/deploy.md | 6 +++---
docs/zh-cn/helpers.md | 14 +++++++-------
docs/zh-cn/markdown.md | 2 +-
docs/zh-cn/plugins.md | 6 +++---
5 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/docs/zh-cn/configuration.md b/docs/zh-cn/configuration.md
index 6363858..8b4df23 100644
--- a/docs/zh-cn/configuration.md
+++ b/docs/zh-cn/configuration.md
@@ -329,7 +329,7 @@ window.$docsify = {
## format-updated
-我们可以显示文档更新日期通过 **{docsify-updated}** 变量. 并且格式化日期通过 `formatUpdated`.
+我们可以显示文档更新日期通过 **{docsify-updated}** 变量. 并且格式化日期通过 `formatUpdated`。
参考 https://github.com/lukeed/tinydate#patterns
```js
window.$docsify = {
@@ -345,7 +345,7 @@ window.$docsify = {
## external-link-target
-Currently it defaults to _blank, would be nice if configurable:
+当前默认为 _blank, 配置一下就可以:
```js
window.$docsify = {
@@ -356,10 +356,10 @@ window.$docsify = {
## noCompileLinks
-- type: `Array`
+- 类型: `Array`
-Sometimes we do not want docsify to handle our links. See [#203](https://github.com/QingWei-Li/docsify/issues/203)
+有时我们不希望 docsify 处理我们的链接。 参考 [#203](https://github.com/QingWei-Li/docsify/issues/203)
```js
diff --git a/docs/zh-cn/deploy.md b/docs/zh-cn/deploy.md
index 39a2273..897e2e3 100644
--- a/docs/zh-cn/deploy.md
+++ b/docs/zh-cn/deploy.md
@@ -18,9 +18,9 @@ GitHub Pages 支持从三个地方读取文件
## GitLab Pages
-If you are deploying your master branch, include `.gitlab-ci.yml` with the following script:
+如果你正在部署你的主分支, 在 `.gitlab-ci.yml` 中包含以下脚本:
-?> The `.public` workaround is so `cp` doesn't also copy `public/` to itself in an infinite loop.
+?> `.public` 的解决方法是这样的,`cp` 不会无限循环的将 `public/` 复制到自身。
``` YAML
pages:
@@ -36,7 +36,7 @@ pages:
- master
```
-!> You can replace script with `- cp -r docs/. public`, if `./docs` is your Docsify subfolder.
+!> 你可以用 `- cp -r docs/. public` 替换脚本, 如果 `./docs` 是你的 docsify 子文件夹。
## VPS
diff --git a/docs/zh-cn/helpers.md b/docs/zh-cn/helpers.md
index 26d2661..f630f54 100644
--- a/docs/zh-cn/helpers.md
+++ b/docs/zh-cn/helpers.md
@@ -25,23 +25,23 @@ docsify 扩展了一些 Markdown 语法,可以让文档更易读。
?> *TODO* 完善示例
-## Ignore to compile link
+## 忽略编译链接
-Some time we will put some other relative path to the link, you have to need to tell docsify you don't need to compile this link. For example
+有时候我们会把其他一些相对路径放到链接上,你必须告诉 docsify 你不需要编译这个链接。 例如:
```md
[link](/demo/)
```
-It will be compiled to `link` and will be loaded `/demo/README.md`. Maybe you want to jump to `/demo/index.html`.
+它将被编译为 `link` 并将加载 `/demo/README.md`. 可能你想跳转到 `/demo/index.html`。
-Now you can do that
+现在你可以做到这一点
```md
[link](/demo/ ":ignore")
```
-You will get `link`html. Do not worry, you can still set title for link.
+即将会得到 `link` html 代码。不要担心,你仍然可以为链接设置标题。
```md
[link](/demo/ ":ignore title")
@@ -50,7 +50,7 @@ You will get `link`html. Do not worry, you can still set ti
```
-## Set target attribute for link
+## 设置链接的 target 属性
```md
[link](/demo ":target=_blank")
@@ -58,7 +58,7 @@ You will get `link`html. Do not worry, you can still set ti
```
-## Github Task Lists
+## Github 任务列表
```md
diff --git a/docs/zh-cn/markdown.md b/docs/zh-cn/markdown.md
index 92858f2..3b534a2 100644
--- a/docs/zh-cn/markdown.md
+++ b/docs/zh-cn/markdown.md
@@ -30,7 +30,7 @@ window.$docsify = {
```
-## Supports mermaid
+## 支持 mermaid
```js
// Import mermaid
diff --git a/docs/zh-cn/plugins.md b/docs/zh-cn/plugins.md
index 672c843..98ddb97 100644
--- a/docs/zh-cn/plugins.md
+++ b/docs/zh-cn/plugins.md
@@ -100,14 +100,14 @@ Medium's 风格的图片缩放插件. 基于 [medium-zoom](https://github.com/fr
-## Edit on github
+## 在 Github 上编辑
-Add `Edit on github` button on every pages. provided by 3rd party, check [document](https://github.com/njleonzhang/docsify-edit-on-github)
+在每一页上添加 `Edit on github` 按钮. 由第三方库提供, 查看 [document](https://github.com/njleonzhang/docsify-edit-on-github)
## CodeSponsor
-See https://codesponsor.io
+参考 https://codesponsor.io
```html