8000 editing json.po, up to line 594. · python/python-docs-zh-tw@fa7d0e2 · GitHub
[go: up one dir, main page]

Skip to content

Commit fa7d0e2

Browse files
committed
editing json.po, up to line 594.
1 parent a78ad38 commit fa7d0e2

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

library/json.po

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ msgid ""
6060
":mod:`json` exposes an API familiar to users of the standard library :mod:"
6161
"`marshal` and :mod:`pickle` modules."
6262
msgstr ""
63-
":mod:`json` 為標準函式庫 :mod:`marshal` 與 :mod:`pickle` 模組的使用者提供熟悉"
63+
":mod:`json` 為習慣標準函式庫 :mod:`marshal` 與 :mod:`pickle` 模組的使用者提供熟悉"
6464
"的 API。"
6565

6666
#: ../../library/json.rst:29
@@ -111,7 +111,7 @@ msgid ""
111111
"This module's encoders and decoders preserve input and output order by "
112112
"default. Order is only lost if the underlying containers are unordered."
113113
msgstr ""
114-
"這個模組的編、解碼器預設會保存輸入與輸出資料的順序關係,除非一開始的輸入本身就是無序的。(例如集合)"
114+
"這個模組的編、解碼器預設會保存輸入與輸出資料的順序關係,除非一開始的輸入本身就是無序的。(例如集合 :class:`set`)"
115115

116116
#: ../../library/json.rst:135
117117
msgid "Basic Usage"
@@ -123,7 +123,7 @@ msgid ""
123123
"supporting :term:`file-like object`) using this :ref:`conversion table <py-"
124124
"to-json-table>`."
125125
msgstr ""
126-
"參考這個列表 :ref:`conversion table <py-to-json-table>` 將 *obj* 串聯化為"
126+
"參考這個\\ :ref:`轉換表 <py-to-json-table>`\\ 將 *obj* 串聯化為"
127127
"符合 JSON 格式的字串流,並寫入到 *fp* (一個支援 ``.write()`` 方法的 :term:`file-like object`)"
128128

129129
#: ../../library/json.rst:146
@@ -377,7 +377,7 @@ msgid ""
377377
"If the data being deserialized is not a valid JSON document, a :exc:"
378378
"`JSONDecodeError` will be raised."
379379
msgstr ""
380-
"如果被去序列化(deserialized)的資料不符合 JSON 格式,將會觸發 :exc:`JSONDecodeError` 例外。"
380+
"如果被去序列化(deserialized)的資料不符合 JSON 格式,將會引發 :exc:`JSONDecodeError` 例外。"
381381

382382
#: ../../library/json.rst:280
383383
msgid ""
@@ -545,49 +545,52 @@ msgid ""
545545
"Return the Python representation of *s* (a :class:`str` instance containing "
546546
"a JSON document)."
547547
msgstr ""
548+
"返回用 Python 方式表達的 *s*(一個含有 JSON 文件的 :class:`str` 實例(instance))"
548549

549550
#: ../../library/json.rst:382
550551
msgid ""
551552
":exc:`JSONDecodeError` will be raised if the given JSON document is not "
552553
"valid."
553-
msgstr ""
554+
msgstr "若給定的輸入不符合 JSON 格式會引發 :exc:`JSONDecodeError` 例外。"
554555

555556
#: ../../library/json.rst:387
556557
msgid ""
557558
"Decode a JSON document from *s* (a :class:`str` beginning with a JSON "
558559
"document) and return a 2-tuple of the Python representation and the index in "
559560
"*s* where the document ended."
560561
msgstr ""
562+
"將 *s* (一個開頭部分含有合格 JSON 文件的 :class:`str`) 解碼,並將 JSON 文件結束點的索引值(index)和解碼結果合併為一個二元組(2-tuple)後回傳。"
561563

562564
#: ../../library/json.rst:391
563565
msgid ""
564566
"This can be used to decode a JSON document from a string that may have "
565567
"extraneous data at the end."
566568
msgstr ""
569+
"這個方法可以用來解碼尾段可能帶有 JSON 以外資料的文字。"
567570

568571
#: ../../library/json.rst:397
569572
msgid "Extensible JSON encoder for Python data structures."
570-
msgstr ""
573+
msgstr "可擴充的 Python 資料結構 JSON 編碼器。"
571574

572575
#: ../../library/json.rst:399
573576
msgid "Supports the following objects and types by default:"
574-
msgstr ""
577+
msgstr "預設可支援下列物件及型別:"
575578

576579
#: ../../library/json.rst:408
577580
msgid "list, tuple"
578581
msgstr "list, tuple"
579582

580583
#: ../../library/json.rst:412
581584
msgid "int, float, int- & float-derived Enums"
582-
msgstr ""
585+
msgstr "int, float, int- & float-derived Enums"
583586

584587
#: ../../library/json.rst:412
585588
msgid "number"
586-
msgstr ""
589+
msgstr "number"
587590

588591
#: ../../library/json.rst:421
589592
msgid "Added support for int- and float-derived Enum classes."
590-
msgstr ""
593+
msgstr "Added support for int- and float-derived Enum classes."
591594

592595
#: ../../library/json.rst:424
593596
msgid ""

0 commit comments

Comments
 (0)
0