Skip to content

Commit 847c63f

Browse files
mattwang44claude
andcommitted
Fix translation issues found in review
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 6903970 commit 847c63f

7 files changed

Lines changed: 13 additions & 14 deletions

File tree

‎c-api/init_config.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3459,7 +3459,7 @@ msgstr ""
34593459

34603460
#: ../../c-api/init_config.rst:2324
34613461
msgid "Install signal handlers;"
3462-
msgstr "安裝訊號處理器;"
3462+
msgstr "安裝訊號處理程式;"
34633463

34643464
#: ../../c-api/init_config.rst:2325
34653465
msgid ""

‎c-api/tuple.po‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,8 @@ msgid ""
223223
"items can also be accessed through attributes. It is similar to :func:"
224224
"`collections.namedtuple`, but provides a slightly different interface."
225225
msgstr ""
226-
"結構序列物件是一個\\ :term:`附名元組 <named tuple>`,換言之,一個序列的元素也"
227-
"可以透過屬性存取。它類似於 :func:`collections.namedtuple`,但提供稍微不同的介"
228-
"面。"
226+
"結構序列物件是一個\\ :term:`附名元組 <named tuple>`,也就是元素也可以透過屬性"
227+
"存取的序列。它類似於 :func:`collections.namedtuple`,但提供稍微不同的介面。"
229228

230229
#: ../../c-api/tuple.rst:158
231230
msgid ""

‎c-api/type.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ msgid ""
895895
"The ``Py_TPFLAGS_HEAPTYPE`` flag is not set, :c:func:"
896896
"`PyType_FromSpecWithBases` sets it automatically."
897897
msgstr ""
898-
"``Py_TPFLAGS_HEAPTYPE`` 旗標不會被設定,:c:func:`PyType_FromSpecWithBases` 會"
898+
"不需設定 ``Py_TPFLAGS_HEAPTYPE`` 旗標,:c:func:`PyType_FromSpecWithBases` 會"
899899
"自動設定它。"
900900

901901
#: ../../c-api/type.rst:668

‎extending/extending.po‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -457,10 +457,10 @@ msgid ""
457457
"will require calling the Python callback functions from a C callback. Other "
458458
"uses are also imaginable."
459459
msgstr ""
460-
"本教學專注於讓 C 函式可以從 Python 呼叫。反過來也很有用:從 C 呼叫 Python 函"
461-
"式。對於支援所謂「回呼 (callback)」函式的函式庫尤其如此。如果一個 C 介面使用"
462-
"了回呼,等價的 Python 通常就需要為 Python 程式設計者提供一個回呼機制;其實作"
463-
"將需要從 C 回呼中呼叫 Python 回呼函式。其他用途也是可以想像的。"
460+
"前面的教學著重於讓 C 函式可以從 Python 呼叫。反過來也很有用:從 C 呼叫 "
461+
"Python 函式。對於支援所謂「回呼 (callback)」函式的函式庫尤其如此。如果一個 C "
462+
"介面使用了回呼,等價的 Python 通常就需要為 Python 程式設計者提供一個回呼機"
463+
"制;其實作將需要從 C 回呼中呼叫 Python 回呼函式。其他用途也是可以想像的。"
464464

465465
#: ../../extending/extending.rst:233
466466
msgid ""

‎library/symtable.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ msgid ""
242242
"Return a tuple containing names of :term:`cell variables <closure variable>` "
243243
"in this table."
244244
msgstr ""
245-
"回傳一個包含此表中的\\ :term:`儲存格變數 (cell variables) <closure "
246-
"variable>` 名稱的元組。"
245+
"回傳一個包含此表中的\\ :term:`cell 變數 (cell variables) <closure variable>` "
246+
"名稱的元組。"
247247

248248
#: ../../library/symtable.rst:188
249249
msgid "A namespace of a class. This class inherits from :class:`SymbolTable`."

‎whatsnew/3.10.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3151,7 +3151,7 @@ msgstr ""
31513151
"(被 :meth:`~importlib.abc.MetaPathFinder.find_spec` 取代)、"
31523152
"``importlib.abc.Loader.load_module`` "
31533153
"(被 :meth:`~importlib.abc.Loader.exec_module` 取代)、 :meth:`!module_repr` "
3154-
"(引入系統負責處理你)、``__package__`` 屬性(由 ``__spec__.parent`` 取"
3154+
"(引入系統會替你處理)、``__package__`` 屬性(由 ``__spec__.parent`` 取"
31553155
"代)、 ``__loader__`` 屬性(由 ``__spec__.loader`` 取代)和 ``__cached__`` 屬"
31563156
"性(由 ``__spec__.cached`` 取代)將慢慢被刪除(以及 :mod:`importlib` 中的其他"
31573157
"類別和方法)。將酌情引發 :exc:`ImportWarning` 和/"

‎whatsnew/3.11.po‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5459,8 +5459,8 @@ msgid ""
54595459
"limited C API. (Contributed by Victor Stinner in :issue:`35134`.)"
54605460
msgstr ""
54615461
"將 :c:func:`!PyWeakref_GET_OBJECT` 排除於受限 C API 之外,它因為 :c:type:`!"
5462-
"PyWeakReference` 結構在受限 C API 中過於晦澀而從未運作。(由 Victor Stinner "
5463-
"於 :issue:`35134` 中所貢獻。)"
5462+
"PyWeakReference` 結構在受限 C API 中是不透明的而從未運作。(由 Victor "
5463+
"Stinner 於 :issue:`35134` 中所貢獻。)"
54645464

54655465
#: ../../whatsnew/3.11.rst:2681
54665466
msgid ""

0 commit comments

Comments
 (0)