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

Skip to content

Commit 1aa7380

Browse files
[po] auto sync
1 parent 6b8d136 commit 1aa7380

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

library/configparser.po

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,12 +510,17 @@ msgid ""
510510
"well). By default inline comments are disabled and ``'#'`` and ``';'`` are "
511511
"used as prefixes for whole line comments."
512512
msgstr ""
513+
"注释前缀是配置文件中用于标示一条有效注释的开头的字符串。 *comment_prefixes* 仅用在被视为空白的行(可以缩进)之前而 "
514+
"*inline_comment_prefixes* 可用在每个有效值之后(例如小节名称、选项以及空白的行)。 默认情况下禁用行内注释,并且 "
515+
"``'#'`` 和 ``';'`` 都被用作完整行注释的前缀。"
513516

514517
#: ../../library/configparser.rst:546
515518
msgid ""
516519
"In previous versions of :mod:`configparser` behaviour matched "
517520
"``comment_prefixes=('#',';')`` and ``inline_comment_prefixes=(';',)``."
518521
msgstr ""
522+
"在之前的 :mod:`configparser` 版本中行为匹配 ``comment_prefixes=('#',';')`` 和 "
523+
"``inline_comment_prefixes=(';',)``。"
519524

520525
#: ../../library/configparser.rst:550
521526
msgid ""
@@ -526,10 +531,13 @@ msgid ""
526531
"storing comment prefix characters at the beginning of a line in multiline "
527532
"values is to interpolate the prefix, for example::"
528533
msgstr ""
534+
"请注意配置解析器不支持对注释前缀的转义,因此使用 *inline_comment_prefixes* 可能妨碍用户将被用作注释前缀的字符指定为可选值。 "
535+
"当有疑问时,请避免设置 *inline_comment_prefixes*。 "
536+
"在许多情况下,在多行值的一行开头存储注释前缀字符的唯一方式是进行前缀插值,例如::"
529537

530538
#: ../../library/configparser.rst:596
531539
msgid "*strict*, default value: ``True``"
532-
msgstr ""
540+
msgstr "*strict*,默认值: ``True``"
533541

534542
#: ../../library/configparser.rst:598
535543
msgid ""
@@ -538,16 +546,18 @@ msgid ""
538546
":meth:`read_string` or :meth:`read_dict`). It is recommended to use strict "
539547
"parsers in new applications."
540548
msgstr ""
549+
"当设为 ``True`` 时,解析器在从单一源读取 (使用 :meth:`read_file`, :meth:`read_string` 或 "
550+
":meth:`read_dict`) 期间将不允许任何小节或选项出现重复。 推荐在新的应用中使用严格解析器。"
541551

542552
#: ../../library/configparser.rst:603
543553
msgid ""
544554
"In previous versions of :mod:`configparser` behaviour matched "
545555
"``strict=False``."
546-
msgstr ""
556+
msgstr "在之前的 :mod:`configparser` 版本中行为匹配 ``strict=False``。"
547557

548558
#: ../../library/configparser.rst:607
549559
msgid "*empty_lines_in_values*, default value: ``True``"
550-
msgstr ""
560+
msgstr "*empty_lines_in_values*,默认值: ``True``"
551561

552562
#: ../../library/configparser.rst:609
553563
msgid ""

0 commit comments

Comments
 (0)