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

关于计算属性一节的翻译讨论 #190

Closed
wants to merge 1 commit into from

Conversation

JeremyFan
Copy link

@JeremyFan JeremyFan commented Dec 13, 2016

都是个人理解,欢迎讨论。。

第一处:

At this point, the template is no longer simple and declarative. You have to look at it for a second before realizing that it displays message in reverse.

感觉declarative应翻译成声明式的。
感觉第二句的意思应该是这么在模板里写逻辑很不容易理解,需要看一会才能明白在做什么。

第二处:

the computed getter function is pure and has no side effects

感觉pure这里是想说getter是个纯函数

第三处:
感觉可以忽略,不小心提上去了。。

第四处:

Vue does provide a more generic way to observe and react to data changes on a Vue instance
it is tempting to overuse watch - especially if you are coming from an AngularJS background.

更通用more generic、过度使用overuse没有翻译出来

另外在cn.vuejs.org上,最后一段:

在这个示例中,使用 watch 选项允许我们执行异步操作(访问一个 API),限制我们执行该操作的频率,并直到我们得到最终结果时,才设置中间状态。这是计算属性无法做到的。

感觉有误。这里的中间状态我理解为输入过程中的各种提示,是要不断设置的,直到返回最终结果

代码里的翻译“并在我们得到最终结果前,设置中间状态”,应该是准确的。为啥和cn.vuejs.org不同步呢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant