1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001 Python Software Foundation
2
+ # Copyright (C) 2001-2025, Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
6
6
# Translators:
7
- # Alpha Du <alphanow@gmail.com>, 2025
8
- # Freesand Leo <yuqinju@163.com>, 2025
7
+ # Rafael Fontenelle <rffontenelle@gmail.com>, 2025
9
8
#
10
9
#, fuzzy
11
10
msgid ""
12
11
msgstr ""
13
- "Project-Id-Version : Python 3.14 \n "
12
+ "Project-Id-Version : Python 3.13 \n "
14
13
"Report-Msgid-Bugs-To : \n "
15
- "POT-Creation-Date : 2025-05-08 02:53-0300 \n "
16
- "PO-Revision-Date : 2024-08-02 14:17 +0000\n "
17
- "Last-Translator : Freesand Leo <yuqinju@163 .com>, 2025\n "
14
+ "POT-Creation-Date : 2025-07-04 15:01+0000 \n "
15
+ "PO-Revision-Date : 2025-05-08 05:09 +0000\n "
16
+ "Last-Translator : Rafael Fontenelle <rffontenelle@gmail .com>, 2025\n "
18
17
"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
19
18
"MIME-Version : 1.0\n "
20
19
"Content-Type : text/plain; charset=UTF-8\n "
@@ -23,286 +22,75 @@ msgstr ""
23
22
"Plural-Forms : nplurals=1; plural=0;\n "
24
23
25
24
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:2
26
- msgid "Pending removal in Python 3.15"
27
- msgstr "计划在 Python 3.15 中移除 "
25
+ msgid "Pending Removal in Python 3.15"
26
+ msgstr "Python 3.15 中的待移除功能 "
28
27
29
28
#: ../../deprecations/c-api-pending-removal-in-3.15.rst:4
30
- msgid "The bundled copy of ``libmpdecimal``."
31
- msgstr "捆绑的 ``libmpdecimal`` 副本。"
32
-
33
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:5
34
29
msgid ""
35
30
"The :c:func:`PyImport_ImportModuleNoBlock`: Use "
36
31
":c:func:`PyImport_ImportModule` instead."
37
32
msgstr ""
38
33
"The :c:func:`PyImport_ImportModuleNoBlock`: 改用 "
39
34
":c:func:`PyImport_ImportModule`。"
40
35
41
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:7
36
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:6
42
37
msgid ""
43
38
":c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: Use "
44
- ":c:func:`PyWeakref_GetRef` instead. The `pythoncapi-compat project "
45
- "<https://github.com/python/pythoncapi-compat/>`__ can be used to get "
46
- ":c:func:`PyWeakref_GetRef` on Python 3.12 and older."
39
+ ":c:func:`PyWeakref_GetRef` instead."
47
40
msgstr ""
41
+ ":c:func:`PyWeakref_GetObject` 和 :c:func:`PyWeakref_GET_OBJECT`: 改用 "
42
+ ":c:func:`PyWeakref_GetRef`。"
48
43
49
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:11
44
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:8
50
45
msgid ""
51
46
":c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: Use "
52
47
":c:type:`wchar_t` instead."
53
48
msgstr ""
54
49
":c:type:`Py_UNICODE` 类型和 :c:macro:`!Py_UNICODE_WIDE` 宏:改用 :c:type:`wchar_t`。"
55
50
56
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:13
57
- msgid ""
58
- ":c:func:`!PyUnicode_AsDecodedObject`: Use :c:func:`PyCodec_Decode` instead."
59
- msgstr ":c:func:`!PyUnicode_AsDecodedObject`: 改用 :c:func:`PyCodec_Decode`。"
60
-
61
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:15
62
- msgid ""
63
- ":c:func:`!PyUnicode_AsDecodedUnicode`: Use :c:func:`PyCodec_Decode` instead;"
64
- " Note that some codecs (for example, \" base64\" ) may return a type other "
65
- "than :class:`str`, such as :class:`bytes`."
66
- msgstr ""
67
-
68
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
69
- msgid ""
70
- ":c:func:`!PyUnicode_AsEncodedObject`: Use :c:func:`PyCodec_Encode` instead."
71
- msgstr ":c:func:`!PyUnicode_AsEncodedObject`: 改用 :c:func:`PyCodec_Encode`。"
72
-
73
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:20
74
- msgid ""
75
- ":c:func:`!PyUnicode_AsEncodedUnicode`: Use :c:func:`PyCodec_Encode` instead;"
76
- " Note that some codecs (for example, \" base64\" ) may return a type other "
77
- "than :class:`bytes`, such as :class:`str`."
78
- msgstr ""
79
-
80
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:23
81
- msgid "Python initialization functions, deprecated in Python 3.13:"
82
- msgstr ""
83
-
84
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:25
85
- msgid ""
86
- ":c:func:`Py_GetPath`: Use :c:func:`PyConfig_Get(\" module_search_paths\" ) "
87
- "<PyConfig_Get>` (:data:`sys.path`) instead."
88
- msgstr ""
89
-
90
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:28
91
- msgid ""
92
- ":c:func:`Py_GetPrefix`: Use :c:func:`PyConfig_Get(\" base_prefix\" ) "
93
- "<PyConfig_Get>` (:data:`sys.base_prefix`) instead. Use "
94
- ":c:func:`PyConfig_Get(\" prefix\" ) <PyConfig_Get>` (:data:`sys.prefix`) if "
95
- ":ref:`virtual environments <venv-def>` need to be handled."
96
- msgstr ""
97
-
98
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:33
99
- msgid ""
100
- ":c:func:`Py_GetExecPrefix`: Use :c:func:`PyConfig_Get(\" base_exec_prefix\" ) "
101
- "<PyConfig_Get>` (:data:`sys.base_exec_prefix`) instead. Use "
102
- ":c:func:`PyConfig_Get(\" exec_prefix\" ) <PyConfig_Get>` "
103
- "(:data:`sys.exec_prefix`) if :ref:`virtual environments <venv-def>` need to "
104
- "be handled."
105
- msgstr ""
106
-
107
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:39
108
- msgid ""
109
- ":c:func:`Py_GetProgramFullPath`: Use :c:func:`PyConfig_Get(\" executable\" ) "
110
- "<PyConfig_Get>` (:data:`sys.executable`) instead."
111
- msgstr ""
112
-
113
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:42
114
- msgid ""
115
- ":c:func:`Py_GetProgramName`: Use :c:func:`PyConfig_Get(\" executable\" ) "
116
- "<PyConfig_Get>` (:data:`sys.executable`) instead."
117
- msgstr ""
118
-
119
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:45
120
- msgid ""
121
- ":c:func:`Py_GetPythonHome`: Use :c:func:`PyConfig_Get(\" home\" ) "
122
- "<PyConfig_Get>` or the :envvar:`PYTHONHOME` environment variable instead."
123
- msgstr ""
51
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:10
52
+ msgid "Python initialization functions:"
53
+ msgstr "Python 初始化函数"
124
54
125
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:49
126
- msgid ""
127
- "The `pythoncapi-compat project <https://github.com/python/pythoncapi-"
128
- "compat/>`__ can be used to get :c:func:`PyConfig_Get` on Python 3.13 and "
129
- "older."
130
- msgstr ""
131
-
132
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:53
133
- msgid ""
134
- "Functions to configure Python's initialization, deprecated in Python 3.11:"
135
- msgstr "用于配置 Python 的初始化的函数,在 Python 3.11 中已弃用:"
136
-
137
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:55
138
- msgid ":c:func:`!PySys_SetArgvEx()`: Set :c:member:`PyConfig.argv` instead."
139
- msgstr ":c:func:`!PySys_SetArgvEx()`: 改为设置 :c:member:`PyConfig.argv`。"
140
-
141
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:57
142
- msgid ":c:func:`!PySys_SetArgv()`: Set :c:member:`PyConfig.argv` instead."
143
- msgstr ":c:func:`!PySys_SetArgv()`: 改为设置 :c:member:`PyConfig.argv`。"
144
-
145
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:59
146
- msgid ""
147
- ":c:func:`!Py_SetProgramName()`: Set :c:member:`PyConfig.program_name` "
148
- "instead."
149
- msgstr ""
150
- ":c:func:`!Py_SetProgramName()`: 改为设置 :c:member:`PyConfig.program_name`。"
151
-
152
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:61
153
- msgid ":c:func:`!Py_SetPythonHome()`: Set :c:member:`PyConfig.home` instead."
154
- msgstr ":c:func:`!Py_SetPythonHome()`: 改为设置 :c:member:`PyConfig.home`。"
155
-
156
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:63
55
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:12
157
56
msgid ""
158
57
":c:func:`PySys_ResetWarnOptions`: Clear :data:`sys.warnoptions` and "
159
58
":data:`!warnings.filters` instead."
160
59
msgstr ""
161
60
":c:func:`PySys_ResetWarnOptions`: 改为清除 :data:`sys.warnoptions` 和 "
162
61
":data:`!warnings.filters`。"
163
62
164
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:66
165
- msgid ""
166
- "The :c:func:`Py_InitializeFromConfig` API should be used with "
167
- ":c:type:`PyConfig` instead."
168
- msgstr ":c:func:`Py_InitializeFromConfig` API 应与 :c:type:`PyConfig` 一起使用。"
169
-
170
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:69
171
- msgid "Global configuration variables:"
172
- msgstr "全局配置变量:"
173
-
174
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:71
175
- msgid ""
176
- ":c:var:`Py_DebugFlag`: Use :c:member:`PyConfig.parser_debug` or "
177
- ":c:func:`PyConfig_Get(\" parser_debug\" ) <PyConfig_Get>` instead."
178
- msgstr ""
179
-
180
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:74
63
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:14
181
64
msgid ""
182
- ":c:var:`Py_VerboseFlag `: Use :c:member:`PyConfig.verbose` or "
183
- ":c:func:`PyConfig_Get( \" verbose \" ) <PyConfig_Get> ` instead."
65
+ ":c:func:`Py_GetExecPrefix `: Get :data:`sys.base_exec_prefix` and "
66
+ ":data:`sys.exec_prefix ` instead."
184
67
msgstr ""
68
+ ":c:func:`Py_GetExecPrefix`: 改为获取 :data:`sys.base_exec_prefix` 和 "
69
+ ":data:`sys.exec_prefix`。"
185
70
186
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:77
187
- msgid ""
188
- ":c:var:`Py_QuietFlag`: Use :c:member:`PyConfig.quiet` or "
189
- ":c:func:`PyConfig_Get(\" quiet\" ) <PyConfig_Get>` instead."
190
- msgstr ""
191
-
192
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:80
193
- msgid ""
194
- ":c:var:`Py_InteractiveFlag`: Use :c:member:`PyConfig.interactive` or "
195
- ":c:func:`PyConfig_Get(\" interactive\" ) <PyConfig_Get>` instead."
196
- msgstr ""
197
-
198
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:83
199
- msgid ""
200
- ":c:var:`Py_InspectFlag`: Use :c:member:`PyConfig.inspect` or "
201
- ":c:func:`PyConfig_Get(\" inspect\" ) <PyConfig_Get>` instead."
202
- msgstr ""
203
-
204
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:86
205
- msgid ""
206
- ":c:var:`Py_OptimizeFlag`: Use :c:member:`PyConfig.optimization_level` or "
207
- ":c:func:`PyConfig_Get(\" optimization_level\" ) <PyConfig_Get>` instead."
208
- msgstr ""
209
-
210
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:89
211
- msgid ""
212
- ":c:var:`Py_NoSiteFlag`: Use :c:member:`PyConfig.site_import` or "
213
- ":c:func:`PyConfig_Get(\" site_import\" ) <PyConfig_Get>` instead."
214
- msgstr ""
215
-
216
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:92
217
- msgid ""
218
- ":c:var:`Py_BytesWarningFlag`: Use :c:member:`PyConfig.bytes_warning` or "
219
- ":c:func:`PyConfig_Get(\" bytes_warning\" ) <PyConfig_Get>` instead."
220
- msgstr ""
221
-
222
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:95
223
- msgid ""
224
- ":c:var:`Py_FrozenFlag`: Use :c:member:`PyConfig.pathconfig_warnings` or "
225
- ":c:func:`PyConfig_Get(\" pathconfig_warnings\" ) <PyConfig_Get>` instead."
226
- msgstr ""
227
-
228
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:98
229
- msgid ""
230
- ":c:var:`Py_IgnoreEnvironmentFlag`: Use :c:member:`PyConfig.use_environment` "
231
- "or :c:func:`PyConfig_Get(\" use_environment\" ) <PyConfig_Get>` instead."
232
- msgstr ""
233
-
234
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:101
235
- msgid ""
236
- ":c:var:`Py_DontWriteBytecodeFlag`: Use :c:member:`PyConfig.write_bytecode` "
237
- "or :c:func:`PyConfig_Get(\" write_bytecode\" ) <PyConfig_Get>` instead."
238
- msgstr ""
239
-
240
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:104
241
- msgid ""
242
- ":c:var:`Py_NoUserSiteDirectory`: Use "
243
- ":c:member:`PyConfig.user_site_directory` or "
244
- ":c:func:`PyConfig_Get(\" user_site_directory\" ) <PyConfig_Get>` instead."
245
- msgstr ""
246
-
247
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:107
248
- msgid ""
249
- ":c:var:`Py_UnbufferedStdioFlag`: Use :c:member:`PyConfig.buffered_stdio` or "
250
- ":c:func:`PyConfig_Get(\" buffered_stdio\" ) <PyConfig_Get>` instead."
251
- msgstr ""
252
-
253
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:110
254
- msgid ""
255
- ":c:var:`Py_HashRandomizationFlag`: Use :c:member:`PyConfig.use_hash_seed` "
256
- "and :c:member:`PyConfig.hash_seed` or :c:func:`PyConfig_Get(\" hash_seed\" ) "
257
- "<PyConfig_Get>` instead."
258
- msgstr ""
259
-
260
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:114
261
- msgid ""
262
- ":c:var:`Py_IsolatedFlag`: Use :c:member:`PyConfig.isolated` or "
263
- ":c:func:`PyConfig_Get(\" isolated\" ) <PyConfig_Get>` instead."
264
- msgstr ""
71
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:16
72
+ msgid ":c:func:`Py_GetPath`: Get :data:`sys.path` instead."
73
+ msgstr ":c:func:`Py_GetPath`: 改为获取 :data:`sys.path`。"
265
74
266
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:117
75
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:18
267
76
msgid ""
268
- ":c:var:`Py_LegacyWindowsFSEncodingFlag`: Use "
269
- ":c:member:`PyPreConfig.legacy_windows_fs_encoding` or "
270
- ":c:func:`PyConfig_Get(\" legacy_windows_fs_encoding\" ) <PyConfig_Get>` "
77
+ ":c:func:`Py_GetPrefix`: Get :data:`sys.base_prefix` and :data:`sys.prefix` "
271
78
"instead."
272
79
msgstr ""
80
+ ":c:func:`Py_GetPrefix`: 改为获取 :data:`sys.base_prefix` 和 :data:`sys.prefix`。"
273
81
274
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:120
275
- msgid ""
276
- ":c:var:`Py_LegacyWindowsStdioFlag`: Use "
277
- ":c:member:`PyConfig.legacy_windows_stdio` or "
278
- ":c:func:`PyConfig_Get(\" legacy_windows_stdio\" ) <PyConfig_Get>` instead."
279
- msgstr ""
280
-
281
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:123
282
- msgid ""
283
- ":c:var:`!Py_FileSystemDefaultEncoding`, "
284
- ":c:var:`!Py_HasFileSystemDefaultEncoding`: Use "
285
- ":c:member:`PyConfig.filesystem_encoding` or "
286
- ":c:func:`PyConfig_Get(\" filesystem_encoding\" ) <PyConfig_Get>` instead."
287
- msgstr ""
288
-
289
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:126
290
- msgid ""
291
- ":c:var:`!Py_FileSystemDefaultEncodeErrors`: Use "
292
- ":c:member:`PyConfig.filesystem_errors` or "
293
- ":c:func:`PyConfig_Get(\" filesystem_errors\" ) <PyConfig_Get>` instead."
294
- msgstr ""
82
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:20
83
+ msgid ":c:func:`Py_GetProgramFullPath`: Get :data:`sys.executable` instead."
84
+ msgstr ":c:func:`Py_GetProgramFullPath`: 改为获取 :data:`sys.executable`。"
295
85
296
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:129
297
- msgid ""
298
- ":c:var:`!Py_UTF8Mode`: Use :c:member:`PyPreConfig.utf8_mode` or "
299
- ":c:func:`PyConfig_Get(\" utf8_mode\" ) <PyConfig_Get>` instead. (see "
300
- ":c:func:`Py_PreInitialize`)"
301
- msgstr ""
86
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:22
87
+ msgid ":c:func:`Py_GetProgramName`: Get :data:`sys.executable` instead."
88
+ msgstr ":c:func:`Py_GetProgramName`: 改为获取 :data:`sys.executable`。"
302
89
303
- #: ../../deprecations/c-api-pending-removal-in-3.15.rst:134
90
+ #: ../../deprecations/c-api-pending-removal-in-3.15.rst:24
304
91
msgid ""
305
- "The :c:func:`Py_InitializeFromConfig` API should be used with "
306
- ":c:type:`PyConfig` to set these options. Or :c:func:`PyConfig_Get` can be "
307
- "used to get these options at runtime."
92
+ ":c:func:`Py_GetPythonHome`: Get :c:member:`PyConfig.home` or the "
93
+ ":envvar:`PYTHONHOME` environment variable instead."
308
94
msgstr ""
95
+ ":c:func:`Py_GetPythonHome`: 改为获取 :c:member:`PyConfig.home` 或 "
96
+ ":envvar:`PYTHONHOME` 环境变量。"
0 commit comments