1
0
Fork 0
python-docs-fr/library/plistlib.po

284 lines
7.8 KiB
Plaintext
Raw Normal View History

2018-07-04 09:06:45 +00:00
# Copyright (C) 2001-2018, Python Software Foundation
2018-07-04 09:08:42 +00:00
# For licence information, see README file.
2016-10-30 09:46:26 +00:00
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
2018-06-28 13:32:56 +00:00
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
2016-10-30 09:46:26 +00:00
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../Doc/library/plistlib.rst:2
msgid ":mod:`plistlib` --- Generate and parse Mac OS X ``.plist`` files"
msgstr ""
#: ../Doc/library/plistlib.rst:11
msgid "**Source code:** :source:`Lib/plistlib.py`"
msgstr "**Code source :** :source:`Lib/plistlib.py`"
#: ../Doc/library/plistlib.rst:19
msgid ""
"This module provides an interface for reading and writing the \"property list"
"\" files used mainly by Mac OS X and supports both binary and XML plist "
"files."
msgstr ""
#: ../Doc/library/plistlib.rst:22
msgid ""
"The property list (``.plist``) file format is a simple serialization "
"supporting basic object types, like dictionaries, lists, numbers and "
"strings. Usually the top level object is a dictionary."
msgstr ""
#: ../Doc/library/plistlib.rst:26
msgid ""
"To write out and to parse a plist file, use the :func:`dump` and :func:"
"`load` functions."
msgstr ""
#: ../Doc/library/plistlib.rst:29
msgid ""
"To work with plist data in bytes objects, use :func:`dumps` and :func:"
"`loads`."
msgstr ""
#: ../Doc/library/plistlib.rst:32
msgid ""
"Values can be strings, integers, floats, booleans, tuples, lists, "
"dictionaries (but only with string keys), :class:`Data`, :class:`bytes`, :"
"class:`bytesarray` or :class:`datetime.datetime` objects."
msgstr ""
#: ../Doc/library/plistlib.rst:36
msgid "New API, old API deprecated. Support for binary format plists added."
msgstr ""
#: ../Doc/library/plistlib.rst:41
msgid ""
2018-06-28 13:32:56 +00:00
"`PList manual page <https://developer.apple.com/library/content/"
"documentation/Cocoa/Conceptual/PropertyLists/>`_"
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/plistlib.rst:42
msgid "Apple's documentation of the file format."
msgstr ""
#: ../Doc/library/plistlib.rst:45
msgid "This module defines the following functions:"
msgstr ""
#: ../Doc/library/plistlib.rst:49
msgid ""
"Read a plist file. *fp* should be a readable and binary file object. Return "
"the unpacked root object (which usually is a dictionary)."
msgstr ""
#: ../Doc/library/plistlib.rst:53
msgid "The *fmt* is the format of the file and the following values are valid:"
msgstr ""
#: ../Doc/library/plistlib.rst:55
msgid ":data:`None`: Autodetect the file format"
msgstr ""
#: ../Doc/library/plistlib.rst:57
msgid ":data:`FMT_XML`: XML file format"
msgstr ""
#: ../Doc/library/plistlib.rst:59
msgid ":data:`FMT_BINARY`: Binary plist format"
msgstr ""
#: ../Doc/library/plistlib.rst:61
msgid ""
"If *use_builtin_types* is true (the default) binary data will be returned as "
"instances of :class:`bytes`, otherwise it is returned as instances of :class:"
"`Data`."
msgstr ""
#: ../Doc/library/plistlib.rst:65
msgid ""
"The *dict_type* is the type used for dictionaries that are read from the "
2018-06-28 13:32:56 +00:00
"plist file."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:68
2016-10-30 09:46:26 +00:00
msgid ""
"XML data for the :data:`FMT_XML` format is parsed using the Expat parser "
"from :mod:`xml.parsers.expat` -- see its documentation for possible "
"exceptions on ill-formed XML. Unknown elements will simply be ignored by "
"the plist parser."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:73
2016-10-30 09:46:26 +00:00
msgid ""
"The parser for the binary format raises :exc:`InvalidFileException` when the "
"file cannot be parsed."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:81
2016-10-30 09:46:26 +00:00
msgid ""
"Load a plist from a bytes object. See :func:`load` for an explanation of the "
"keyword arguments."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:89
2016-10-30 09:46:26 +00:00
msgid ""
"Write *value* to a plist file. *Fp* should be a writable, binary file object."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:92
2016-10-30 09:46:26 +00:00
msgid ""
"The *fmt* argument specifies the format of the plist file and can be one of "
"the following values:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:95
2016-10-30 09:46:26 +00:00
msgid ":data:`FMT_XML`: XML formatted plist file"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:97
2016-10-30 09:46:26 +00:00
msgid ":data:`FMT_BINARY`: Binary formatted plist file"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:99
2016-10-30 09:46:26 +00:00
msgid ""
"When *sort_keys* is true (the default) the keys for dictionaries will be "
"written to the plist in sorted order, otherwise they will be written in the "
"iteration order of the dictionary."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:103
2016-10-30 09:46:26 +00:00
msgid ""
"When *skipkeys* is false (the default) the function raises :exc:`TypeError` "
"when a key of a dictionary is not a string, otherwise such keys are skipped."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:106
2016-10-30 09:46:26 +00:00
msgid ""
"A :exc:`TypeError` will be raised if the object is of an unsupported type or "
"a container that contains objects of unsupported types."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:109
2016-10-30 09:46:26 +00:00
msgid ""
"An :exc:`OverflowError` will be raised for integer values that cannot be "
"represented in (binary) plist files."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:117
2016-10-30 09:46:26 +00:00
msgid ""
"Return *value* as a plist-formatted bytes object. See the documentation for :"
"func:`dump` for an explanation of the keyword arguments of this function."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:123
2016-10-30 09:46:26 +00:00
msgid "The following functions are deprecated:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:127
2016-10-30 09:46:26 +00:00
msgid ""
"Read a plist file. *pathOrFile* may be either a file name or a (readable and "
"binary) file object. Returns the unpacked root object (which usually is a "
"dictionary)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:131
2016-10-30 09:46:26 +00:00
msgid ""
"This function calls :func:`load` to do the actual work, see the "
"documentation of :func:`that function <load>` for an explanation of the "
"keyword arguments."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:134
msgid "Use :func:`load` instead."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:136 ../Doc/library/plistlib.rst:157
msgid ""
"Dict values in the result are now normal dicts. You no longer can use "
"attribute access to access items of these dictionaries."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:143
2016-10-30 09:46:26 +00:00
msgid ""
"Write *rootObject* to an XML plist file. *pathOrFile* may be either a file "
"name or a (writable and binary) file object"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:146
2016-10-30 09:46:26 +00:00
msgid "Use :func:`dump` instead."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:151
2016-10-30 09:46:26 +00:00
msgid "Read a plist data from a bytes object. Return the root object."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:153
2016-10-30 09:46:26 +00:00
msgid "See :func:`load` for a description of the keyword arguments."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:155
2016-10-30 09:46:26 +00:00
msgid "Use :func:`loads` instead."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:164
2016-10-30 09:46:26 +00:00
msgid "Return *rootObject* as an XML plist-formatted bytes object."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:166
2016-10-30 09:46:26 +00:00
msgid "Use :func:`dumps` instead."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:169
2016-10-30 09:46:26 +00:00
msgid "The following classes are available:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:173
2016-10-30 09:46:26 +00:00
msgid ""
"Return a \"data\" wrapper object around the bytes object *data*. This is "
"used in functions converting from/to plists to represent the ``<data>`` type "
"available in plists."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:177
2016-10-30 09:46:26 +00:00
msgid ""
"It has one attribute, :attr:`data`, that can be used to retrieve the Python "
"bytes object stored in it."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:180
2016-10-30 09:46:26 +00:00
msgid "Use a :class:`bytes` object instead."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:183
2016-10-30 09:46:26 +00:00
msgid "The following constants are available:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:187
2016-10-30 09:46:26 +00:00
msgid "The XML format for plist files."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:194
2016-10-30 09:46:26 +00:00
msgid "The binary format for plist files"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:200
2016-10-30 09:46:26 +00:00
msgid "Examples"
msgstr "Exemples"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:202
2016-10-30 09:46:26 +00:00
msgid "Generating a plist::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/plistlib.rst:222
2016-10-30 09:46:26 +00:00
msgid "Parsing a plist::"
msgstr ""