Skip to content

Translate library/functions.po few translate-2 #889

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
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions library/functions.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-02-26 00:03+0000\n"
"PO-Revision-Date: 2024-05-02 18:41+0800\n"
"PO-Revision-Date: 2024-05-06 17:06+0800\n"
"Last-Translator: KNChiu <[email protected]>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand Down Expand Up @@ -726,19 +726,26 @@ msgid ""
"Class methods can now wrap other :term:`descriptors <descriptor>` such as :"
"func:`property`."
msgstr ""
"Class methods 現在可以包裝其他\\ :term:`描述器 <descriptor>` ,例如 :func:"
"`property`"

#: ../../library/functions.rst:284
msgid ""
"Class methods now inherit the method attributes (``__module__``, "
"``__name__``, ``__qualname__``, ``__doc__`` and ``__annotations__``) and "
"have a new ``__wrapped__`` attribute."
msgstr ""
"Class method 現在繼承了 method 屬性(``__module__``、``__name__``、"
"``__qualname__``、``__doc__`` 和 ``__annotations__``),並擁有一個新的 "
"``__wrapped__`` 屬性。"

#: ../../library/functions.rst:289
msgid ""
"Class methods can no longer wrap other :term:`descriptors <descriptor>` such "
"as :func:`property`."
msgstr ""
"Class methods 不能再包裝其他的\\ :term:`描述器 <descriptor>`,例如 :func:"
"`property`。"

#: ../../library/functions.rst:296
msgid ""
Expand Down Expand Up @@ -786,6 +793,12 @@ msgid ""
"*flags* argument is it -- the flags (future features and compiler options) "
"in the surrounding code are ignored."
msgstr ""
"可選引數 *flags* 和 *dont_inherit* 控制啟用哪個\\ :ref:`編譯器選項 <ast-"
"compiler-flags>`\\ 以及允許哪個\\ :ref:`未來功能 <future>`。如果兩者都不存在"
"(或兩者都為零),則會呼叫與 :func:`compile` 相同旗標的程式碼來編譯。如果給"
"定 *flags* 引數而未給定 *dont_inherit*(或為零)則無論如何都會使用由 *flags* "
"引數所指定的編譯器選項和未來陳述式。如果 *dont_inherit* 是一個非零整數,則使"
"用 *flags* 引數 -- 周圍程式碼中的旗標(未來功能和編譯器選項)將被忽略。"

#: ../../library/functions.rst:322
msgid ""
Expand Down Expand Up @@ -885,6 +898,8 @@ msgid ""
"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` can now be passed in flags to enable "
"support for top-level ``await``, ``async for``, and ``async with``."
msgstr ""
"``ast.PyCF_ALLOW_TOP_LEVEL_AWAIT`` 現在可以傳遞旗標以啟用對頂層 ``await``、"
"``async for`` 和 ``async with`` 的支援。"

#: ../../library/functions.rst:377
msgid ""
Expand Down Expand Up @@ -1128,7 +1143,7 @@ msgstr ""
msgid ""
"The return value is the result of the evaluated expression. Syntax errors "
"are reported as exceptions. Example:"
msgstr ""
msgstr "回傳值是計算運算式的結果。語法錯誤將被報告為例外。例如:"

#: ../../library/functions.rst:555
msgid ""
Expand Down Expand Up @@ -1156,7 +1171,7 @@ msgstr ""
msgid ""
"If the given source is a string, then leading and trailing spaces and tabs "
"are stripped."
msgstr ""
msgstr "如果給定來源是一個字串,那麼其前後的空格和定位字元會被移除。"

#: ../../library/functions.rst:568
msgid ""
Expand Down
Loading