Skip to content

Translate library/ast.po #624

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 8 commits into from
Dec 25, 2023
Merged

Translate library/ast.po #624

merged 8 commits into from
Dec 25, 2023

Conversation

mattwang44
Copy link
Collaborator

resolve #602

@mattwang44 mattwang44 force-pushed the library/ast branch 2 times, most recently from 1921c86 to e003b52 Compare December 9, 2023 06:06
@mattwang44 mattwang44 marked this pull request as ready for review December 9, 2023 06:07
@mattwang44 mattwang44 requested a review from ken71301 December 9, 2023 06:07
Copy link
Collaborator

@ken71301 ken71301 left a comment

Choose a reason for hiding this comment

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

review part 1. to rst: 250
部分語意問題須釐清

Copy link
Collaborator Author

@mattwang44 mattwang44 left a comment

Choose a reason for hiding this comment

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

關於 grammar & syntax 的修正

Copy link
Collaborator

@ken71301 ken71301 left a comment

Choose a reason for hiding this comment

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

review part 2, to rst:621


#: ../../library/ast.rst:519
msgid "Binary operator tokens."
msgstr ""
msgstr "二元運算子 token。"
Copy link
Collaborator

Choose a reason for hiding this comment

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

想確定一下token要翻成標記還是維持原文~

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

token 我苦手,太多種意思了也都沒有適當翻譯,直接放原文我比較好受XD

  • 這邊應該比較偏「標記」,但跟 mark 又不一樣
  • 其他意思還有
    • 像是 API token 的 token,中國好像翻成「令牌」
    • 斷詞領域用到的 tokenize 的 token(像是這篇),簡中又翻標記但意思又不太相同

Copy link
Collaborator

@ken71301 ken71301 left a comment

Choose a reason for hiding this comment

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

review p3 to rst:1417

Copy link
Collaborator

@ken71301 ken71301 left a comment

Choose a reason for hiding this comment

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

Review to rst:2102


#: ../../library/ast.rst:2059
msgid ""
"``keywords`` is a list of :class:`.keyword` nodes, principally for "
"'metaclass'. Other keywords will be passed to the metaclass, as per "
"`PEP-3115 <https://peps.python.org/pep-3115/>`_."
msgstr ""
"``keywords`` 是一個 :class:`keyword` 節點的串列,主要用於 'metaclass'(元類"
"別)。如 `PEP-3115 <https://peps.python.org/pep-3115/>`_ 所述,其他關鍵字將被"
"傳遞到 metaclass。"
Copy link
Collaborator

Choose a reason for hiding this comment

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

確認一下後面的metaclass要留原文還是翻譯?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

首次出現的地方留原文但附註原文 -> 後面出現的地方只寫原文

Co-authored-by: Payon <ken71301@hotmail.com>
@mattwang44
Copy link
Collaborator Author

原文有更新,一併補上

@mattwang44 mattwang44 requested a review from ken71301 December 22, 2023 06:57
Copy link
Collaborator

@ken71301 ken71301 left a comment

Choose a reason for hiding this comment

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

review final part.

Co-authored-by: Payon <ken71301@hotmail.com>
@mattwang44 mattwang44 requested a review from ken71301 December 25, 2023 02:55
@mattwang44 mattwang44 requested a review from ken71301 December 25, 2023 08:04
Copy link
Collaborator

@ken71301 ken71301 left a comment

Choose a reason for hiding this comment

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

LGTM!

@mattwang44
Copy link
Collaborator Author

@ken71301 感謝幫忙 review,辛苦了~

@mattwang44 mattwang44 merged commit 62f2ca6 into python:3.12 Dec 25, 2023
@mattwang44 mattwang44 deleted the library/ast branch December 25, 2023 08:42
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.

Translate library/ast.po
2 participants