-
-
Notifications
You must be signed in to change notification settings - Fork 214
Translate c-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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c-api/cell.po
Outdated
"\"Cell\" 物件用於實現被多個作用域所參照 (reference) 的變數。對於每個這樣的變" | ||
"數,都會有個 cell 物件為了儲存該值而被建立;參照該值的每個 stack frame 中的區" | ||
"域性變數包含外部作用域的 cell 參照,它同樣使用了該變數。訪問該值時,將使用 " | ||
"cell 中包含的值而不是單元格物件本身。這種對“Cell”物件的非關聯化的參照需要支援" | ||
"生成的位元組碼;訪問時不會自動非關聯化這些內容。Cell 物件在其他地方可能不太有" | ||
"用。" |
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.
爲什麼這個使用\"Cell\"
,“Cell”
和Cell
?
c-api/cell.po
Outdated
@@ -49,12 +58,14 @@ msgid "" | |||
"Return true if *ob* is a cell object; *ob* must not be ``NULL``. This " | |||
"function always succeeds." | |||
msgstr "" | |||
"如果 *ob* 是一個 cell 物件則回傳真值;\\ *ob* 必須不為 ``NULL``\\ 。此函式總" |
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.
"如果 *ob* 是一個 cell 物件則回傳真值;\\ *ob* 必須不為 ``NULL``\\ 。此函式總" | |
"如果 *ob* 是一個 cell 物件則回傳真值;*ob* 必須不為 ``NULL``。此函式總" |
c-api/allocation.po
Outdated
@@ -30,12 +34,17 @@ msgid "" | |||
"detector's set of observed objects. Other fields of the object are not " | |||
"affected." | |||
msgstr "" | |||
"用它的型別和初始參照來初始化新分配物件 *op*\\ 。已初始化的物件會被回傳。如果 " |
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.
"用它的型別和初始參照來初始化新分配物件 *op*\\ 。已初始化的物件會被回傳。如果 " | |
"用它的型別和初始參照來初始化新分配物件 *op*。已初始化的物件會被回傳。如果 " |
c-api/allocation.po
Outdated
|
||
#: ../../c-api/allocation.rst:62 | ||
msgid "" | ||
"Object which is visible in Python as ``None``. This should only be accessed " | ||
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this " | ||
"object." | ||
msgstr "" | ||
"這個物件像是 Python 中的 ``None``\\ 。它只應該透過 :c:macro:`Py_None` 巨集來" |
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.
"這個物件像是 Python 中的 ``None``\\ 。它只應該透過 :c:macro:`Py_None` 巨集來" | |
"這個物件像是 Python 中的 ``None``。它只應該透過 :c:macro:`Py_None` 巨集來" |
c-api/cell.po
Outdated
|
||
#: ../../c-api/cell.rst:36 | ||
msgid "" | ||
"Create and return a new cell object containing the value *ob*. The parameter " | ||
"may be ``NULL``." | ||
msgstr "" | ||
msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``\\ 。" |
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.
msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``\\ 。" | |
msgstr "建立並回傳一個包含 *ob* 的新 cell 物件。參數可以為 ``NULL``。" |
c-api/gen.po
Outdated
@@ -30,33 +33,42 @@ msgid "" | |||
"rather than explicitly calling :c:func:`PyGen_New` or :c:func:" | |||
"`PyGen_NewWithQualName`." | |||
msgstr "" | |||
"產生器物件是 Python 用來實現產生器疊代器 (generator iterator) 的物件。它們通" | |||
"常透過疊代會產生值的函式來建立,而不是顯式呼叫 :c:func:`PyGen_New` 或 :c:" | |||
"func:`PyGen_NewWithQualName`\\ 。" |
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.
"func:`PyGen_NewWithQualName`\\ 。" | |
"func:`PyGen_NewWithQualName`。" |
c-api/gen.po
Outdated
"如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``" | ||
"\\ 。此函式總是會成功執行。" |
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.
"如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``" | |
"\\ 。此函式總是會成功執行。" | |
"如果 *ob* 是一個產生器 (generator) 物件則回傳真值;*ob* 必須不為 ``NULL``" | |
"。此函式總是會成功執行。" |
c-api/gen.po
Outdated
"如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``" | ||
"\\ 。此函式總是會成功執行。" |
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.
"如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``" | |
"\\ 。此函式總是會成功執行。" | |
"如果 *ob* 的型別是 :c:type:`PyGen_Type` 則回傳真值;*ob* 必須不為 ``NULL``" | |
"。此函式總是會成功執行。" |
c-api/gen.po
Outdated
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的" | ||
"參照 (reference)。引數必須不為 ``NULL``\\ 。" |
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.
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的" | |
"參照 (reference)。引數必須不為 ``NULL``\\ 。" | |
"基於 *frame* 物件建立並回傳一個新的產生器物件。此函式會取走一個對 *frame* 的" | |
"參照 (reference)。引數必須不為 ``NULL``。" |
c-api/gen.po
Outdated
"基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 " | ||
"``__qualname__`` 設為 *name* 和 *qualname*\\ 。此函式會取走一個對 *frame* 的" | ||
"參照。*frame* 引數必須不為 ``NULL``\\ 。" |
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.
"基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 " | |
"``__qualname__`` 設為 *name* 和 *qualname*\\ 。此函式會取走一個對 *frame* 的" | |
"參照。*frame* 引數必須不為 ``NULL``\\ 。" | |
"基於 *frame* 物件建立並回傳一個新的產生器物件,其中 ``__name__`` 和 " | |
"``__qualname__`` 設為 *name* 和 *qualname*。此函式會取走一個對 *frame* 的" | |
"參照。*frame* 引數必須不為 ``NULL``。" |
267bc18
to
7b0e6dc
Compare
7b0e6dc
to
ee948a6
Compare
b6e4f01
to
0acc6d0
Compare
0acc6d0
to
67b6d23
Compare
67b6d23
to
08a8a6c
Compare
Translate `c-api/{allocation,cell,gen}.po`
fix #178