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

Commite646029

Browse files
committed
resolve fuzzy entries
1 parente423e60 commite646029

File tree

26 files changed

+291
-315
lines changed

26 files changed

+291
-315
lines changed

‎c-api/allocation.po‎

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,19 @@ msgstr ""
4747
"度資訊。"
4848

4949
#:../../c-api/allocation.rst:32
50-
#,fuzzy
5150
msgid""
5251
"Allocate a new Python object using the C structure type *TYPE* and the "
5352
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
5453
"Python object header are not initialized; the object's reference count will "
5554
"be one. The size of the memory allocation is determined from the :c:member:"
5655
"`~PyTypeObject.tp_basicsize` field of the type object."
5756
msgstr""
58-
"使用 C 結構型別 *TYPE* 和 Python 型別物件 *type* 分配一個新的 Python 物件。未"
59-
"在該 Python 物件標頭 (header)中定義的欄位不會被初始化;物件的參照計數將為"
60-
"。記憶體分配大小由 type 物件的 :c:member:`~PyTypeObject.tp_basicsize` 欄位"
61-
"來指定。"
57+
"使用 C 結構型別 *TYPE* 和 Python 型別物件 *typeobj* (``PyTypeObject*``) 分配"
58+
"一個新的 Python物件。未在該 Python物件標頭 (header)中定義的欄位不會被初始"
59+
"化;物件的參照計數將為一。記憶體分配大小由 type 物件的 :c:member:"
60+
"`~PyTypeObject.tp_basicsize` 欄位來指定。"
6261

6362
#:../../c-api/allocation.rst:42
64-
#,fuzzy
6563
msgid""
6664
"Allocate a new Python object using the C structure type *TYPE* and the "
6765
"Python type object *typeobj* (``PyTypeObject*``). Fields not defined by the "
@@ -73,26 +71,25 @@ msgid ""
7371
"same allocation decreases the number of allocations, improving the memory "
7472
"management efficiency."
7573
msgstr""
76-
"使用 C 的結構型別 *TYPE* 和 Python 的型別物件 *type* 分配一個新的 Python 物"
77-
"。未在該 Python 物件標頭中定義的欄位不會被初始化。記憶體空間預留了 *TYPE*"
78-
"結構大小再加上 *type* 物件中 :c:member:`~PyTypeObject.tp_itemsize` 欄位提供"
79-
"*size* 欄位的值。這對於實現如 tuple 這種能夠在建立期間決定自己大小的物件是"
80-
"很實用的。將欄位的陣列嵌入到相同的記憶體分配中可以減少記憶體分配的次數,這提"
81-
"高了記憶體管理的效率。"
74+
"使用 C 的結構型別 *TYPE* 和 Python 的型別物件 *typeobj* (``PyTypeObject*``)"
75+
"分配一個新的 Python 物件。未在該 Python 物件標頭中定義的欄位不會被初始化。"
76+
"憶體空間預留了 *TYPE*結構大小再加上 *typeobj* 物件中 :c:member:"
77+
"`~PyTypeObject.tp_itemsize` 欄位提供的*size*(``Py_ssize_t``)欄位的值。這對"
78+
"於實現如 tuple 這種能夠在建立期間決定自己大小的物件是很實用的。將欄位的陣列嵌"
79+
"入到相同的記憶體分配中可以減少記憶體分配的次數,這提高了記憶體管理的效率。"
8280

8381
#:../../c-api/allocation.rst:56
84-
#,fuzzy
8582
msgid""
8683
"Releases memory allocated to an object using :c:macro:`PyObject_New` or :c:"
8784
"macro:`PyObject_NewVar`. This is normally called from the :c:member:"
8885
"`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
8986
"fields of the object should not be accessed after this call as the memory is "
9087
"no longer a valid Python object."
9188
msgstr""
92-
"釋放由 :c:func:`PyObject_New` 或者 :c:func:`PyObject_NewVar`分配給物件的記憶"
93-
"。這通常是在物件型別所指定的 :c:member:`~PyTypeObject.tp_dealloc` handler "
94-
"中呼叫。呼叫這個函式以後,物件的各欄位都不可以被存取,因為原本分配的記憶體已"
95-
"不再是一個有效的 Python 物件。"
89+
"釋放由 :c:macro:`PyObject_New` 或者 :c:macro:`PyObject_NewVar`分配給物件的記"
90+
"憶體。這通常是在物件型別所指定的 :c:member:`~PyTypeObject.tp_dealloc` "
91+
"handler中呼叫。呼叫這個函式以後,物件的各欄位都不可以被存取,因為原本分配的"
92+
"記憶體已不再是一個有效的 Python 物件。"
9693

