python-docs-fr/library/plistlib.po

301 lines
8.5 KiB
Plaintext
Raw Normal View History

2016-10-30 09:46:26 +00:00
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2016, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
2017-04-02 20:14:06 +00:00
"POT-Creation-Date: 2017-04-02 22:11+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-04-02 20:14:06 +00:00
"Language: \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 ""
"`PList manual page <https://developer.apple.com/library/mac/documentation/"
"Darwin/Reference/ManPages/man5/plist.5.html>`_"
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 "
"plist file. The exact structure of the plist can be recovered by using :"
"class:`collections.OrderedDict` (although the order of keys shouldn't be "
"important in plist files)."
msgstr ""
#: ../Doc/library/plistlib.rst:70
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 ""
#: ../Doc/library/plistlib.rst:75
msgid ""
"The parser for the binary format raises :exc:`InvalidFileException` when the "
"file cannot be parsed."
msgstr ""
#: ../Doc/library/plistlib.rst:83
msgid ""
"Load a plist from a bytes object. See :func:`load` for an explanation of the "
"keyword arguments."
msgstr ""
#: ../Doc/library/plistlib.rst:91
msgid ""
"Write *value* to a plist file. *Fp* should be a writable, binary file object."
msgstr ""
#: ../Doc/library/plistlib.rst:94
msgid ""
"The *fmt* argument specifies the format of the plist file and can be one of "
"the following values:"
msgstr ""
#: ../Doc/library/plistlib.rst:97
msgid ":data:`FMT_XML`: XML formatted plist file"
msgstr ""
#: ../Doc/library/plistlib.rst:99
msgid ":data:`FMT_BINARY`: Binary formatted plist file"
msgstr ""
#: ../Doc/library/plistlib.rst:101
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 ""
#: ../Doc/library/plistlib.rst:105
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 ""
#: ../Doc/library/plistlib.rst:108
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 ""
#: ../Doc/library/plistlib.rst:111
msgid ""
"An :exc:`OverflowError` will be raised for integer values that cannot be "
"represented in (binary) plist files."
msgstr ""
#: ../Doc/library/plistlib.rst:119
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 ""
#: ../Doc/library/plistlib.rst:125
msgid "The following functions are deprecated:"
msgstr ""
#: ../Doc/library/plistlib.rst:129
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 ""
#: ../Doc/library/plistlib.rst:133
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 ""
#: ../Doc/library/plistlib.rst:138 ../Doc/library/plistlib.rst:161
msgid ""
"Dict values in the result have a ``__getattr__`` method that defers to "
"``__getitem_``. This means that you can use attribute access to access items "
"of these dictionaries."
msgstr ""
#: ../Doc/library/plistlib.rst:142
msgid "Use :func:`load` instead."
msgstr ""
#: ../Doc/library/plistlib.rst:147
msgid ""
"Write *rootObject* to an XML plist file. *pathOrFile* may be either a file "
"name or a (writable and binary) file object"
msgstr ""
#: ../Doc/library/plistlib.rst:150
msgid "Use :func:`dump` instead."
msgstr ""
#: ../Doc/library/plistlib.rst:155
msgid "Read a plist data from a bytes object. Return the root object."
msgstr ""
#: ../Doc/library/plistlib.rst:157
msgid "See :func:`load` for a description of the keyword arguments."
msgstr ""
#: ../Doc/library/plistlib.rst:165
msgid "Use :func:`loads` instead."
msgstr ""
#: ../Doc/library/plistlib.rst:170
msgid "Return *rootObject* as an XML plist-formatted bytes object."
msgstr ""
#: ../Doc/library/plistlib.rst:172
msgid "Use :func:`dumps` instead."
msgstr ""
#: ../Doc/library/plistlib.rst:175
msgid "The following classes are available:"
msgstr ""
#: ../Doc/library/plistlib.rst:179
msgid ""
"Return an extended mapping object with the same value as dictionary *dict*."
msgstr ""
#: ../Doc/library/plistlib.rst:182
msgid ""
"This class is a subclass of :class:`dict` where attribute access can be used "
"to access items. That is, ``aDict.key`` is the same as ``aDict['key']`` for "
"getting, setting and deleting items in the mapping."
msgstr ""
#: ../Doc/library/plistlib.rst:191
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 ""
#: ../Doc/library/plistlib.rst:195
msgid ""
"It has one attribute, :attr:`data`, that can be used to retrieve the Python "
"bytes object stored in it."
msgstr ""
#: ../Doc/library/plistlib.rst:198
msgid "Use a :class:`bytes` object instead."
msgstr ""
#: ../Doc/library/plistlib.rst:201
msgid "The following constants are available:"
msgstr ""
#: ../Doc/library/plistlib.rst:205
msgid "The XML format for plist files."
msgstr ""
#: ../Doc/library/plistlib.rst:212
msgid "The binary format for plist files"
msgstr ""
#: ../Doc/library/plistlib.rst:218
msgid "Examples"
msgstr "Exemples"
#: ../Doc/library/plistlib.rst:220
msgid "Generating a plist::"
msgstr ""
#: ../Doc/library/plistlib.rst:240
msgid "Parsing a plist::"
msgstr ""