Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a79c993

Browse files
[po] auto sync
1 parent 45685fa commit a79c993

2 files changed

Lines changed: 47 additions & 37 deletions

File tree

library/ast.po

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,31 +1292,33 @@ msgstr "显示帮助信息并退出。"
12921292
msgid ""
12931293
"Specify what kind of code must be compiled, like the *mode* argument in "
12941294
":func:`parse`."
1295-
msgstr ""
1295+
msgstr "指明哪种代码必须被编译,相当于 :func:`parse` 中的 *mode* 参数。"
12961296

12971297
#: ../../library/ast.rst:1827
12981298
msgid "Don't parse type comments."
1299-
msgstr ""
1299+
msgstr "不要解析类型注释。"
13001300

13011301
#: ../../library/ast.rst:1831
13021302
msgid "Include attributes such as line numbers and column offsets."
1303-
msgstr ""
1303+
msgstr "包括属性如行号和列偏移。"
13041304

13051305
#: ../../library/ast.rst:1836
13061306
msgid "Indentation of nodes in AST (number of spaces)."
1307-
msgstr ""
1307+
msgstr "AST 中节点的缩进(空格数)。"
13081308

13091309
#: ../../library/ast.rst:1838
13101310
msgid ""
13111311
"If :file:`infile` is specified its contents are parsed to AST and dumped to "
13121312
"stdout. Otherwise, the content is read from stdin."
1313-
msgstr ""
1313+
msgstr "如果指定了 :file:`infile` 则其内容将被解析为 AST 并转储至 stdout。 在其他情况下,将从 stdin 读取内容。"
13141314

13151315
#: ../../library/ast.rst:1844
13161316
msgid ""
13171317
"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_, an external "
13181318
"documentation resource, has good details on working with Python ASTs."
13191319
msgstr ""
1320+
"`Green Tree Snakes <https://greentreesnakes.readthedocs.io/>`_,一个外部文档资源,包含处理"
1321+
" Python AST 的完整细节。"
13201322

13211323
#: ../../library/ast.rst:1847
13221324
msgid ""
@@ -1325,13 +1327,17 @@ msgid ""
13251327
"code that generated them. This is helpful for tools that make source code "
13261328
"transformations."
13271329
msgstr ""
1330+
"`ASTTokens <https://asttokens.readthedocs.io/en/latest/user-guide.html>`_ 会为"
1331+
" Python AST 标注生成它们的源代码中的形符和文本的位置。 这对执行源代码转换的工具很有帮助。"
13281332

13291333
#: ../../library/ast.rst:1852
13301334
msgid ""
13311335
"`leoAst.py <http://leoeditor.com/appendices.html#leoast-py>`_ unifies the "
13321336
"token-based and parse-tree-based views of python programs by inserting two-"
13331337
"way links between tokens and ast nodes."
13341338
msgstr ""
1339+
"`leoAst.py <http://leoeditor.com/appendices.html#leoast-py>`_ 通过在形符和 ast "
1340+
"节点之间插入双向链接统一了 Python 程序基于形符的和基于解析树的视图。"
13351341

13361342
#: ../../library/ast.rst:1856
13371343
msgid ""
@@ -1340,6 +1346,8 @@ msgid ""
13401346
"useful for building automated refactoring (codemod) applications and "
13411347
"linters."
13421348
msgstr ""
1349+
"`LibCST <https://libcst.readthedocs.io/>`_ 将代码解析为一个实体语法树(Concrete Syntax "
1350+
"Tree),它看起来像是 ast 树而又保留了所有格式化细节。 它对构建自动化重构(codemod)应用和代码质量检查工具很有用处。"
13431351

13441352
#: ../../library/ast.rst:1861
13451353
msgid ""
@@ -1348,3 +1356,5 @@ msgid ""
13481356
"multiple Python versions). Parso is also able to list multiple syntax errors"
13491357
" in your python file."
13501358
msgstr ""
1359+
"`Parso <https://parso.readthedocs.io>`_ 是一个支持错误恢复和不同 Python 版本的(在多个 Python "
1360+
"版本中)往返解析的 Python 解析器。 Parso 还能列出你的 Python 文件中的许多错误。"

library/token.po

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# Alpha Du <[email protected]>, 2019
88
# Alex Ding <[email protected]>, 2020
9-
# Freesand Leo <[email protected]>, 2020
9+
# Freesand Leo <[email protected]>, 2022
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
1717
"PO-Revision-Date: 2017-02-16 23:31+0000\n"
18-
"Last-Translator: Freesand Leo <[email protected]>, 2020\n"
18+
"Last-Translator: Freesand Leo <[email protected]>, 2022\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -133,123 +133,123 @@ msgstr "``\">\"`` 的权标值。"
133133

134134
#: ../../library/token-list.inc:78
135135
msgid "Token value for ``\"=\"``."
136-
msgstr ""
136+
msgstr "``\"=\"`` 的形符值。"
137137

138138
#: ../../library/token-list.inc:82
139139
msgid "Token value for ``\".\"``."
140-
msgstr ""
140+
msgstr "``\".\"`` 的形符值。"
141141

142142
#: ../../library/token-list.inc:86
143143
msgid "Token value for ``\"%\"``."
144-
msgstr ""
144+
msgstr "``\"%\"``"
145145

