-
-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathapiabiversion.po
More file actions
310 lines (250 loc) · 8.25 KB
/
apiabiversion.po
File metadata and controls
310 lines (250 loc) · 8.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# Liang-Bo Wang <me@liang2.tw>, 2015
# Matt Wang <mattwang44@gmail.com>, 2022
msgid ""
msgstr ""
"Project-Id-Version: Python 3.14\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-01-12 12:22+0000\n"
"PO-Revision-Date: 2022-01-24 22:34+0800\n"
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"
#: ../../c-api/apiabiversion.rst:7
msgid "API and ABI Versioning"
msgstr "API 和 ABI 版本管理"
#: ../../c-api/apiabiversion.rst:11
msgid "Build-time version constants"
msgstr ""
#: ../../c-api/apiabiversion.rst:13
msgid ""
"CPython exposes its version number in the following macros. Note that these "
"correspond to the version code is **built** with. See :c:var:`Py_Version` "
"for the version used at **run time**."
msgstr ""
"CPython 透過以下巨集 (macro) 公開其版本號。請注意,對應到的是\\ **建置 "
"(built)** 所用到的版本。關於\\ **run time** 所使用的版本,請見 :c:var:"
"`Py_Version`。"
#: ../../c-api/apiabiversion.rst:17
msgid ""
"See :ref:`stable` for a discussion of API and ABI stability across versions."
msgstr "關於跨版本 API 和 ABI 穩定性的討論,請見 :ref:`stable`。"
#: ../../c-api/apiabiversion.rst:21
msgid "The ``3`` in ``3.4.1a2``."
msgstr "在 ``3.4.1a2`` 中的 ``3``。"
#: ../../c-api/apiabiversion.rst:25
msgid "The ``4`` in ``3.4.1a2``."
msgstr "在 ``3.4.1a2`` 中的 ``4``。"
#: ../../c-api/apiabiversion.rst:29
msgid "The ``1`` in ``3.4.1a2``."
msgstr "在 ``3.4.1a2`` 中的 ``1``。"
#: ../../c-api/apiabiversion.rst:33
msgid ""
"The ``a`` in ``3.4.1a2``. This can be ``0xA`` for alpha, ``0xB`` for beta, "
"``0xC`` for release candidate or ``0xF`` for final."
msgstr ""
"在 ``3.4.1a2`` 中的 ``a``。``0xA`` 代表 alpha 版本、``0xB`` 代表 beta 版本、"
"``0xC`` 為發布候選版本、``0xF`` 則為最終版。"
#: ../../c-api/apiabiversion.rst:39
msgid "The ``2`` in ``3.4.1a2``. Zero for final releases."
msgstr "在 ``3.4.1a2`` 中的 ``2``。零則為最終發布版本。"
#: ../../c-api/apiabiversion.rst:43
msgid ""
"The Python version number encoded in a single integer. See :c:func:"
"`Py_PACK_FULL_VERSION` for the encoding details."
msgstr ""
"被編碼為單一整數的 Python 版本號。詳見 :c:func:`Py_PACK_FULL_VERSION` 以了解"
"編碼詳細資訊。"
#: ../../c-api/apiabiversion.rst:46
msgid ""
"Use this for numeric comparisons, for example, ``#if PY_VERSION_HEX >= ...``."
msgstr "使用它進行數值比較,例如 ``#if PY_VERSION_HEX >= ...``。"
#: ../../c-api/apiabiversion.rst:49
msgid "These macros are defined in :source:`Include/patchlevel.h`."
msgstr ""
#: ../../c-api/apiabiversion.rst:53
msgid "Run-time version"
msgstr ""
#: ../../c-api/apiabiversion.rst:57
msgid ""
"The Python runtime version number encoded in a single constant integer. See :"
"c:func:`Py_PACK_FULL_VERSION` for the encoding details. This contains the "
"Python version used at run time."
msgstr ""
"編碼為單個常數整數的 Python runtime 版本號。詳見 :c:func:"
"`Py_PACK_FULL_VERSION` 以了解編碼詳細資訊。這包含在 runtime 使用的 Python 版"
"本。"
#: ../../c-api/apiabiversion.rst:61
msgid ""
"Use this for numeric comparisons, for example, ``if (Py_Version >= ...)``."
msgstr "使用它進行數值比較,例如 ``if (Py_Version >= ...)``。"
#: ../../c-api/apiabiversion.rst:67
msgid "Bit-packing macros"
msgstr ""
#: ../../c-api/apiabiversion.rst:71
msgid ""
"Return the given version, encoded as a single 32-bit integer with the "
"following structure:"
msgstr ""
#: ../../c-api/apiabiversion.rst:77
msgid "Argument"
msgstr "引數"
#: ../../c-api/apiabiversion.rst:75
msgid "No. of bits"
msgstr ""
#: ../../c-api/apiabiversion.rst:77
msgid "Bit mask"
msgstr ""
#: ../../c-api/apiabiversion.rst:77
msgid "Bit shift"
msgstr ""
#: ../../c-api/apiabiversion.rst:75
msgid "Example values"
msgstr ""
#: ../../c-api/apiabiversion.rst:77 ../../c-api/apiabiversion.rst:95
msgid "``3.4.1a2``"
msgstr "``3.4.1a2``"
#: ../../c-api/apiabiversion.rst:77 ../../c-api/apiabiversion.rst:97
msgid "``3.10.0``"
msgstr "``3.10.0``"
#: ../../c-api/apiabiversion.rst:79
msgid "*major*"
msgstr "*major*"
#: ../../c-api/apiabiversion.rst:79 ../../c-api/apiabiversion.rst:81
#: ../../c-api/apiabiversion.rst:83
msgid "8"
msgstr "8"
#: ../../c-api/apiabiversion.rst:79
msgid "``0xFF000000``"
msgstr "``0xFF000000``"
#: ../../c-api/apiabiversion.rst:79
msgid "24"
msgstr "24"
#: ../../c-api/apiabiversion.rst:79
msgid "``0x03``"
msgstr "``0x03``"
#: ../../c-api/apiabiversion.rst:81
msgid "*minor*"
msgstr ""
#: ../../c-api/apiabiversion.rst:81
msgid "``0x00FF0000``"
msgstr "``0x00FF0000``"
#: ../../c-api/apiabiversion.rst:81
msgid "16"
msgstr "16"
#: ../../c-api/apiabiversion.rst:81
msgid "``0x04``"
msgstr "``0x04``"
#: ../../c-api/apiabiversion.rst:81
msgid "``0x0A``"
msgstr "``0x0A``"
#: ../../c-api/apiabiversion.rst:83
msgid "*micro*"
msgstr "*micro*"
#: ../../c-api/apiabiversion.rst:83
msgid "``0x0000FF00``"
msgstr "``0x0000FF00``"
#: ../../c-api/apiabiversion.rst:83
msgid "``0x01``"
msgstr "``0x01``"
#: ../../c-api/apiabiversion.rst:83
msgid "``0x00``"
msgstr "``0x00``"
#: ../../c-api/apiabiversion.rst:85
msgid "*release_level*"
msgstr "*release_level*"
#: ../../c-api/apiabiversion.rst:85 ../../c-api/apiabiversion.rst:87
msgid "4"
msgstr "4"
#: ../../c-api/apiabiversion.rst:85
msgid "``0x000000F0``"
msgstr "``0x000000F0``"
#: ../../c-api/apiabiversion.rst:85
msgid "``0xA``"
msgstr "``0xA``"
#: ../../c-api/apiabiversion.rst:85
msgid "``0xF``"
msgstr "``0xF``"
#: ../../c-api/apiabiversion.rst:87
msgid "*release_serial*"
msgstr "*release_serial*"
#: ../../c-api/apiabiversion.rst:87
msgid "``0x0000000F``"
msgstr "``0x0000000F``"
#: ../../c-api/apiabiversion.rst:87
msgid "0"
msgstr "0"
#: ../../c-api/apiabiversion.rst:87
msgid "``0x2``"
msgstr "``0x2``"
#: ../../c-api/apiabiversion.rst:87
msgid "``0x0``"
msgstr "``0x0``"
#: ../../c-api/apiabiversion.rst:90
msgid "For example:"
msgstr "例如:"
#: ../../c-api/apiabiversion.rst:93
msgid "Version"
msgstr "版本"
#: ../../c-api/apiabiversion.rst:93
msgid "``Py_PACK_FULL_VERSION`` arguments"
msgstr "``Py_PACK_FULL_VERSION`` 引數"
#: ../../c-api/apiabiversion.rst:93
msgid "Encoded version"
msgstr ""
#: ../../c-api/apiabiversion.rst:95
msgid "``(3, 4, 1, 0xA, 2)``"
msgstr "``(3, 4, 1, 0xA, 2)``"
#: ../../c-api/apiabiversion.rst:95
msgid "``0x030401a2``"
msgstr "``0x030401a2``"
#: ../../c-api/apiabiversion.rst:97
msgid "``(3, 10, 0, 0xF, 0)``"
msgstr "``(3, 10, 0, 0xF, 0)``"
#: ../../c-api/apiabiversion.rst:97
msgid "``0x030a00f0``"
msgstr "``0x030a00f0``"
#: ../../c-api/apiabiversion.rst:100
msgid ""
"Out-of range bits in the arguments are ignored. That is, the macro can be "
"defined as:"
msgstr ""
#: ../../c-api/apiabiversion.rst:103
msgid ""
"#ifndef Py_PACK_FULL_VERSION\n"
"#define Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \\\n"
" (((X) & 0xff) << 24) | \\\n"
" (((Y) & 0xff) << 16) | \\\n"
" (((Z) & 0xff) << 8) | \\\n"
" (((LEVEL) & 0xf) << 4) | \\\n"
" (((SERIAL) & 0xf) << 0))\n"
"#endif"
msgstr ""
"#ifndef Py_PACK_FULL_VERSION\n"
"#define Py_PACK_FULL_VERSION(X, Y, Z, LEVEL, SERIAL) ( \\\n"
" (((X) & 0xff) << 24) | \\\n"
" (((Y) & 0xff) << 16) | \\\n"
" (((Z) & 0xff) << 8) | \\\n"
" (((LEVEL) & 0xf) << 4) | \\\n"
" (((SERIAL) & 0xf) << 0))\n"
"#endif"
#: ../../c-api/apiabiversion.rst:114
msgid ""
"``Py_PACK_FULL_VERSION`` is primarily a macro, intended for use in ``#if`` "
"directives, but it is also available as an exported function."
msgstr ""
#: ../../c-api/apiabiversion.rst:121
msgid ""
"Equivalent to ``Py_PACK_FULL_VERSION(major, minor, 0, 0, 0)``. The result "
"does not correspond to any Python release, but is useful in numeric "
"comparisons."
msgstr ""