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

Translate async-await #24

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

rosekc
Copy link
Contributor

@rosekc rosekc commented May 25, 2021

Checklist:

  • Fill the checkbox of the related file entry in the README with an "x".
  • Run pre-commit hooks and fix any issues.
  • Build docs locally, no warnings or errors.

@greyli greyli changed the title Self assign & translate async-await Translate async-await May 26, 2021
@rosekc rosekc force-pushed the translate-async-await branch 2 times, most recently from dacc79f to 1f8954e Compare May 31, 2021 13:32
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
@@ -52,6 +58,9 @@ msgid ""
" request comes in to an async view, Flask will start an event loop in a "
"thread, run the view function there, then return the result."
msgstr ""
"异步函数需要一个事件循环来执行。作为一个 WSGI 应用,Flask 使用一个线程去处理"
Copy link
Collaborator

Choose a reason for hiding this comment

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

worker翻译为线程似不妥,建议翻为例程(worker)以总括进程线程协程,首次使用可附上原词,并参考翻译词汇的讨论结果

Copy link
Contributor Author

Choose a reason for hiding this comment

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

已将 例程 放到 #12 投票中。

顺便一提有相关 worker 译为 例程 的例子吗?我是第一次见到这种翻译。

docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
docs/locales/zh_CN/LC_MESSAGES/async-await.po Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants