Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ad7d46e

Browse files
authoredFeb 19, 2020
Update translate of AUTHORING.md to [Feb 19, 2020]
1 parent a2dfb38 commit ad7d46e

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed
 

‎AUTHORING.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,38 @@
11

2-
# Authoring
2+
# 贡献者须知
33

4-
This describes important stuff about authoring new articles of the tutorial.
4+
这描述了有关编写本教程的新文章的重要内容。
55

6-
## Internal links
6+
## 内联链接
77

8-
All tutorial links should start from the root, not including the domain.
8+
所有教程链接应从根开始,不包括域。
99

1010
✅ OK:
1111

1212
```md
13-
We'll cover that in the chapter [about functions](/function-basics)
13+
我们将在 [关于函数](/function-basics) 章节学习它。
1414
```
1515

1616
❌ Not ok:
1717

1818
```md
19-
We'll cover that in the chapter [about functions](https://javascript.info/function-basics)
19+
我们将在 [关于函数](https://javascript.info/function-basics) 章节学习它。
2020
```
2121

22-
Also, to reference a chapter, there's a special "info:" scheme, like this:
22+
另外,要参考一章,有一个特殊的 "info:" 方式,如下所示:
2323

2424
```md
25-
We'll cover that in the chapter <info:function-basics>.
25+
我们将在 <info:function-basics> 章节学习它。
2626
```
2727

28-
Becomes:
28+
会自动编译成:
29+
2930
```html
30-
We'll cover that in the chapter <a href="/function-basics">Function basics</a>.
31+
我们将在 <a href="/function-basics">函数基础知识</a> 章节学习它。
3132
```
3233

33-
The title is auto-inserted from the referenced article. That has the benefit of keeping the right title if the article gets renamed.
34+
标题是从引用的文章中自动插入的。这样做的好处是,如果文章被重命名,对应的引用也会同时得到更新。
3435

3536
## TODO
3637

37-
Ask @iliakan to for more details.
38+
更多细节,请咨询 @leviding@iliakan

0 commit comments

Comments
 (0)
Please sign in to comment.