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

Skip to content

Commit 098e423

Browse files
[po] auto sync
1 parent 7d2f8df commit 098e423

2 files changed

Lines changed: 18 additions & 10 deletions

File tree

library/ast.po

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1419,6 +1419,9 @@ msgid ""
14191419
"dumped by default. If this is wanted, *include_attributes* can be set to "
14201420
"true."
14211421
msgstr ""
1422+
"返回 *node* 中树结构的格式化转储。 这主要适用于调试目的。 如果 *annotate_fields* "
1423+
"为真值(默认),返回的字符串将显示字段的名称和值。 如果 *annotate_fields* 为假值,结果字符串将通过省略无歧义的字段名称变得更为紧凑。"
1424+
" 默认情况下不会转储行号和列偏移等属性。 如果需要,可将 *include_attributes* 设为真值。"
14221425

14231426
#: ../../library/ast.rst:2146
14241427
msgid ""
@@ -1429,38 +1432,43 @@ msgid ""
14291432
"many spaces per level. If *indent* is a string (such as ``\"\\t\"``), that "
14301433
"string is used to indent each level."
14311434
msgstr ""
1435+
"如果 *indent* 是一个非负整数或者字符串,那么节点树将被美化输出为指定的缩进级别。 如果缩进级别为 0、负数或者 ``\"\"`` "
1436+
"则将只插入换行符。 ``None`` (默认) 将选择最紧凑的表示形式。 使用一个正整数将让每个级别缩进相应数量的空格。 如果 *indent* "
1437+
"是一个字符串 (如 ``\"\\t\"``),该字符串会被用于缩进每个级别。"
14321438

14331439
#: ../../library/ast.rst:2153
14341440
msgid "Added the *indent* option."
1435-
msgstr ""
1441+
msgstr "添加了 *indent* 选项。"
14361442

14371443
#: ../../library/ast.rst:2160
14381444
msgid "Compiler Flags"
1439-
msgstr ""
1445+
msgstr "编译器旗标"
14401446

14411447
#: ../../library/ast.rst:2162
14421448
msgid ""
14431449
"The following flags may be passed to :func:`compile` in order to change "
14441450
"effects on the compilation of a program:"
1445-
msgstr ""
1451+
msgstr "下列旗标可被传给 :func:`compile` 用来改变程序编译的效果:"
14461452

14471453
#: ../../library/ast.rst:2167
14481454
msgid ""
14491455
"Enables support for top-level ``await``, ``async for``, ``async with`` and "
14501456
"async comprehensions."
1451-
msgstr ""
1457+
msgstr "启用对最高层级 ``await``, ``async for``, ``async with`` 以及异步推导式的支持。"
14521458

14531459
#: ../../library/ast.rst:2174
14541460
msgid ""
14551461
"Generates and returns an abstract syntax tree instead of returning a "
14561462
"compiled code object."
1457-
msgstr ""
1463+
msgstr "生成并返回一个抽象语法树而不是返回一个已编译的代码对象。"
14581464

14591465
#: ../../library/ast.rst:2179
14601466
msgid ""
14611467
"Enables support for :pep:`484` and :pep:`526` style type comments (``# type:"
14621468
" <type>``, ``# type: ignore <stuff>``)."
14631469
msgstr ""
1470+
"启用对 :pep:`484` 和 :pep:`526` 风格的类型注释的支持 (``# type: <type>``, ``# type: ignore"
1471+
" <stuff>``)。"
14641472

14651473
#: ../../library/ast.rst:2188
14661474
msgid "Command-Line Usage"
@@ -1470,15 +1478,15 @@ msgstr "命令行用法"
14701478
msgid ""
14711479
"The :mod:`ast` module can be executed as a script from the command line. It "
14721480
"is as simple as:"
1473-
msgstr ""
1481+
msgstr ":mod:`ast` 模块可以在命令行下作为脚本来执行。 具体做法非常简单:"
14741482

14751483
#: ../../library/ast.rst:2199
14761484
msgid "The following options are accepted:"
14771485
msgstr "可以接受以下选项:"
14781486

14791487
#: ../../library/ast.rst:2205
14801488
msgid "Show the help message and exit."
1481-
msgstr ""
1489+
msgstr "显示帮助信息并退出。"
14821490

14831491
#: ../../library/ast.rst:2210
14841492
msgid ""

library/io.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
# Sean Chao <[email protected]>, 2021
1111
# ww song <[email protected]>, 2021
1212
# ppcfish <[email protected]>, 2021
13-
# Freesand Leo <[email protected]>, 2021
1413
# Alpha Du <[email protected]>, 2022
14+
# Freesand Leo <[email protected]>, 2022
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2022-06-16 06:28+0000\n"
2222
"PO-Revision-Date: 2021-06-28 01:08+0000\n"
23-
"Last-Translator: Alpha Du <alphanow@gmail.com>, 2022\n"
23+
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2022\n"
2424
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -1487,7 +1487,7 @@ msgid ""
14871487
msgstr ""
14881488
"*encoding* 给出流的解码和编码将会使用的编码格式的名称。 它默认为 "
14891489
":func:`locale.getpreferredencoding(False) <locale.getpreferredencoding>`。 "
1490-
"``encoding=\"locale\"`` 可被用来地指定当前语言区域的编码格式。 请参阅 :ref:`io-text-encoding` "
1490+
"``encoding=\"locale\"`` 可被用来指定当前语言区域的编码格式。 请参阅 :ref:`io-text-encoding` "
14911491
"了解更多信息。"
14921492

14931493
#: ../../library/io.rst:951

0 commit comments

Comments
 (0)