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

Skip to content

Commit f4b7484

Browse files
[po] auto sync
1 parent 3ff23da commit f4b7484

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

library/configparser.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -718,10 +718,12 @@ msgid ""
718718
"option lines, it's not recommended to override it because that would "
719719
"interfere with constructor options *allow_no_value* and *delimiters*."
720720
msgstr ""
721+
"虽然 ConfigParser 对象也使用 ``OPTCRE`` 属性来识别选项行,但并不推荐重载它,因为这会与构造器选项 "
722+
"*allow_no_value* 和 *delimiters* 产生冲突。"
721723

722724
#: ../../library/configparser.rst:771
723725
msgid "Legacy API Examples"
724-
msgstr ""
726+
msgstr "旧式 API 示例"
725727

726728
#: ../../library/configparser.rst:773
727729
msgid ""
@@ -731,28 +733,30 @@ msgid ""
731733
"access is preferred for new projects. The legacy API is at times more "
732734
"advanced, low-level and downright counterintuitive."
733735
msgstr ""
736+
"主要出于向下兼容性的考虑,:mod:`configparser` 还提供了一种采用显式 ``get``/``set`` 方法的旧式 API。 "
737+
"虽然以下介绍的方法存在有效的用例,但对于新项目仍建议采用映射协议访问。 旧式 API 在多数时候都更复杂、更底层并且完全违反直觉。"
734738

735739
#: ../../library/configparser.rst:779
736740
msgid "An example of writing to a configuration file::"
737-
msgstr ""
741+
msgstr "一个写入配置文件的示例::"
738742

739743
#: ../../library/configparser.rst:802
740744
msgid "An example of reading the configuration file again::"
741-
msgstr ""
745+
msgstr "一个再次读取配置文件的示例::"
742746

743747
#: ../../library/configparser.rst:820
744748
msgid "To get interpolation, use :class:`ConfigParser`::"
745-
msgstr ""
749+
msgstr "要获取插值,请使用 :class:`ConfigParser`::"
746750

747751
#: ../../library/configparser.rst:853
748752
msgid ""
749753
"Default values are available in both types of ConfigParsers. They are used "
750754
"in interpolation if an option used is not defined elsewhere. ::"
751-
msgstr ""
755+
msgstr "默认值在两种类型的 ConfigParser 中均可用。 它们将在当某个选项未在别处定义时被用于插值。 ::"
752756

753757
#: ../../library/configparser.rst:871
754758
msgid "ConfigParser Objects"
755-
msgstr ""
759+
msgstr "ConfigParser 对象"
756760

757761
#: ../../library/configparser.rst:875
758762
msgid ""

0 commit comments

Comments
 (0)