Skip to content

Commit 2eb8c01

Browse files
MaleDongfhemberger
authored andcommitted
zh-CN:Fix the error translation of 'Twisted'
Due to 'Twisted' is a fixed word in Python, so we don't need to translate it into Chinese.
1 parent d0316c9 commit 2eb8c01

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

locale/zh-cn/about/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ server.listen(port, hostname, () => {
2929
如果你对这门语言其中的一部分尚未熟悉理解,这里有一篇专门关于 [阻塞对比非阻塞][] 的文章供你参考。
3030

3131
---
32-
Node 在设计上类似于 Ruby 的 [事件机][] 或 Python 的 [扭曲][] 之类的系统。 Node 更深入地考虑事件模型。它呈现一个 [事件轮询][] 作为运行时构造而不是库。在其它系统中,总是有一个阻止调用来启动事件循环。
32+
Node 在设计上类似于 Ruby 的 [事件机][] 或 Python 的 [Twisted][] 之类的系统。 Node 更深入地考虑事件模型。它呈现一个 [事件轮询][] 作为运行时构造而不是库。在其它系统中,总是有一个阻止调用来启动事件循环。
3333

3434
通常 Node 的行为是通过在脚本开头的回调定义的,在结束时通过阻塞调用(如 `EventMachine::run()` )启动服务器。在 Node 中没有这样的启动-事件循环调用。Node 在执行输入脚本后只需输入事件循环即可。
3535
当没有更多要执行的回调时,Node 退出事件循环。此行为类似于浏览器中的 JavaScript ——事件循环总是对用户不可见的。
@@ -43,4 +43,4 @@ HTTP 是 Node 中的一等公民。它设计的是流式和低延迟。这使得
4343
[`cluster`]: https://nodejs.org/api/cluster.html
4444
[事件轮询]: https://nodejs.org/zh-cn/docs/guides/event-loop-timers-and-nexttick/
4545
[事件机]: https://github.com/eventmachine/eventmachine
46-
[扭曲]: http://twistedmatrix.com/
46+
[Twisted]: http://twistedmatrix.com/

0 commit comments

Comments
 (0)