Skip to content

[docs][zh-cn] synced udpates and some typos #2087

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

Merged
merged 4 commits into from
Mar 5, 2018
Merged

[docs][zh-cn] synced udpates and some typos #2087

merged 4 commits into from
Mar 5, 2018

Conversation

Jinjiang
Copy link
Member

@Jinjiang Jinjiang commented Mar 3, 2018

Translated #2043 and some handy typos.
/ping @Justineo

@@ -1,8 +1,8 @@
# 路由信息对象

一个 **route object路由信息对象** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records路由记录**。
一个 **route object (路由信息对象)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records (路由记录)**。
Copy link
Member

Choose a reason for hiding this comment

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

括号内外对调一下?


route object 是 immutable不可变 的,每次成功的导航后都会产生一个新的对象。
route object 是 immutable (不可变) 的,每次成功的导航后都会产生一个新的对象。
Copy link
Member

Choose a reason for hiding this comment

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

同上

@@ -66,7 +66,7 @@ route object 出现在多个地方:

- 类型: `Array<RouteRecord>`

一个数组,包含当前路由的所有嵌套路径片段的 **路由记录** 。路由记录就是 `routes` 配置数组中的对象副本还有在 `children` 数组
一个数组,包含当前路由的所有嵌套路径片段的 **路由记录** 。路由记录就是 `routes` 配置数组中的对象副本 (还有在 `children` 数组)
Copy link
Member

Choose a reason for hiding this comment

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

**路由记录** 前面多了一个空格。

@posva posva added the docs label Mar 3, 2018
@@ -1,8 +1,8 @@
# 路由信息对象

一个 **route object (路由信息对象)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records (路由记录)**。
一个 **路由信息对象 (route object)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **路由记录 (route records)**。
Copy link
Member

Choose a reason for hiding this comment

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

多了空格

@posva
Copy link
Member

posva commented Mar 4, 2018

Ping me when it's ok to merge 🙂

@@ -1,8 +1,8 @@
# 路由信息对象

一个 **route object(路由信息对象)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的 **route records(路由记录)**。
一个 **路由信息对象 (route object)** 表示当前激活的路由的状态信息,包含了当前 URL 解析得到的信息,还有 URL 匹配到的**路由记录 (route records)**。
Copy link
Member

Choose a reason for hiding this comment

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

最前面还是多了一个空格

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops,大意了,我索性又全篇 review 了一遍。

@Justineo
Copy link
Member

Justineo commented Mar 5, 2018

@posva ready for merge 😄

@posva posva merged commit 9e4aa54 into vuejs:dev Mar 5, 2018
@Jinjiang Jinjiang deleted the zh-cn branch March 5, 2018 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants