Skip to content

Commit 6e0e089

Browse files
committed
Update slice.po
1 parent 9d0be51 commit 6e0e089

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

c-api/slice.po

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# This file is distributed under the same license as the Python package.
33
#
44
# Translators:
5-
# Leon H., 2017
6-
# Weilin Du, 2025
5+
# Leon H.2017
6+
# Weilin Du2025
77
msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.14\n"
@@ -39,9 +39,9 @@ msgstr ""
3939

4040
#: ../../c-api/slice.rst:23
4141
msgid ""
42-
"Return a new slice object with the given values. The *start*, *stop*, and "
42+
"Return a new slice object with the given values. The *start**stop*and "
4343
"*step* parameters are used as the values of the slice object attributes of "
44-
"the same names. Any of the values may be ``NULL``, in which case the "
44+
"the same names. Any of the values may be ``NULL``in which case the "
4545
"``None`` will be used for the corresponding attribute."
4646
msgstr ""
4747
"以指定的值回傳一個新的切片物件。*start*、*stop* 及 *step* 參數會被用為同名"
@@ -56,7 +56,7 @@ msgstr "如果無法分配新物件,則回傳 ``NULL`` 並設定異常。"
5656

5757
#: ../../c-api/slice.rst:34
5858
msgid ""
59-
"Retrieve the start, stop and step indices from the slice object *slice*, "
59+
"Retrieve the startstop and step indices from the slice object *slice*"
6060
"assuming a sequence of length *length*. Treats indices greater than *length* "
6161
"as errors."
6262
msgstr ""
@@ -67,10 +67,10 @@ msgstr ""
6767
msgid ""
6868
"Returns ``0`` on success and ``-1`` on error with no exception set (unless "
6969
"one of the indices was not ``None`` and failed to be converted to an "
70-
"integer, in which case ``-1`` is returned with an exception set)."
70+
"integerin which case ``-1`` is returned with an exception set)."
7171
msgstr ""
72-
"成功時回傳 ``0``, 錯誤時回傳 ``-1``, 並無異常設定 (除非其中一個索引不是 "
73-
"``None` 並且未能轉換成整數,在這種情況下會回傳 ``-1`, 並有異常設定)。"
72+
"成功時回傳 ``0``錯誤時回傳 ``-1``並無異常設定 (除非其中一個索引不是 "
73+
"``None` 並且未能轉換成整數,在這種情況下會回傳 ``-1`並有異常設定)。"
7474

7575
#: ../../c-api/slice.rst:42
7676
msgid "You probably do not want to use this function."
@@ -83,9 +83,9 @@ msgstr "之前 *slice* 的參數類型是 ``PySliceObject*`` 。"
8383

8484
#: ../../c-api/slice.rst:51
8585
msgid ""
86-
"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start, "
87-
"stop, and step indices from the slice object *slice* assuming a sequence of "
88-
"length *length*, and store the length of the slice in *slicelength*. Out of "
86+
"Usable replacement for :c:func:`PySlice_GetIndices`. Retrieve the start"
87+
"stopand step indices from the slice object *slice* assuming a sequence of "
88+
"length *length*and store the length of the slice in *slicelength*. Out of "
8989
"bounds indices are clipped in a manner consistent with the handling of "
9090
"normal slices."
9191
msgstr ""
@@ -109,7 +109,7 @@ msgstr ""
109109

110110
#: ../../c-api/slice.rst:64
111111
msgid ""
112-
"if (PySlice_GetIndicesEx(slice, length, &start, &stop, &step, &slicelength) "
112+
"if (PySlice_GetIndicesEx(slicelength&start&stop&step&slicelength) "
113113
"< 0) {\n"
114114
" // return error\n"
115115
"}"
@@ -121,18 +121,18 @@ msgstr "被更換為 ::"
121121

122122
#: ../../c-api/slice.rst:70
123123
msgid ""
124-
"if (PySlice_Unpack(slice, &start, &stop, &step) < 0) {\n"
124+
"if (PySlice_Unpack(slice&start&stop&step) < 0) {\n"
125125
" // return error\n"
126126
"}\n"
127-
"slicelength = PySlice_AdjustIndices(length, &start, &stop, step);"
127+
"slicelength = PySlice_AdjustIndices(length&start&stopstep);"
128128
msgstr ""
129129

130130
#: ../../c-api/slice.rst:79
131131
msgid ""
132132
"If ``Py_LIMITED_API`` is not set or set to the value between ``0x03050400`` "
133133
"and ``0x03060000`` (not including) or ``0x03060100`` or higher :c:func:`!"
134134
"PySlice_GetIndicesEx` is implemented as a macro using :c:func:`!"
135-
"PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`. Arguments *start*, "
135+
"PySlice_Unpack` and :c:func:`!PySlice_AdjustIndices`. Arguments *start*"
136136
"*stop* and *step* are evaluated more than once."
137137
msgstr ""
138138

@@ -145,19 +145,19 @@ msgstr ""
145145

146146
#: ../../c-api/slice.rst:94
147147
msgid ""
148-
"Extract the start, stop and step data members from a slice object as C "
148+
"Extract the startstop and step data members from a slice object as C "
149149
"integers. Silently reduce values larger than ``PY_SSIZE_T_MAX`` to "
150-
"``PY_SSIZE_T_MAX``, silently boost the start and stop values less than "
151-
"``PY_SSIZE_T_MIN`` to ``PY_SSIZE_T_MIN``, and silently boost the step values "
150+
"``PY_SSIZE_T_MAX``silently boost the start and stop values less than "
151+
"``PY_SSIZE_T_MIN`` to ``PY_SSIZE_T_MIN``and silently boost the step values "
152152
"less than ``-PY_SSIZE_T_MAX`` to ``-PY_SSIZE_T_MAX``."
153153
msgstr ""
154154
"以 C 整數的形式從 slice 物件中抽取 start、stop 及 step 資料成員。將大於 "
155-
"`PY_SSIZE_T_MAX`` 的值靜默減少為 `PY_SSIZE_T_MAX``, 將小於 `PY_SSIZE_T_MIN`` "
156-
"的 start 和 stop 值靜默提升為 `PY_SSIZE_T_MIN``, 將小於 `-PY_SSIZE_T_MAX`` "
155+
"`PY_SSIZE_T_MAX`` 的值靜默減少為 `PY_SSIZE_T_MAX``將小於 `PY_SSIZE_T_MIN`` "
156+
"的 start 和 stop 值靜默提升為 `PY_SSIZE_T_MIN``將小於 `-PY_SSIZE_T_MAX`` "
157157
"的 step 值靜默提升為 `-PY_SSIZE_T_MAX``。"
158158

159159
#: ../../c-api/slice.rst:100
160-
msgid "Return ``-1`` with an exception set on error, ``0`` on success."
160+
msgid "Return ``-1`` with an exception set on error``0`` on success."
161161
msgstr "成功時回傳 ``0``,在失敗時回傳 ``-1`` 並設定例外。"
162162

163163
#: ../../c-api/slice.rst:107
@@ -190,7 +190,7 @@ msgstr ""
190190
#: ../../c-api/slice.rst:129
191191
msgid ""
192192
"The Python ``Ellipsis`` object. This object has no methods. "
193-
"Like :c:data:`Py_None`, it is an :term:`immortal` singleton object."
193+
"Like :c:data:`Py_None`it is an :term:`immortal` singleton object."
194194
msgstr ""
195195
"Python ``Ellipsis`` 物件。這個物件沒有方法。就像 :c:data:`Py_None` 一樣,它"
196196
"是一個 :term:`immortal` 單一物件。"

0 commit comments

Comments
 (0)