9794
#:../../c-api/allocation.rst:65
9895
msgid""

‎c-api/apiabiversion.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,8 @@ msgid "Use this for numeric comparisons, e.g. ``#if PY_VERSION_HEX >= ...``."
177177
msgstr"使用它進行數值比較,例如 ``#if PY_VERSION_HEX >= ...``。"
178178

179179
#:../../c-api/apiabiversion.rst:63
180-
#,fuzzy
181180
msgid"This version is also available via the symbol :c:var:`Py_Version`."
182-
msgstr"該版本也可透過符號 :data:`Py_Version` 獲得。"
181+
msgstr"該版本也可透過符號 :c:var:`Py_Version` 獲得。"
183182

184183
#:../../c-api/apiabiversion.rst:67
185184
msgid""

‎c-api/bytes.po‎

Lines changed: 12 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ msgstr ""
8888

8989
#:../../c-api/bytes.rst:67
9090
msgid"``%%``"
91-
msgstr""
91+
msgstr"``%%``"
9292

9393
#:../../c-api/bytes.rst:67
9494
msgid"*n/a*"
@@ -100,7 +100,7 @@ msgstr ""
100100

101101
#:../../c-api/bytes.rst:69
102102
msgid"``%c``"
103-
msgstr""
103+
msgstr"``%c``"
104104

105105
#:../../c-api/bytes.rst:69../../c-api/bytes.rst:72../../c-api/bytes.rst:90
106106
#:../../c-api/bytes.rst:93
@@ -113,15 +113,15 @@ msgstr ""
113113

114114
#:../../c-api/bytes.rst:72
115115
msgid"``%d``"
116-
msgstr""
116+
msgstr"``%d``"
117117

118118
#:../../c-api/bytes.rst:72
119119
msgid"Equivalent to ``printf(\"%d\")``. [1]_"
120120
msgstr"等價於 ``printf(\"%d\")``. [1]_"
121121

122122
#:../../c-api/bytes.rst:75
123123
msgid"``%u``"
124-
msgstr""
124+
msgstr"``%u``"
125125

126126
#:../../c-api/bytes.rst:75
127127
msgid"unsigned int"
@@ -133,7 +133,7 @@ msgstr "等價於 ``printf(\"%u\")``. [1]_"
133133

134134
#:../../c-api/bytes.rst:78
135135
msgid"``%ld``"
136-
msgstr""
136+
msgstr"``%ld``"
137137

138138
#:../../c-api/bytes.rst:78
139139
msgid"long"
@@ -145,7 +145,7 @@ msgstr "等價於 ``printf(\"%ld\")``. [1]_"
145145

146146
#:../../c-api/bytes.rst:81
147147
msgid"``%lu``"
148-
msgstr""
148+
msgstr"``%lu``"
149149

150150
#:../../c-api/bytes.rst:81
151151
msgid"unsigned long"
@@ -157,7 +157,7 @@ msgstr "等價於 ``printf(\"%lu\")``. [1]_"
157157

158158
#:../../c-api/bytes.rst:84
159159
msgid"``%zd``"
160-
msgstr""
160+
msgstr"``%zd``"
161161

162162
#:../../c-api/bytes.rst:84
163163
msgid":c:type:`\\ Py_ssize_t`"
@@ -169,7 +169,7 @@ msgstr "等價於 ``printf(\"%zd\")``. [1]_"
169169

170170
#:../../c-api/bytes.rst:87
171171
msgid"``%zu``"
172-
msgstr""
172+
msgstr"``%zu``"
173173

