|
1 | | -# SOME DESCRIPTIVE TITLE. |
2 | | -# Copyright (C) 2001-2025, Python Software Foundation |
3 | | -# This file is distributed under the same license as the Python package. |
4 | | -# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
5 | 1 | # |
6 | | -# Translators: |
7 | | -# Rafael Fontenelle <[email protected]>, 2025 |
8 | | -# |
9 | | -#, fuzzy |
10 | 2 | msgid "" |
11 | 3 | msgstr "" |
12 | | -"Project-Id-Version: Python 3.12\n" |
13 | | -"Report-Msgid-Bugs-To: \n" |
14 | | -"POT-Creation-Date: 2025-07-25 16:03+0000\n" |
15 | | -"PO-Revision-Date: 2025-07-18 19:58+0000\n" |
16 | | -" Last-Translator: Rafael Fontenelle <[email protected]>, 2025\n" |
17 | 4 | "Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n" |
18 | | -"MIME-Version: 1.0\n" |
19 | | -"Content-Type: text/plain; charset=UTF-8\n" |
20 | | -"Content-Transfer-Encoding: 8bit\n" |
21 | 5 | "Language: zh_CN\n" |
22 | 6 | "Plural-Forms: nplurals=1; plural=0;\n" |
23 | | - |
24 | | -#: ../../library/token.rst:2 |
25 | | -msgid ":mod:`!token` --- Constants used with Python parse trees" |
26 | | -msgstr ":mod:`!token` --- 用于 Python 解析树的常量" |
27 | | - |
28 | | -#: ../../library/token.rst:9 |
29 | | -msgid "**Source code:** :source:`Lib/token.py`" |
30 | | -msgstr "**源码:** :source:`Lib/token.py`" |
31 | | - |
32 | | -#: ../../library/token.rst:13 |
33 | | -msgid "" |
34 | | -"This module provides constants which represent the numeric values of leaf " |
35 | | -"nodes of the parse tree (terminal tokens). Refer to the file " |
36 | | -":file:`Grammar/Tokens` in the Python distribution for the definitions of the" |
37 | | -" names in the context of the language grammar. The specific numeric values " |
38 | | -"which the names map to may change between Python versions." |
39 | | -msgstr "" |
40 | | -"该模块提供了一些代表解析树的叶子节点的数字值的常量(终端形符)。 请参阅 Python 发布版中的 :file:`Grammar/Tokens` " |
41 | | -"文件获取在该语言语法情境下的名称定义。 这些名称所映射的特定数字值有可能在各 Python 版本间发生变化。" |
42 | | - |
43 | | -#: ../../library/token.rst:19 |
44 | | -msgid "" |
45 | | -"The module also provides a mapping from numeric codes to names and some " |
46 | | -"functions. The functions mirror definitions in the Python C header files." |
47 | | -msgstr "该模块还提供从数字代码到名称和一些函数的映射。 这些函数镜像了 Python C 头文件中的定义。" |
48 | | - |
49 | | -#: ../../library/token.rst:25 |
50 | | -msgid "" |
51 | | -"Dictionary mapping the numeric values of the constants defined in this " |
52 | | -"module back to name strings, allowing more human-readable representation of " |
53 | | -"parse trees to be generated." |
54 | | -msgstr "将此模块中定义的常量的数值映射回名称字符串的字典,允许生成更加人类可读的解析树表示。" |
55 | | - |
56 | | -#: ../../library/token.rst:32 |
57 | | -msgid "Return ``True`` for terminal token values." |
58 | | -msgstr "对终端形符值返回 ``True``。" |
59 | | - |
60 | | -#: ../../library/token.rst:37 |
61 | | -msgid "Return ``True`` for non-terminal token values." |
62 | | -msgstr "对非终端形符值返回 ``True``。" |
63 | | - |
64 | | -#: ../../library/token.rst:42 |
65 | | -msgid "Return ``True`` if *x* is the marker indicating the end of input." |
66 | | -msgstr "如果 *x* 是表示输入结束的标记则返回 ``True``。" |
67 | | - |
68 | | -#: ../../library/token.rst:45 |
69 | | -msgid "The token constants are:" |
70 | | -msgstr "形符常量有:" |
71 | | - |
72 | | -#: ../../library/token-list.inc:18 |
73 | | -msgid "Token value for ``\"(\"``." |
74 | | -msgstr "``\"(\"`` 的形符值。" |
75 | | - |
76 | | -#: ../../library/token-list.inc:22 |
77 | | -msgid "Token value for ``\")\"``." |
78 | | -msgstr "``\")\"`` 的形符值。" |
79 | | - |
80 | | -#: ../../library/token-list.inc:26 |
81 | | -msgid "Token value for ``\"[\"``." |
82 | | -msgstr "``\"[\"`` 的形符值。" |
83 | | - |
84 | | -#: ../../library/token-list.inc:30 |
85 | | -msgid "Token value for ``\"]\"``." |
86 | | -msgstr "``\"]\"`` 的形符值。" |
87 | | - |
88 | | -#: ../../library/token-list.inc:34 |
89 | | -msgid "Token value for ``\":\"``." |
90 | | -msgstr "``\":\"`` 的形符值。" |
91 | | - |
92 | | -#: ../../library/token-list.inc:38 |
93 | | -msgid "Token value for ``\",\"``." |
94 | | -msgstr "``\",\"`` 的形符值。" |
95 | | - |
96 | | -#: ../../library/token-list.inc:42 |
97 | | -msgid "Token value for ``\";\"``." |
98 | | -msgstr "``\";\"`` 的形符值。" |
99 | | - |
100 | | -#: ../../library/token-list.inc:46 |
101 | | -msgid "Token value for ``\"+\"``." |
102 | | -msgstr "``\"+\"`` 的形符值。" |
103 | | - |
104 | | -#: ../../library/token-list.inc:50 |
105 | | -msgid "Token value for ``\"-\"``." |
106 | | -msgstr "``\"-\"`` 的形符值。" |
107 | | - |
108 | | -#: ../../library/token-list.inc:54 |
109 | | -msgid "Token value for ``\"*\"``." |
110 | | -msgstr "``\"*\"`` 的形符值。" |
111 | | - |
112 | | -#: ../../library/token-list.inc:58 |
113 | | -msgid "Token value for ``\"/\"``." |
114 | | -msgstr "``\"/\"`` 的形符值。" |
115 | | - |
116 | | -#: ../../library/token-list.inc:62 |
117 | | -msgid "Token value for ``\"|\"``." |
118 | | -msgstr "``\"|\"`` 的形符值。" |
119 | | - |
120 | | -#: ../../library/token-list.inc:66 |
121 | | -msgid "Token value for ``\"&\"``." |
122 | | -msgstr "``\"&\"`` 的形符值。" |
123 | | - |
124 | | -#: ../../library/token-list.inc:70 |
125 | | -msgid "Token value for ``\"<\"``." |
126 | | -msgstr "``\"<\"`` 的形符值。" |
127 | | - |
128 | | -#: ../../library/token-list.inc:74 |
129 | | -msgid "Token value for ``\">\"``." |
130 | | -msgstr "``\">\"`` 的形符值。" |
131 | | - |
132 | | -#: ../../library/token-list.inc:78 |
133 | | -msgid "Token value for ``\"=\"``." |
134 | | -msgstr "``\"=\"`` 的形符值。" |
135 | | - |
136 | | -#: ../../library/token-list.inc:82 |
137 | | -msgid "Token value for ``\".\"``." |
138 | | -msgstr "``\".\"`` 的形符值。" |
139 | | - |
140 | | -#: ../../library/token-list.inc:86 |
141 | | -msgid "Token value for ``\"%\"``." |
142 | | -msgstr "``\"%\"`` 的形符值。" |
143 | | - |
144 | | -#: ../../library/token-list.inc:90 |
145 | | -msgid "Token value for ``\"{\"``." |
146 | | -msgstr " ``\"{\"`` 的形符值。" |
147 | | - |
148 | | -#: ../../library/token-list.inc:94 |
149 | | -msgid "Token value for ``\"}\"``." |
150 | | -msgstr "``\"}\"`` 的形符值。" |
151 | | - |
152 | | -#: ../../library/token-list.inc:98 |
153 | | -msgid "Token value for ``\"==\"``." |
154 | | -msgstr "``\"==\"`` 的形符值。" |
155 | | - |
156 | | -#: ../../library/token-list.inc:102 |
157 | | -msgid "Token value for ``\"!=\"``." |
158 | | -msgstr "``\"!=\"`` 的形符值。" |
159 | | - |
160 | | -#: ../../library/token-list.inc:106 |
161 | | -msgid "Token value for ``\"<=\"``." |
162 | | -msgstr "``\"<=\"`` 的形符值。" |
163 | | - |
164 | | -#: ../../library/token-list.inc:110 |
165 | | -msgid "Token value for ``\">=\"``." |
166 | | -msgstr "``\">=\"`` 的形符值。" |
167 | | - |
168 | | -#: ../../library/token-list.inc:114 |
169 | | -msgid "Token value for ``\"~\"``." |
170 | | -msgstr "``\"~\"`` 的形符值。" |
171 | | - |
172 | | -#: ../../library/token-list.inc:118 |
173 | | -msgid "Token value for ``\"^\"``." |
174 | | -msgstr "``\"^\"`` 的形符值。" |
175 | | - |
176 | | -#: ../../library/token-list.inc:122 |
177 | | -msgid "Token value for ``\"<<\"``." |
178 | | -msgstr "``\"<<\"`` 的形符值。" |
179 | | - |
180 | | -#: ../../library/token-list.inc:126 |
181 | | -msgid "Token value for ``\">>\"``." |
182 | | -msgstr "``\">>\"`` 的形符值。" |
183 | | - |
184 | | -#: ../../library/token-list.inc:130 |
185 | | -msgid "Token value for ``\"**\"``." |
186 | | -msgstr "``\"**\"`` 的形符值。" |
187 | | - |
188 | | -#: ../../library/token-list.inc:134 |
189 | | -msgid "Token value for ``\"+=\"``." |
190 | | -msgstr "``\"+=\"`` 的形符值。" |
191 | | - |
192 | | -#: ../../library/token-list.inc:138 |
193 | | -msgid "Token value for ``\"-=\"``." |
194 | | -msgstr "``\"-=\"`` 的形符值。" |
195 | | - |
196 | | -#: ../../library/token-list.inc:142 |
197 | | -msgid "Token value for ``\"*=\"``." |
198 | | -msgstr "``\"*=\"`` 的形符值。" |
199 | | - |
200 | | -#: ../../library/token-list.inc:146 |
201 | | -msgid "Token value for ``\"/=\"``." |
202 | | -msgstr "``\"/=\"`` 的形符值。" |
203 | | - |
204 | | -#: ../../library/token-list.inc:150 |
205 | | -msgid "Token value for ``\"%=\"``." |
206 | | -msgstr "``\"%=\"`` 的形符值。" |
207 | | - |
208 | | -#: ../../library/token-list.inc:154 |
209 | | -msgid "Token value for ``\"&=\"``." |
210 | | -msgstr "``\"&=\"`` 的形符值。" |
211 | | - |
212 | | -#: ../../library/token-list.inc:158 |
213 | | -msgid "Token value for ``\"|=\"``." |
214 | | -msgstr "``\"|=\"`` 的形符值。" |
215 | | - |
216 | | -#: ../../library/token-list.inc:162 |
217 | | -msgid "Token value for ``\"^=\"``." |
218 | | -msgstr "``\"^=\"`` 的形符值。" |
219 | | - |
220 | | -#: ../../library/token-list.inc:166 |
221 | | -msgid "Token value for ``\"<<=\"``." |
222 | | -msgstr "``\"<<=\"`` 的形符值。" |
223 | | - |
224 | | -#: ../../library/token-list.inc:170 |
225 | | -msgid "Token value for ``\">>=\"``." |
226 | | -msgstr "``\">>=\"`` 的形符值。" |
227 | | - |
228 | | -#: ../../library/token-list.inc:174 |
229 | | -msgid "Token value for ``\"**=\"``." |
230 | | -msgstr "``\"**=\"`` 的形符值。" |
231 | | - |
232 | | -#: ../../library/token-list.inc:178 |
233 | | -msgid "Token value for ``\"//\"``." |
234 | | -msgstr "``\"//\"`` 的形符值。" |
235 | | - |
236 | | -#: ../../library/token-list.inc:182 |
237 | | -msgid "Token value for ``\"//=\"``." |
238 | | -msgstr "``\"//=\"`` 的形符值。" |
239 | | - |
240 | | -#: ../../library/token-list.inc:186 |
241 | | -msgid "Token value for ``\"@\"``." |
242 | | -msgstr "``\"@\"`` 的形符值。" |
243 | | - |
244 | | -#: ../../library/token-list.inc:190 |
245 | | -msgid "Token value for ``\"@=\"``." |
246 | | -msgstr "``\"@=\"`` 的形符值。" |
247 | | - |
248 | | -#: ../../library/token-list.inc:194 |
249 | | -msgid "Token value for ``\"->\"``." |
250 | | -msgstr "``\"->\"`` 的形符值。" |
251 | | - |
252 | | -#: ../../library/token-list.inc:198 |
253 | | -msgid "Token value for ``\"...\"``." |
254 | | -msgstr "``\"...\"`` 的形符值。" |
255 | | - |
256 | | -#: ../../library/token-list.inc:202 |
257 | | -msgid "Token value for ``\":=\"``." |
258 | | -msgstr "``\":=\"`` 的形符值。" |
259 | | - |
260 | | -#: ../../library/token-list.inc:206 |
261 | | -msgid "Token value for ``\"!\"``." |
262 | | -msgstr "``\"!\"`` 的形符值。" |
263 | | - |
264 | | -#: ../../library/token.rst:49 |
265 | | -msgid "" |
266 | | -"The following token type values aren't used by the C tokenizer but are " |
267 | | -"needed for the :mod:`tokenize` module." |
268 | | -msgstr "C 形符生成器不使用以下形符类型值,但 :mod:`tokenize` 模块需要它们。" |
269 | | - |
270 | | -#: ../../library/token.rst:55 |
271 | | -msgid "Token value used to indicate a comment." |
272 | | -msgstr "形符值用于表示注释。" |
273 | | - |
274 | | -#: ../../library/token.rst:61 |
275 | | -msgid "" |
276 | | -"Token value used to indicate a non-terminating newline. The :data:`NEWLINE`" |
277 | | -" token indicates the end of a logical line of Python code; ``NL`` tokens are" |
278 | | -" generated when a logical line of code is continued over multiple physical " |
279 | | -"lines." |
280 | | -msgstr "" |
281 | | -"形符值用于表示非终止换行符。 :data:`NEWLINE` 形符表示 Python 代码逻辑行的结束;当在多条物理线路上继续执行逻辑代码行时,会生成 " |
282 | | -"``NL`` 形符。" |
283 | | - |
284 | | -#: ../../library/token.rst:69 |
285 | | -msgid "" |
286 | | -"Token value that indicates the encoding used to decode the source bytes into" |
287 | | -" text. The first token returned by :func:`tokenize.tokenize` will always be " |
288 | | -"an ``ENCODING`` token." |
289 | | -msgstr "" |
290 | | -"指示用于将源字节解码为文本的编码的形符值。 :func:`tokenize.tokenize` 返回的第一个形符将始终是一个 ``ENCODING`` " |
291 | | -"形符。" |
292 | | - |
293 | | -#: ../../library/token.rst:77 |
294 | | -msgid "" |
295 | | -"Token value indicating that a type comment was recognized. Such tokens are " |
296 | | -"only produced when :func:`ast.parse` is invoked with ``type_comments=True``." |
297 | | -msgstr "" |
298 | | -"指明类型注释已被识别的形符值。 此种形符仅在 :func:`ast.parse` 附带 ``type_comments=True`` 被唤起时才会产生。" |
299 | | - |
300 | | -#: ../../library/token.rst:84 |
301 | | -msgid "" |
302 | | -"A dictionary mapping the string representation of a token to its numeric " |
303 | | -"code." |
304 | | -msgstr "将形符字符串表示形式映射到其数字代码的字典。" |
305 | | - |
306 | | -#: ../../library/token.rst:89 |
307 | | -msgid "Added :data:`AWAIT` and :data:`ASYNC` tokens." |
308 | | -msgstr "增加 :data:`AWAIT` 和 :data:`ASYNC` 形符。" |
309 | | - |
310 | | -#: ../../library/token.rst:92 |
311 | | -msgid "Added :data:`COMMENT`, :data:`NL` and :data:`ENCODING` tokens." |
312 | | -msgstr "形符 :data:`COMMENT`、 :data:`NL` 和 :data:`ENCODING` 形符。" |
313 | | - |
314 | | -#: ../../library/token.rst:95 |
315 | | -msgid "" |
316 | | -"Removed :data:`AWAIT` and :data:`ASYNC` tokens. \"async\" and \"await\" are " |
317 | | -"now tokenized as :data:`NAME` tokens." |
318 | | -msgstr "" |
319 | | -"移除 :data:`AWAIT` 和 :data:`ASYNC` 标记。 \"async\" 和 \"await\" 现在被标记为 " |
320 | | -":data:`NAME` 标记。" |
321 | | - |
322 | | -#: ../../library/token.rst:99 |
323 | | -msgid "" |
324 | | -"Added :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added " |
325 | | -":data:`AWAIT` and :data:`ASYNC` tokens back (they're needed to support " |
326 | | -"parsing older Python versions for :func:`ast.parse` with ``feature_version``" |
327 | | -" set to 6 or lower)." |
328 | | -msgstr "" |
329 | | -"增加了 :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`. Added " |
330 | | -":data:`AWAIT` 和 :data:`ASYNC` 形符(它们对于支持解析对于 :func:`ast.parse` 的 " |
331 | | -"``feature_version`` 设为 6 或更低的较老的 Python 版本是必须的)。" |
0 commit comments