Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Translatec-api/{allocation,cell,gen}.po#179

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 4 commits intopython:3.11frommattwang44:trans-some-c-api
Dec 30, 2022

Conversation

@mattwang44
Copy link
Collaborator

fix#178

c-api/cell.po Outdated
Comment on lines 41 to 46
"\"Cell\" 物件用於實現被多個作用域所參照 (reference) 的變數。對於每個這樣的變"
"數,都會有個 cell 物件為了儲存該值而被建立;參照該值的每個 stack frame 中的區"
"域性變數包含外部作用域的 cell 參照,它同樣使用了該變數。訪問該值時,將使用 "
"cell 中包含的值而不是單元格物件本身。這種對“Cell”物件的非關聯化的參照需要支援"
"生成的位元組碼;訪問時不會自動非關聯化這些內容。Cell 物件在其他地方可能不太有"
"用。"
Copy link
Member

Choose a reason for hiding this comment

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

爲什麼這個使用\"Cell\"“Cell”Cell

c-api/cell.po Outdated
"Return true if *ob* is a cell object; *ob* must not be ``NULL``. This "
"function always succeeds."
msgstr""
"如果 *ob* 是一個 cell 物件則回傳真值;\\ *ob* 必須不為 ``NULL``\\ 。此函式總"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"如果 *ob* 是一個 cell 物件則回傳真值;\\*ob* 必須不為 ``NULL``\\。此函式總"
"如果 *ob* 是一個 cell 物件則回傳真值;*ob* 必須不為 ``NULL``。此函式總"

"detector's set of observed objects. Other fields of the object are not "
"affected."
msgstr""
"用它的型別和初始參照來初始化新分配物件 *op*\\ 。已初始化的物件會被回傳。如果 "
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"用它的型別和初始參照來初始化新分配物件 *op*\\。已初始化的物件會被回傳。如果"
"用它的型別和初始參照來初始化新分配物件 *op*。已初始化的物件會被回傳。如果"

"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
"object."
msgstr""
"這個物件像是 Python 中的 ``None``\\ 。它只應該透過 :c:macro:`Py_None` 巨集來"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"這個物件像是 Python 中的 ``None``\\。它只應該透過 :c:macro:`Py_None` 巨集來"
"這個物件像是 Python 中的 ``None``。它只應該透過 :c:macro:`Py_None` 巨集來"

c-api/cell.po Outdated
"Create and return a new cell object containing the value *ob*. The parameter "
"may be ``NULL``."
msgstr""
msgstr"建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``\\"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``\\。"
msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``。"

c-api/gen.po Outdated
msgstr""
"產生器物件是 Python 用來實現產生器疊代器 (generator iterator) 的物件。它們通"
"常透過疊代會產生值的函式來建立,而不是顯式呼叫 :c:func:`PyGen_New` 或 :c:"
"func:`PyGen_NewWithQualName`\\ 。"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"func:`PyGen_NewWithQualName`\\"
"func:`PyGen_NewWithQualName`。"

c-api/gen.po Outdated
Comment on lines 53 to 54
"如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``"
"\\ 。此函式總是會成功執行。"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``"
"\\。此函式總是會成功執行。"
"如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``"
"。此函式總是會成功執行。"

c-api/gen.po Outdated
Comment on lines 61 to 62
"如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``"
"\\ 。此函式總是會成功執行。"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``"
"\\。此函式總是會成功執行。"
"如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``"
"。此函式總是會成功執行。"

c-api/gen.po Outdated
Comment on lines 70 to 71
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的"
"參照 (reference)。引數必須不為 ``NULL``\\ 。"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的"
"參照 (reference)。引數必須不為 ``NULL``\\"
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的"
"參照 (reference)。引數必須不為 ``NULL``。"

c-api/gen.po Outdated
Comment on lines 80 to 82
"基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 "
"``__qualname__`` 設為 *name* 和 *qualname*\\ 。此函式會取走一個對 *frame* 的"
"參照。*frame* 引數必須不為 ``NULL``\\ 。"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和"
"``__qualname__`` 設為 *name* 和 *qualname*\\。此函式會取走一個對 *frame* 的"
"參照。*frame* 引數必須不為 ``NULL``\\"
"基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和"
"``__qualname__`` 設為 *name* 和 *qualname*。此函式會取走一個對 *frame* 的"
"參照。*frame* 引數必須不為 ``NULL``。"

@mattwang44mattwang44 changed the base branch from3.10 to3.11October 16, 2022 07:21
@mattwang44mattwang44force-pushed thetrans-some-c-api branch 2 times, most recently from267bc18 to7b0e6dcCompareOctober 16, 2022 07:36
@mattwang44mattwang44force-pushed thetrans-some-c-api branch 2 times, most recently fromb6e4f01 to0acc6d0CompareNovember 14, 2022 02:49
@mattwang44mattwang44 merged commit58d663c intopython:3.11Dec 30, 2022
@mattwang44mattwang44 deleted the trans-some-c-api branchDecember 30, 2022 03:44
beccalzh pushed a commit to beccalzh/python-docs-zh-tw that referenced this pull requestSep 4, 2024
Translate `c-api/{allocation,cell,gen}.po`
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@ezio-melottiezio-melottiezio-melotti left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Translatec-api/{allocation,cell,gen}.po

2 participants

@mattwang44@ezio-melotti

[8]ページ先頭

©2009-2025 Movatter.jp