Skip to content

Commit a0cc6a5

Browse files
committed
resolve fuzzy entries and add some translation
1 parent dad6c85 commit a0cc6a5

File tree

128 files changed

+1762
-839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+1762
-839
lines changed

bugs.po

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ msgid ""
6969
"documentation, submit the report to the `translation’s repository "
7070
"<TRANSLATION_REPO_>`_ instead."
7171
msgstr ""
72+
"如果錯誤或建議的改進涉及此文件的翻譯,請將報告提交到\\ `翻譯存儲庫 "
73+
"<TRANSLATION_REPO_>`_。"
7274

7375
#: ../../bugs.rst:28
7476
msgid ""
@@ -84,6 +86,9 @@ msgid ""
8486
"documentation, please submit a bug report on the `python-doc-theme issue "
8587
"tracker <https://github.com/python/python-docs-theme>`_."
8688
msgstr ""
89+
"如果你發現文件主題 (HTML / CSS / JavaScript) 中存在錯誤,請在 `python-doc-"
90+
"theme 問題追蹤系統 <https://github.com/python/python-docs-theme>`_\\ 上提交錯誤報"
91+
"告。"
8792

8893
#: ../../bugs.rst:37
8994
msgid "`Documentation bugs`_"
@@ -259,14 +264,3 @@ msgstr ""
259264
"你可以在 `Python 開發者指南`_\\ 中找到如何開始修補 Python 的更多資訊。如果你"
260265
"有任何問題,`核心導師郵寄清單`_\\ 是一個友善的地方,你可以在那裡得到,關於 "
261266
"Python 修正錯誤的過程中,所有問題的答案。"
262-
263-
#~ msgid ""
264-
#~ "If you're short on time, you can also email documentation bug reports to "
265-
#~ "[email protected] (behavioral bugs can be sent to [email protected]). "
266-
#~ "'docs@' is a mailing list run by volunteers; your request will be "
267-
#~ "noticed, though it may take a while to be processed."
268-
#~ msgstr ""
269-
#~ "如果你的時間有限,也可以將說明文件的錯誤報告以電子郵件寄到 docs@python."
270-
#~ "org\\ (程式碼執行的錯誤可以寄到 [email protected])。「docs@」是一個"
271-
#~ "由志工們所運行的郵寄清單;你的請求會被注意到,但可能需要一些時間才會被處"
272-
#~ "理。"

c-api/arg.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ msgstr ""
5656

5757
#: ../../c-api/arg.rst:33
5858
msgid "Strings and buffers"
59-
msgstr ""
59+
msgstr "字串與緩衝區"
6060

6161
#: ../../c-api/arg.rst:37
6262
msgid ""
@@ -526,7 +526,7 @@ msgstr ""
526526

527527
#: ../../c-api/arg.rst:273 ../../c-api/arg.rst:283
528528
msgid "Use :meth:`~object.__index__` if available."
529-
msgstr ""
529+
msgstr "如有提供則使用 :meth:`~object.__index__`。"
530530

531531
#: ../../c-api/arg.rst:276 ../../c-api/arg.rst:660
532532
msgid "``L`` (:class:`int`) [long long]"

c-api/buffer.po

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

733733
#: ../../c-api/buffer.rst:525
734734
msgid "``0`` is returned on success, ``-1`` on error."
735-
msgstr ""
735+
msgstr "成功時回傳 ``0``,錯誤時回傳 ``-1``。"
736736

737737
#: ../../c-api/buffer.rst:529
738738
msgid ""

c-api/gcsupport.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,20 +129,20 @@ msgstr ""
129129

130130
#: ../../c-api/gcsupport.rst:73 ../../c-api/gcsupport.rst:97
131131
msgid ":c:func:`PyObject_GC_Del`"
132-
msgstr ""
132+
msgstr ":c:func:`PyObject_GC_Del`"
133133