174174
#:../../c-api/bytes.rst:87
175175
msgid"size_t"
@@ -181,23 +181,23 @@ msgstr "等價於 ``printf(\"%zu\")``. [1]_"
181181

182182
#:../../c-api/bytes.rst:90
183183
msgid"``%i``"
184-
msgstr""
184+
msgstr"``%i``"
185185

186186
#:../../c-api/bytes.rst:90
187187
msgid"Equivalent to ``printf(\"%i\")``. [1]_"
188188
msgstr"等價於 ``printf(\"%i\")``. [1]_"
189189

190190
#:../../c-api/bytes.rst:93
191191
msgid"``%x``"
192-
msgstr""
192+
msgstr"``%x``"
193193

194194
#:../../c-api/bytes.rst:93
195195
msgid"Equivalent to ``printf(\"%x\")``. [1]_"
196196
msgstr"等價於 ``printf(\"%x\")``. [1]_"
197197

198198
#:../../c-api/bytes.rst:96
199199
msgid"``%s``"
200-
msgstr""
200+
msgstr"``%s``"
201201

202202
#:../../c-api/bytes.rst:96
203203
msgid"const char\\*"
@@ -209,7 +209,7 @@ msgstr ""
209209

210210
#:../../c-api/bytes.rst:99
211211
msgid"``%p``"
212-
msgstr""
212+
msgstr"``%p``"
213213

214214
#:../../c-api/bytes.rst:99
215215
msgid"const void\\*"
@@ -335,39 +335,3 @@ msgstr "object(物件)"
335335
#:../../c-api/bytes.rst:11
336336
msgid"bytes"
337337
msgstr"bytes(位元組)"
338-
339-
#~ msgid ":attr:`%%`"
340-
#~ msgstr ":attr:`%%`"
341-
342-
#~ msgid ":attr:`%c`"
343-
#~ msgstr ":attr:`%c`"
344-
345-
#~ msgid ":attr:`%d`"
346-
#~ msgstr ":attr:`%d`"
347-
348-
#~ msgid ":attr:`%u`"
349-
#~ msgstr ":attr:`%u`"
350-
351-
#~ msgid ":attr:`%ld`"
352-
#~ msgstr ":attr:`%ld`"
353-
354-
#~ msgid ":attr:`%lu`"
355-
#~ msgstr ":attr:`%lu`"
356-
357-
#~ msgid ":attr:`%zd`"
358-
#~ msgstr ":attr:`%zd`"
359-
360-
#~ msgid ":attr:`%zu`"
361-
#~ msgstr ":attr:`%zu`"
362-
363-
#~ msgid ":attr:`%i`"
364-
#~ msgstr ":attr:`%i`"
365-
366-
#~ msgid ":attr:`%x`"
367-
#~ msgstr ":attr:`%x`"
368-
369-
#~ msgid ":attr:`%s`"
370-
#~ msgstr ":attr:`%s`"
371-
372-
#~ msgid ":attr:`%p`"
373-
#~ msgstr ":attr:`%p`"

‎c-api/codec.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,11 @@ msgid "Register a new codec search function."
2727
msgstr"註冊一個新的編解碼器搜索函式。"
2828

2929
#:../../c-api/codec.rst:10
30-
#,fuzzy
3130
msgid""
3231
"As side effect, this tries to load the :mod:`!encodings` package, if not yet "
3332
"done, to make sure that it is always first in the list of search functions."
3433
msgstr""
35-
"作為副作用 (side effect),這會嘗試載入 :mod:`encodings`\\ (如果尚未完成),"
34+
"作為副作用 (side effect),這會嘗試載入 :mod:`!encodings`\\ (如果尚未完成),"
3635
"以確保它始終位於搜索函式列表中的第一個。"
3736

3837
#:../../c-api/codec.rst:15

‎c-api/init.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,8 @@ msgid ":c:func:`PyImport_ExtendInittab`"
5858
msgstr":c:func:`PyImport_ExtendInittab`"
5959