146146
#: ../../library/token-list.inc:90
147147
msgid "Token value for ``\"{\"``."
148-
msgstr ""
148+
msgstr " ``\"{\"`` 的形符值。"
149149

150150
#: ../../library/token-list.inc:94
151151
msgid "Token value for ``\"}\"``."
152-
msgstr ""
152+
msgstr "``\"}\"`` 的形符值。"
153153

154154
#: ../../library/token-list.inc:98
155155
msgid "Token value for ``\"==\"``."
156-
msgstr ""
156+
msgstr "``\"==\"`` 的形符值。"
157157

158158
#: ../../library/token-list.inc:102
159159
msgid "Token value for ``\"!=\"``."
160-
msgstr ""
160+
msgstr "``\"!=\"`` 的形符值。"
161161

162162
#: ../../library/token-list.inc:106
163163
msgid "Token value for ``\"<=\"``."
164-
msgstr ""
164+
msgstr "``\"<=\"`` 的形符值。"
165165

166166
#: ../../library/token-list.inc:110
167167
msgid "Token value for ``\">=\"``."
168-
msgstr ""
168+
msgstr "``\">=\"`` 的形符值。"
169169

170170
#: ../../library/token-list.inc:114
171171
msgid "Token value for ``\"~\"``."
172-
msgstr ""
172+
msgstr "``\"~\"`` 的形符值。"
173173

174174
#: ../../library/token-list.inc:118
175175
msgid "Token value for ``\"^\"``."
176-
msgstr ""
176+
msgstr "``\"^\"`` 的形符值。"
177177

178178
#: ../../library/token-list.inc:122
179179
msgid "Token value for ``\"<<\"``."
180-
msgstr ""
180+
msgstr "``\"<<\"`` 的形符值。"
181181

182182
#: ../../library/token-list.inc:126
183183
msgid "Token value for ``\">>\"``."
184-
msgstr ""
184+
msgstr "``\">>\"`` 的形符值。"
185185

186186
#: ../../library/token-list.inc:130
187187
msgid "Token value for ``\"**\"``."
188-
msgstr ""
188+
msgstr "``\"**\"`` 的形符值。"
189189

190190
#: ../../library/token-list.inc:134
191191
msgid "Token value for ``\"+=\"``."
192-
msgstr ""
192+
msgstr "``\"+=\"`` 的形符值。"
193193

194194
#: ../../library/token-list.inc:138
195195
msgid "Token value for ``\"-=\"``."
196-
msgstr ""
196+
msgstr "``\"-=\"`` 的形符值。"
197197

198198
#: ../../library/token-list.inc:142
199199
msgid "Token value for ``\"*=\"``."
200-
msgstr ""
200+
msgstr "``\"*=\"`` 的形符值。"
201201

202202
#: ../../library/token-list.inc:146
203203
msgid "Token value for ``\"/=\"``."
204-
msgstr ""
204+
msgstr "``\"/=\"`` 的形符值。"
205205

206206
#: ../../library/token-list.inc:150
207207
msgid "Token value for ``\"%=\"``."
208-
msgstr ""
208+
msgstr "``\"%=\"`` 的形符值。"
209209

210210
#: ../../library/token-list.inc:154
211211
msgid "Token value for ``\"&=\"``."
212-
msgstr ""
212+
msgstr "``\"&=\"`` 的形符值。"
213213

214214
#: ../../library/token-list.inc:158
215215
msgid "Token value for ``\"|=\"``."
216-
msgstr ""
216+
msgstr "``\"|=\"`` 的形符值。"
217217

218218
#: ../../library/token-list.inc:162
219219
msgid "Token value for ``\"^=\"``."
220-
msgstr ""
220+
msgstr "``\"^=\"`` 的形符值。"
221221

222222
#: ../../library/token-list.inc:166
223223
msgid "Token value for ``\"<<=\"``."
224-
msgstr ""
224+
msgstr "``\"<<=\"`` 的形符值。"
225225

226226
#: ../../library/token-list.inc:170
227227
msgid "Token value for ``\">>=\"``."
228-
msgstr ""
228+
msgstr "``\">>=\"`` 的形符值。"
229229

230230
#: ../../library/token-list.inc:174
231231
msgid "Token value for ``\"**=\"``."
232-
msgstr ""
232+
msgstr "``\"**=\"`` 的形符值。"
233233

234234
#: ../../library/token-list.inc:178
235235
msgid "Token value for ``\"//\"``."
236-
msgstr ""
236+
msgstr "``\"//\"`` 的形符值。"
237237

238238
#: ../../library/token-list.inc:182
239239
msgid "Token value for ``\"//=\"``."
240-
msgstr ""
240+
msgstr "``\"//=\"`` 的形符值。"
241241

242242
#: ../../library/token-list.inc:186
243243
msgid "Token value for ``\"@\"``."
244-
msgstr ""
244+
msgstr "``\"@\"`` 的形符值。"
245245

246246
#: ../../library/token-list.inc:190
247247
msgid "Token value for ``\"@=\"``."
248-
msgstr ""
248+
msgstr "``\"@=\"`` 的形符值。"
249249

250250
#: ../../library/token-list.inc:194
251251
msgid "Token value for ``\"->\"``."
252-
msgstr ""
252+
msgstr "``\"->\"`` 的形符值。"
253253

254254
#: ../../library/token-list.inc:198
255255
msgid "Token value for ``\"...\"``."

0 commit comments

Comments
 (0)