134134
#: ../../c-api/gcsupport.rst:74
135135
msgid ":c:macro:`PyObject_New`"
136-
msgstr ""
136+
msgstr ":c:macro:`PyObject_New`"
137137

138138
#: ../../c-api/gcsupport.rst:75 ../../c-api/gcsupport.rst:99
139139
#: ../../c-api/gcsupport.rst:193
140140
msgid ":c:func:`PyType_GenericAlloc`"
141-
msgstr ""
141+
msgstr ":c:func:`PyType_GenericAlloc`"
142142

143143
#: ../../c-api/gcsupport.rst:76 ../../c-api/gcsupport.rst:100
144144
msgid ":c:member:`~PyTypeObject.tp_alloc`"
145-
msgstr ""
145+
msgstr ":c:member:`~PyTypeObject.tp_alloc`"
146146

147147
#: ../../c-api/gcsupport.rst:81
148148
msgid ""
@@ -152,7 +152,7 @@ msgstr ""
152152

153153
#: ../../c-api/gcsupport.rst:98
154154
msgid ":c:macro:`PyObject_NewVar`"
155-
msgstr ""
155+
msgstr ":c:macro:`PyObject_NewVar`"
156156

157157
#: ../../c-api/gcsupport.rst:105
158158
msgid ""
@@ -262,15 +262,15 @@ msgstr ""
262262

263263
#: ../../c-api/gcsupport.rst:191
264264
msgid ":c:macro:`PyObject_GC_New`"
265-
msgstr ""
265+
msgstr ":c:macro:`PyObject_GC_New`"
266266

267267
#: ../../c-api/gcsupport.rst:192
268268
msgid ":c:macro:`PyObject_GC_NewVar`"
269-
msgstr ""
269+
msgstr ":c:macro:`PyObject_GC_NewVar`"
270270

271271
#: ../../c-api/gcsupport.rst:194
272272
msgid ":c:member:`~PyTypeObject.tp_free`"
273-
msgstr ""
273+
msgstr ":c:member:`~PyTypeObject.tp_free`"
274274

275275
#: ../../c-api/gcsupport.rst:199
276276
msgid ""

c-api/init_config.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3171,7 +3171,7 @@ msgstr ""
31713171

31723172
#: ../../c-api/init_config.rst:2183
31733173
msgid "Python Path Configuration"
3174-
msgstr ""
3174+
msgstr "Python 路徑配置"
31753175

31763176
#: ../../c-api/init_config.rst:2185
31773177
msgid ":c:type:`PyConfig` contains multiple fields for the path configuration:"
@@ -3290,7 +3290,7 @@ msgstr ""
32903290

32913291
#: ../../c-api/init_config.rst:2233
32923292
msgid ":c:func:`Py_RunMain` and :c:func:`Py_Main` modify :data:`sys.path`:"
3293-
msgstr ""
3293+
msgstr ":c:func:`Py_RunMain` 和 :c:func:`Py_Main` 會修改 :data:`sys.path`:"
32943294

32953295
#: ../../c-api/init_config.rst:2235
32963296
msgid ""

c-api/memory.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,15 +1022,15 @@ msgstr ""
10221022

10231023
#: ../../c-api/memory.rst:667
10241024
msgid ":c:func:`!VirtualAlloc` and :c:func:`!VirtualFree` on Windows,"
1025-
msgstr ""
1025+
msgstr "Windows 上的 :c:func:`!VirtualAlloc` 和 :c:func:`!VirtualFree`,"
10261026

10271027
#: ../../c-api/memory.rst:668
10281028
msgid ":c:func:`!mmap` and :c:func:`!munmap` if available,"
1029-
msgstr ""
1029+
msgstr "如果可用,則使用 :c:func:`!mmap` 和 :c:func:`!munmap`,"
10301030

10311031
#: ../../c-api/memory.rst:669
10321032
msgid ":c:func:`malloc` and :c:func:`free` otherwise."
1033-
msgstr ""
1033+
msgstr "否則使用 :c:func:`malloc` 和 :c:func:`free`。"
10341034