6060
#:../../c-api/init.rst:28
61-
#,fuzzy
6261
msgid":c:func:`!PyInitFrozenExtensions`"
63-
msgstr":c:func:`PyInitFrozenExtensions`"
62+
msgstr":c:func:`!PyInitFrozenExtensions`"
6463

6564
#:../../c-api/init.rst:29
6665
msgid":c:func:`PyMem_SetAllocator`"

‎c-api/intro.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -845,15 +845,14 @@ msgstr ""
845845
"例外,並丟失關於錯誤確切原因的重要資訊。"
846846

847847
#:../../c-api/intro.rst:618
848-
#,fuzzy
849848
msgid""
850849
"A simple example of detecting exceptions and passing them on is shown in "
851850
"the :c:func:`!sum_sequence` example above. It so happens that this example "
852851
"doesn't need to clean up any owned references when it detects an error. The "
853852
"following example function shows some error cleanup. First, to remind you "
854853
"why you like Python, we show the equivalent Python code::"
855854
msgstr""
856-
"上面的 :c:func:`sum_sequence` 範例展示了一個檢測例外並將其繼續傳遞的例子。碰"
855+
"上面的 :c:func:`!sum_sequence` 範例展示了一個檢測例外並將其繼續傳遞的例子。碰"
857856
"巧這個例子在檢測到錯誤時不需要清理任何擁有的參照。以下範例函式展示了一些錯誤"
858857
"清理。首先,為了提醒你為什麼喜歡 Python,我們展示了等效的 Python 程式碼:\n"
859858
"\n"

‎c-api/typehints.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ msgstr ""
6565
"::"
6666

6767
#:../../c-api/typehints.rst:38
68-
#,fuzzy
6968
msgid"The data model method :meth:`~object.__class_getitem__`."
70-
msgstr"資料模型方法 :meth:`__class_getitem__`。"
69+
msgstr"資料模型方法 :meth:`~object.__class_getitem__`。"
7170

7271
#:../../c-api/typehints.rst:44
7372
msgid""

‎howto/clinic.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ msgstr "Larry Hastings"
3232

3333
#:../../howto/clinic.rst:11
3434
msgid"**Source code:** :source:`Tools/clinic/clinic.py`."
35-
msgstr""
35+
msgstr"**原始碼:** :source:`Tools/clinic/clinic.py`。"
3636

3737
#:../../howto/clinic.rst:7
3838
msgid"Abstract"

‎library/importlib.po‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#:../../library/importlib.rst:2
2222
msgid":mod:`!importlib` --- The implementation of :keyword:`!import`"
23-
msgstr""
23+
msgstr":mod:`!importlib` --- :keyword:`!import` 的實作"
2424

2525
#:../../library/importlib.rst:12
2626
msgid"**Source code:** :source:`Lib/importlib/__init__.py`"
@@ -670,15 +670,15 @@ msgstr ""
670670

671671
#:../../library/importlib.rst:488
672672
msgid"Implementation of :meth:`Loader.exec_module`."
673-
msgstr""
673+
msgstr":meth:`Loader.exec_module` 的實作。"
674674

675675
#:../../library/importlib.rst:494
676676
msgid"Implementation of :meth:`Loader.load_module`."
677-
msgstr""
677+
msgstr":meth:`Loader.load_module` 的實作。"
678678

679679
#:../../library/importlib.rst:496
680680
msgid"use :meth:`exec_module` instead."
681-
msgstr""
681+
msgstr"請改用 :meth:`exec_module`。"
682682

683683
#:../../library/importlib.rst:502
684684
msgid""

‎library/os.po‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2342,9 +2342,8 @@ msgstr ""
23422342
"稽核事件 <auditing>` ``os.link``。"
23432343

23442344
#:../../library/os.rst:2153
2345-
#,fuzzy
23462345
msgid":ref:`Availability <availability>`: Unix, Windows, not Emscripten."
2347-
msgstr":ref:`適用 <availability>`:Unix、Windows、非 Emscripten、非 WASI。"
2346+
msgstr":ref:`適用 <availability>`:Unix、Windows、非 Emscripten。"
23482347

23492348
#:../../library/os.rst:2155
23502349
msgid"Added Windows support."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp