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

Skip to content

Commit 94f32f0

Browse files
[po] auto sync
1 parent 9d51038 commit 94f32f0

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

library/json.po

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,8 @@ msgid ""
778778
"in their input. This module's deserializer raises a :exc:`ValueError` when "
779779
"an initial BOM is present."
780780
msgstr ""
781+
"RFC 禁止添加字符顺序标记( BOM )在 JSON 文本的开头,这个模块的序列化器不添加 BOM 标记在它的输出上。 RFC,准许 JSON "
782+
"反序列化器忽略它们输入中的初始 BOM 标记,但不要求。此模块的反序列化器引发 :exc:`ValueError` 当存在初始 BOM 标记。"
781783

782784
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:586
783785
msgid ""
@@ -787,10 +789,12 @@ msgid ""
787789
" By default, this module accepts and outputs (when present in the original "
788790
":class:`str`) code points for such sequences."
789791
msgstr ""
792+
"RFC 不会明确禁止包含字节序列的 JSON 字符串这不对应有效的 Unicode 字符(比如 不成对的 UTF-16 "
793+
"的替代物),但是它确实指出它们可能会导致互操作性问题。默认下,模块对这样的序列接受和输出(当在原始 :class:`str` 存在时)代码点。"
790794

791795
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:594
792796
msgid "Infinite and NaN Number Values"
793-
msgstr ""
797+
msgstr "Infinite 和 NaN 数值"
794798

795799
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:596
796800
msgid ""
@@ -799,17 +803,19 @@ msgid ""
799803
"``-Infinity``, and ``NaN`` as if they were valid JSON number literal "
800804
"values::"
801805
msgstr ""
806+
"RFC 不允许 infinite 或者 NaN 数值的表达方式。尽管这样,默认情况下,此模块接受并且输出 ``Infinity`` , "
807+
"``-Infinity``,和 ``NaN`` 好像它们是有效的JSON数字字面值 ::"
802808

803809
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:611
804810
msgid ""
805811
"In the serializer, the *allow_nan* parameter can be used to alter this "
806812
"behavior. In the deserializer, the *parse_constant* parameter can be used "
807813
"to alter this behavior."
808-
msgstr ""
814+
msgstr "序列化器中, *allow_nan* 参数可用于替代这个行为。反序列化器中, *parse_constant* 参数,可用于替代这个行为。"
809815

810816
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:617
811817
msgid "Repeated Names Within an Object"
812-
msgstr ""
818+
msgstr "对象中的重复名称"
813819

814820
#: /home/travis/build/python/cpython-doc-catalog/Doc/library/json.rst:619
815821
msgid ""

0 commit comments

Comments
 (0)