10351035
#: ../../c-api/memory.rst:671
10361036
msgid ""

c-api/module.po

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ msgid ""
6767
"Similar to :c:func:`PyModule_NewObject`, but the name is a UTF-8 encoded "
6868
"string instead of a Unicode object."
6969
msgstr ""
70+
"類似於 :c:func:`PyModule_NewObject`,但名稱是以 UTF-8 編碼的字串,而非 Unicode 物件。"
7071

7172
#: ../../c-api/module.rst:65
7273
msgid ""
@@ -95,6 +96,7 @@ msgid ""
9596
"Similar to :c:func:`PyModule_GetNameObject` but return the name encoded to "
9697
"``'utf-8'``."
9798
msgstr ""
99+
"類似於 :c:func:`PyModule_GetNameObject`,但回傳以 ``'utf-8'`` 編碼的名稱。"
98100

99101
#: ../../c-api/module.rst:95
100102
msgid ""
@@ -129,6 +131,7 @@ msgid ""
129131
"Similar to :c:func:`PyModule_GetFilenameObject` but return the filename "
130132
"encoded to 'utf-8'."
131133
msgstr ""
134+
"類似於 :c:func:`PyModule_GetFilenameObject`,但回傳以 'utf-8' 編碼的檔案名稱。"
132135

133136
#: ../../c-api/module.rst:129
134137
msgid ""
@@ -242,6 +245,7 @@ msgid ""
242245
"Prior to version 3.5, this member was always set to ``NULL``, and was "
243246
"defined as:"
244247
msgstr ""
248+
"在 3.5 版本之前,這個成員總是被設為 ``NULL``,並被定義為:"
245249

246250
#: ../../c-api/module.rst:220
247251
msgid ""
@@ -630,12 +634,16 @@ msgid ""
630634
" goto error;\n"
631635
"}"
632636
msgstr ""
637+
"if (PyModule_Add(module, \"spam\", PyBytes_FromString(value)) < 0) {\n"
638+
" goto error;\n"
639+
"}"
633640

634641
#: ../../c-api/module.rst:559
635642
msgid ""
636643
"Similar to :c:func:`PyModule_AddObjectRef`, but steals a reference to "
637644
"*value* on success (if it returns ``0``)."
638645
msgstr ""
646+
"類似於 :c:func:`PyModule_AddObjectRef`,但在成功時(如果回傳 ``0``)會偷走對 *value* 的參照。"
639647

640648
#: ../../c-api/module.rst:562
641649
msgid ""
@@ -672,7 +680,7 @@ msgstr ""
672680

673681
#: ../../c-api/module.rst:590
674682
msgid ":c:func:`PyModule_AddObject` is :term:`soft deprecated`."
675-
msgstr ""
683+
msgstr ":c:func:`PyModule_AddObject` 已被\\ :term:`軟性棄用 <soft deprecated>`。"
676684

677685
#: ../../c-api/module.rst:595
678686
msgid ""
@@ -870,9 +878,3 @@ msgstr "__dict__(模組屬性)"
870878
#: ../../c-api/module.rst:77 ../../c-api/module.rst:112
871879
msgid "SystemError (built-in exception)"
872880
msgstr "SystemError(內建例外)"
873-
874-
#~ msgid "Initializing C modules"
875-
#~ msgstr "初始化 C 模組"
876-
877-
#~ msgid "See :PEP:`489` for more details on multi-phase initialization."
878-
#~ msgstr "更多關於多階段初始化的詳細資訊,請參閱 :pep:`489`。"

c-api/type.po

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

643643
#: ../../c-api/type.rst:549
644644
msgid ":c:data:`Py_tp_token`"
645-
msgstr ""
645+
msgstr ":c:data:`Py_tp_token`"
646646

647647
#: ../../c-api/type.rst:551
648648
msgid ""

0 commit comments

Comments
 (0)