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

Skip to content

Commit c7233bd

Browse files
[po] auto sync
1 parent d30eccf commit c7233bd

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

library/email.headerregistry.po

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ msgstr "或者:"
647647
msgid ""
648648
"where each part must conform to specific syntax rules spelled out in "
649649
":rfc:`5322`."
650-
msgstr ""
650+
msgstr "其中每个部分都必须符合在 :rfc:`5322` 中阐述的特定语法规则。"
651651

652652
#: ../../library/email.headerregistry.rst:389
653653
msgid ""
@@ -658,21 +658,25 @@ msgid ""
658658
"will be property encoded when serialized. However, per the RFCs, unicode is"
659659
" *not* allowed in the username portion of the address."
660660
msgstr ""
661+
"为了方便起见可以指定 *addr_spec* 来替代 *username* 和 *domain*,在此情况下 *username* 和 *domain*"
662+
" 将从 *addr_spec* 中解析。 *addr_spec* 应当是一个正确地引用了 RFC 的字符串;如果它不是 ``Address`` "
663+
"则将引发错误。 Unicode 字符也允许使用并将在序列化时被正确地编码。 但是,根据 RFC,地址的 username 部分 *不允许* 有 "
664+
"unicode。"
661665

662666
#: ../../library/email.headerregistry.rst:398
663667
msgid ""
664668
"The display name portion of the address, if any, with all quoting removed. "
665669
"If the address does not have a display name, this attribute will be an empty"
666670
" string."
667-
msgstr ""
671+
msgstr "地址的显示名称部分(如果有的话)并去除所有引用项。 如果地址没有显示名称,则此属性将为空字符串。"
668672

669673
#: ../../library/email.headerregistry.rst:404
670674
msgid "The ``username`` portion of the address, with all quoting removed."
671-
msgstr ""
675+
msgstr "地址的 ``username`` 部分,去除所有引用项。"
672676

673677
#: ../../library/email.headerregistry.rst:408
674678
msgid "The ``domain`` portion of the address."
675-
msgstr ""
679+
msgstr "地址的 ``domain`` 部分。"
676680

677681
#: ../../library/email.headerregistry.rst:412
678682
msgid ""

whatsnew/3.6.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,13 +322,15 @@ msgid ""
322322
"parameters, a.k.a. type hints. This PEP adds syntax to Python for annotating"
323323
" the types of variables including class variables and instance variables::"
324324
msgstr ""
325+
":pep:`484` 引入了函数形参类型标注即类型提示的标准。 这个 PEP 为 Python 添加了标注变量类型的语法,包括类变量和实例变量::"
325326

326327
#: ../../whatsnew/3.6.rst:225
327328
msgid ""
328329
"Just as for function annotations, the Python interpreter does not attach any"
329330
" particular meaning to variable annotations and only stores them in the "
330331
"``__annotations__`` attribute of a class or module."
331332
msgstr ""
333+
"与函数标注一样,Python 解释器不会为变量标注附加任何特殊含义,仅会将其保存在类或模块的 ``__annotations__`` 属性中。"
332334

333335
#: ../../whatsnew/3.6.rst:229
334336
msgid ""
@@ -337,6 +339,8 @@ msgid ""
337339
"metadata for third party tools and libraries via the abstract syntax tree "
338340
"and the ``__annotations__`` attribute."
339341
msgstr ""
342+
"与静态类型语法的变量声明不同,标注语法的目的是通过抽象语法树和 ``__annotations__`` "
343+
"属性提供一个简单方式来为第三方工具和库指定结构化类型元数据。"
340344

341345
#: ../../whatsnew/3.6.rst:238
342346
msgid ":pep:`526` -- Syntax for variable annotations."
@@ -355,6 +359,8 @@ msgid ""
355359
"Tools that use or will use the new syntax: `mypy <http://www.mypy-"
356360
"lang.org/>`_, `pytype <https://github.com/google/pytype>`_, PyCharm, etc."
357361
msgstr ""
362+
"使用或将要使用此新语法的工具有: `mypy <http://www.mypy-lang.org/>`_, `pytype "
363+
"<https://github.com/google/pytype>`_, PyCharm 等等。"
358364

359365
#: ../../whatsnew/3.6.rst:248
360366
msgid "PEP 515: Underscores in Numeric Literals"
@@ -364,7 +370,7 @@ msgstr "PEP 515: 数字字面值中的下划线。"
364370
msgid ""
365371
":pep:`515` adds the ability to use underscores in numeric literals for "
366372
"improved readability. For example::"
367-
msgstr ""
373+
msgstr ":pep:`515` 增加了在数字字面值中使用下划线的能力以改善可读性。 例如::"
368374

369375
#: ../../whatsnew/3.6.rst:258
370376
msgid ""

0 commit comments

Comments
 (0)