@@ -227,97 +227,103 @@ msgstr "此函数会调用 :func:`load` 来完成实际操作,请参阅 :func:
227227
228228#: ../../library/plistlib.rst:138
229229msgid "Use :func:`load` instead."
230- msgstr ""
230+ msgstr "使用 :func:`load` 来代替。 "
231231
232232#: ../../library/plistlib.rst:140 ../../library/plistlib.rst:161
233233msgid ""
234234"Dict values in the result are now normal dicts. You no longer can use "
235235"attribute access to access items of these dictionaries."
236- msgstr ""
236+ msgstr "结果中的字典值现在是普通字典。 你不能再使用属性引用形式来访问这些字典中的项。 "
237237
238238#: ../../library/plistlib.rst:147
239239msgid ""
240240"Write *rootObject* to an XML plist file. *pathOrFile* may be either a file "
241241"name or a (writable and binary) file object"
242- msgstr ""
242+ msgstr "将 *rootObject* 写入 XML plist 文件。 *pathOrFile* 可以是文件名或(可写并且为二进制的)文件对象。 "
243243
244244#: ../../library/plistlib.rst:150
245245msgid "Use :func:`dump` instead."
246- msgstr ""
246+ msgstr "使用 :func:`dump` 来代替。 "
247247
248248#: ../../library/plistlib.rst:155
249249msgid "Read a plist data from a bytes object. Return the root object."
250- msgstr ""
250+ msgstr "从字节串对象读取 plist 数据。 返回根对象。 "
251251
252252#: ../../library/plistlib.rst:157
253253msgid "See :func:`load` for a description of the keyword arguments."
254- msgstr ""
254+ msgstr "参阅 :func:`load` 获取相应关键字参数的说明。 "
255255
256256#: ../../library/plistlib.rst:159
257257msgid "Use :func:`loads` instead."
258- msgstr ""
258+ msgstr "使用 :func:`loads` 来代替。 "
259259
260260#: ../../library/plistlib.rst:168
261261msgid "Return *rootObject* as an XML plist-formatted bytes object."
262- msgstr ""
262+ msgstr "将 *rootObject* 作为 XML plist 格式的字节串对象返回。 "
263263
264264#: ../../library/plistlib.rst:170
265265msgid "Use :func:`dumps` instead."
266- msgstr ""
266+ msgstr "使用 :func:`dumps` 来代替。 "
267267
268268#: ../../library/plistlib.rst:173
269269msgid "The following classes are available:"
270- msgstr ""
270+ msgstr "可以使用以下的类: "
271271
272272#: ../../library/plistlib.rst:177
273273msgid ""
274274"Return a \" data\" wrapper object around the bytes object *data*. This is "
275275"used in functions converting from/to plists to represent the ``<data>`` type"
276276" available in plists."
277277msgstr ""
278+ "返回一个包含字节串对象 *data* 的 \" data\" 包装器对象。 该类将在对 plist 进行双向转换的函数中被用来代表 plist 中可用的 "
279+ "``<data>`` 类型。"
278280
279281#: ../../library/plistlib.rst:181
280282msgid ""
281283"It has one attribute, :attr:`data`, that can be used to retrieve the Python "
282284"bytes object stored in it."
283- msgstr ""
285+ msgstr "它具有一个属性 :attr:`data`,可被用来提取其中所保存的 Python 字节串对象。 "
284286
285287#: ../../library/plistlib.rst:184
286288msgid "Use a :class:`bytes` object instead."
287- msgstr ""
289+ msgstr "使用 :class:`bytes` 对象来代替。 "
288290
289291#: ../../library/plistlib.rst:188
290292msgid ""
291293"Wraps an :class:`int`. This is used when reading or writing NSKeyedArchiver"
292294" encoded data, which contains UID (see PList manual)."
293295msgstr ""
296+ "包装一个 :class:`int`。 该类将在读取或写入 NSKeyedArchiver 编码的数据时被使用,其中包含 UID(参见 PList "
297+ "指南)。"
294298
295299#: ../../library/plistlib.rst:191
296300msgid ""
297301"It has one attribute, :attr:`data`, which can be used to retrieve the int "
298302"value of the UID. :attr:`data` must be in the range `0 <= data < 2**64`."
299303msgstr ""
304+ "它具有一个属性 :attr:`data`,可被用来提取 UID 的 int 值。 :attr:`data` 的取值范围必须为 `0 <= data < "
305+ "2**64`。"
300306
301307#: ../../library/plistlib.rst:197
302308msgid "The following constants are available:"
303- msgstr ""
309+ msgstr "可以使用以下的常量: "
304310
305311#: ../../library/plistlib.rst:201
306312msgid "The XML format for plist files."
307- msgstr ""
313+ msgstr "用于 plist 文件的 XML 格式。 "
308314
309315#: ../../library/plistlib.rst:208
310316msgid "The binary format for plist files"
311- msgstr ""
317+ msgstr "用于 plist 文件的二进制格式。 "
312318
313319#: ../../library/plistlib.rst:214
314320msgid "Examples"
315321msgstr "示例"
316322
317323#: ../../library/plistlib.rst:216
318324msgid "Generating a plist::"
319- msgstr ""
325+ msgstr "生成一个 plist:: "
320326
321327#: ../../library/plistlib.rst:236
322328msgid "Parsing a plist::"
323- msgstr ""
329+ msgstr "解析一个 plist:: "
0 commit comments