Skip to content

Commit c32ec08

Browse files
committed
editing json.po, up to line 125.
1 parent 8eca0d2 commit c32ec08

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

library/json.po

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ msgstr "對基本 Python 物件階層進行編碼: ::"
6767

6868
#: ../../library/json.rst:48
6969
msgid "Compact encoding::"
70-
msgstr ""
70+
msgstr "改用密集型編碼方式::"
7171

7272
#: ../../library/json.rst:54
7373
msgid "Pretty printing::"
@@ -79,15 +79,15 @@ msgstr "JSON 解碼: ::"
7979

8080
#: ../../library/json.rst:75
8181
msgid "Specializing JSON object decoding::"
82-
msgstr ""
82+
msgstr "自訂特殊的 JSON 解碼方式::"
8383

8484
#: ../../library/json.rst:90
8585
msgid "Extending :class:`JSONEncoder`::"
86-
msgstr ""
86+
msgstr "在 :class:`JSONEncoder` 裡自行擴充額外的編碼方法::"
8787

8888
#: ../../library/json.rst:108
8989
msgid "Using :mod:`json.tool` from the shell to validate and pretty-print:"
90-
msgstr ""
90+
msgstr "在命令列介面裡使用 :mod:`json.tool` 來驗證 JSON 語法和美化"
9191

9292
#: ../../library/json.rst:119
9393
msgid "See :ref:`json-commandline` for detailed documentation."
@@ -100,12 +100,16 @@ msgid ""
100100
"value) is also a subset of YAML 1.0 and 1.1. This module can thus also be "
101101
"used as a YAML serializer."
102102
msgstr ""
103+
"JSON 語法是 `YAML <https://yaml.org/>`_ 1.2 語法的一種子集合。"
104+
"所以如果使用預設的設定的話(準確來說,使用預設的 *separators* 分隔符設定的話),這個模組的輸出也符合 YAML 1.0 和 1.1 的子集合規範。"
105+
"因此你也可以利用這個模組來當作 YAML 的序列化工具(serializer)。"
103106

104107
#: ../../library/json.rst:130
105108
msgid ""
106109
"This module's encoders and decoders preserve input and output order by "
107110
"default. Order is only lost if the underlying containers are unordered."
108111
msgstr ""
112+
"這個模組的編、解碼器預設會保存輸入與輸出資料的順序關係,除非一開始的輸入本身就是無序的。(例如集合)"
109113

110114
#: ../../library/json.rst:135
111115
msgid "Basic Usage"
@@ -117,6 +121,8 @@ msgid ""
117121
"supporting :term:`file-like object`) using this :ref:`conversion table <py-"
118122
"to-json-table>`."
119123
msgstr ""
124+
"參考這個列表 :ref:`conversion table <py-to-json-table>` 將 *obj* 序列化為"
125+
"符合 JSON 格式的字串流,並寫入到 *fp* (一個支援 ``.write()`` 方法的 :term:`file-like object`)"
120126

121127
#: ../../library/json.rst:146
122128
msgid ""

0 commit comments

Comments
 (0)