8000 [po] auto sync · python/python-docs-zh-cn@b21f146 · GitHub
[go: up one dir, main page]

Skip to content

Commit b21f146

Browse files
[po] auto sync
1 parent c180e37 commit b21f146

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "80.83%", "updated_at": "2025-01-15T01:19:12Z"}
1+
{"translation": "80.84%", "updated_at": "2025-01-15T08:55:42Z"}

library/json.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ msgid ""
397397
" inserted. If ``None`` (the default), the most compact representation is "
398398
"used."
399399
msgstr ""
400+
"如为一个正整数或字符串,JSON 数组元素和对象成员将按其所指定的缩进层级美化打印。 正整数表示每级缩进指定数量的空格;字符串 (如 "
401+
"``\"\\t\"``) 则被用于每级缩进。 如为零、负数或 ``\"\"`` (空字符串),则仅插入换行符。 如为 ``None`` "
402+
"(默认值),则使用最紧凑表示形式。"
400403

401404
#: ../../library/json.rst:213
402405
msgid ""
@@ -405,13 +408,18 @@ msgid ""
405408
"``(',', ': ')`` otherwise. For the most compact JSON, specify ``(',', ':')``"
406409
" to eliminate whitespace."
407410
msgstr ""
411+
"一个二元组: ``(item_separator, key_separator)``。 如为 ``None`` (默认值),则默认当 *indent* "
412+
"为 ``None`` 时 *separators* 为 ``(', ', ': ')``,否则为 ``(',', ': ')``。 要使用最紧凑形式的 "
413+
"JSON,可指定 ``(',', ':')`` 来去除空格。"
408414

409415
#: ../../library/json.rst:222
410416
msgid ""
411417
"A function that is called for objects that can't otherwise be serialized. It"
412418
" should return a JSON encodable version of the object or raise a "
413419
":exc:`TypeError`. If ``None`` (the default), :exc:`!TypeError` is raised."
414420
msgstr ""
421+
"当对象无法被序列化时将被调用的函数。 它应该返回一个可被 JSON 编码的版本或是引发 :exc:`TypeError`。 如为 ``None`` "
422+
"(默认值),则会引发 :exc:`!TypeError`。"
415423

416424
#: ../../library/json.rst:229
417425
msgid ""

0 commit comments

Comments
 (0)
0