-
-
Notifications
You must be signed in to change notification settings - Fork 222
Working on c-api/list.po #1178
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
Open
Yorkxe
wants to merge
5
commits into
python:3.14
Choose a base branch
from
Yorkxe:c-api-list
base: 3.14
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Working on c-api/list.po #1178
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -4,13 +4,14 @@ | |||||
| # Translators: | ||||||
| # Nkeys Syu <[email protected]>, 2016 | ||||||
| # Matt Wang <[email protected]>, 2023 | ||||||
| # Yorkxe <[email protected]>, 2025 | ||||||
| msgid "" | ||||||
| msgstr "" | ||||||
| "Project-Id-Version: Python 3.14\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2024-09-23 07:52+0800\n" | ||||||
| "PO-Revision-Date: 2023-08-24 00:55+0800\n" | ||||||
| "Last-Translator: Matt Wang <mattwang44@gmail.com>\n" | ||||||
| "PO-Revision-Date: 2025-11-25 22:16+0800\n" | ||||||
| "Last-Translator: Yorkxe <karta25768@gmail.com>\n" | ||||||
| "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||||||
| "tw)\n" | ||||||
| "Language: zh_TW\n" | ||||||
|
|
@@ -98,6 +99,8 @@ msgid "" | |||||
| "Like :c:func:`PyList_GetItemRef`, but returns a :term:`borrowed reference` " | ||||||
| "instead of a :term:`strong reference`." | ||||||
| msgstr "" | ||||||
| "與 :c:func:`PyList_GetItemRef` 類似,但回傳一個 :term:`borrowed reference` " | ||||||
| "而非一個 :term:`strong reference`。" | ||||||
|
|
||||||
| #: ../../c-api/list.rst:80 | ||||||
| msgid "Similar to :c:func:`PyList_GetItem`, but without error checking." | ||||||
|
|
@@ -116,8 +119,7 @@ msgstr "" | |||||
| msgid "" | ||||||
| "This function \"steals\" a reference to *item* and discards a reference to " | ||||||
| "an item already in the list at the affected position." | ||||||
| msgstr "" | ||||||
| "此函式「竊取」對 *item* 的參照,並丟棄對串列中受影響位置上已存在項目的參照。" | ||||||
| msgstr "此函式「竊取」對 *item* 的參照,並丟棄對串列中受影響位置上已存在項目的參照。" | ||||||
|
|
||||||
| #: ../../c-api/list.rst:97 | ||||||
| msgid "" | ||||||
|
|
@@ -133,6 +135,9 @@ msgid "" | |||||
| "in :ref:`debug mode <debug-build>` or :option:`with assertions <--with-" | ||||||
| "assertions>`." | ||||||
| msgstr "" | ||||||
| "如果 Python 是以 :ref:`debug mode <debug-build>` 或 " | ||||||
| ":option:`with assertions <--with-assertions>` 建置,則會進行作為" | ||||||
| "斷言(asserting)的邊界檢查。" | ||||||
|
|
||||||
| #: ../../c-api/list.rst:106 | ||||||
| msgid "" | ||||||
|
|
@@ -194,25 +199,32 @@ msgid "" | |||||
| "``PyList_SetSlice(list, PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` and " | ||||||
| "analogous to ``list.extend(iterable)`` or ``list += iterable``." | ||||||
| msgstr "" | ||||||
| "將 *iterable* 中的內容擴展至 *list*。這與 ``PyList_SetSlice(list, " | ||||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 首句「擴展」的受詞應該是 list
Suggested change
|
||||||
| "PY_SSIZE_T_MAX, PY_SSIZE_T_MAX, iterable)`` 相同,類似於 " | ||||||
| "``list.extend(iterable)`` 或 ``list += iterable``。" | ||||||
|
|
||||||
| #: ../../c-api/list.rst:148 | ||||||
| msgid "" | ||||||
| "Raise an exception and return ``-1`` if *list* is not a :class:`list` " | ||||||
| "object. Return 0 on success." | ||||||
| msgstr "" | ||||||
| "引發一個例外並回傳 ``-1`` 如果 *list* 不是一個 :class:`list` 物件。如果成功回" | ||||||
| "傳 0。" | ||||||
|
|
||||||
| #: ../../c-api/list.rst:156 | ||||||
| msgid "" | ||||||
| "Remove all items from *list*. This is the same as ``PyList_SetSlice(list, " | ||||||
| "0, PY_SSIZE_T_MAX, NULL)`` and analogous to ``list.clear()`` or ``del " | ||||||
| "list[:]``." | ||||||
| msgstr "" | ||||||
| msgstr "移除 *list* 中的所有項目。這與 ``PyList_SetSlice(list, 0, PY_SSIZE_T_MAX, " | ||||||
| "NULL)`` 相同,類似於 ``list.clear()`` 或 ``del list[:]``。" | ||||||
|
|
||||||
| #: ../../c-api/list.rst:160 | ||||||
| msgid "" | ||||||
| "Raise an exception and return ``-1`` if *list* is not a :class:`list` " | ||||||
| "object. Return 0 on success." | ||||||
| msgstr "" | ||||||
| msgstr "引發一個例外並回傳 ``-1`` 如果 *list* 不是一個 :class:`list` 物件。" | ||||||
| "如果成功回傳 0。" | ||||||
|
|
||||||
| #: ../../c-api/list.rst:168 | ||||||
| msgid "" | ||||||
|
|
||||||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這邊可以翻譯(加斜線的原因可以見此頁面)