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

189 lines
9.0 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
#
msgid ""
msgstr ""
2019-12-05 22:15:54 +00:00
"Project-Id-Version: Python 3\n"
2016-10-30 09:46:26 +00:00
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-01-15 22:33+0100\n"
2018-09-28 17:36:07 +00:00
"PO-Revision-Date: 2018-09-28 19:35+0200\n"
"Last-Translator: \n"
2018-07-04 09:14:25 +00:00
"Language-Team: FRENCH <traductions@lists.afpy.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"
"X-Generator: Poedit 2.0.9\n"
2016-10-30 09:46:26 +00:00
#: library/mailcap.rst:2
2016-10-30 09:46:26 +00:00
msgid ":mod:`mailcap` --- Mailcap file handling"
msgstr ":mod:`mailcap` — Manipulation de fichiers Mailcap"
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:8
2016-10-30 09:46:26 +00:00
msgid "**Source code:** :source:`Lib/mailcap.py`"
msgstr "**Code source :** :source:`Lib/mailcap.py`"
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:14
msgid ""
"The :mod:`mailcap` module is deprecated (see :pep:`PEP 594 <594#mailcap>` "
"for details). The :mod:`mimetypes` module provides an alternative."
msgstr ""
#: library/mailcap.rst:17
#, fuzzy
2016-10-30 09:46:26 +00:00
msgid ""
"Mailcap files are used to configure how MIME-aware applications such as mail "
"readers and web browsers react to files with different MIME types. (The name "
2016-10-30 09:46:26 +00:00
"\"mailcap\" is derived from the phrase \"mail capability\".) For example, a "
"mailcap file might contain a line like ``video/mpeg; xmpeg %s``. Then, if "
"the user encounters an email message or web document with the MIME type :"
2016-10-30 09:46:26 +00:00
"mimetype:`video/mpeg`, ``%s`` will be replaced by a filename (usually one "
"belonging to a temporary file) and the :program:`xmpeg` program can be "
"automatically started to view the file."
msgstr ""
2018-09-28 17:36:07 +00:00
"Les fichiers *mailcap* sont utilisés pour configurer la façon dont les "
2018-07-14 11:31:13 +00:00
"applications compatibles avec MIME, comme les clients mails ou les "
"navigateurs, réagissent aux différents fichiers de types MIME. (Le nom "
2018-09-28 17:36:07 +00:00
"*mailcap* est une contraction de lexpression « *mail capability* ».) Par "
"exemple, un fichier *mailcap* peut contenir une ligne de type ``video/mpeg; "
2018-07-14 11:31:13 +00:00
"xmpeg %s``. Ensuite, si lutilisateur récupère un message mail ou un "
"document web avec un type MIME :mimetype:`video/mpeg`, ``%s`` est remplacé "
2018-07-14 11:31:13 +00:00
"par un nom de fichier (généralement celui dun fichier temporaire) et le "
"programme :program:`xmpeg` peut automatiquement débuter la lecture de ce "
"dernier."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:26
2020-05-24 14:31:50 +00:00
#, fuzzy
2016-10-30 09:46:26 +00:00
msgid ""
"The mailcap format is documented in :rfc:`1524`, \"A User Agent "
2020-05-24 14:31:50 +00:00
"Configuration Mechanism For Multimedia Mail Format Information\", but is not "
"an internet standard. However, mailcap files are supported on most Unix "
2016-10-30 09:46:26 +00:00
"systems."
msgstr ""
2018-09-28 17:36:07 +00:00
"Le format *mailcap* est documenté dans la :rfc:`1524` « A User Agent "
2018-07-14 11:31:13 +00:00
"Configuration Mechanism For Multimedia Mail Format Information », mais nest "
"pas un standard Internet. Cependant, la plupart des systèmes Unix savent "
2018-09-28 17:36:07 +00:00
"gérer les fichiers *mailcap*."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:33
2016-10-30 09:46:26 +00:00
msgid ""
"Return a 2-tuple; the first element is a string containing the command line "
"to be executed (which can be passed to :func:`os.system`), and the second "
"element is the mailcap entry for a given MIME type. If no matching MIME "
"type can be found, ``(None, None)`` is returned."
msgstr ""
"Renvoie une paire ; le premier élément est une chaîne de caractères (string) "
"contenant la ligne de commande à exécuter (qui peut être passée à :func:`os."
"system`), et le second élément est lentrée *mailcap* pour un type de MIME "
"donné. Si le type MIME nest pas identifié, ``(None, None)`` est renvoyé."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:38
2016-10-30 09:46:26 +00:00
msgid ""
"*key* is the name of the field desired, which represents the type of "
"activity to be performed; the default value is 'view', since in the most "
"common case you simply want to view the body of the MIME-typed data. Other "
"possible values might be 'compose' and 'edit', if you wanted to create a new "
"body of the given MIME type or alter the existing body data. See :rfc:"
"`1524` for a complete list of these fields."
msgstr ""
"*key* est le nom de champ souhaité, qui représente le type daction à "
2018-09-28 17:36:07 +00:00
"exécuter ; la valeur par défaut est ``'view'``, puisque dans la majorité des "
"cas le besoin consiste juste à lire le corps (body) de la donnée de type "
"MIME. Les autres valeurs possibles peuvent être ``'compose'`` et ``'edit'``, "
"si le besoin consiste à créer un nouveau corps de données (body) ou modifier "
"celui existant. Voir la :rfc:`1524` pour une liste complète des champs."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:45
2016-10-30 09:46:26 +00:00
msgid ""
"*filename* is the filename to be substituted for ``%s`` in the command line; "
"the default value is ``'/dev/null'`` which is almost certainly not what you "
"want, so usually you'll override it by specifying a filename."
msgstr ""
"*filename* est le nom de fichier à remplacer pour ``%s`` en ligne de "
"commande ; la valeur par défaut est ``/dev/null`` qui nest certainement "
"pas celle que vous attendez. Donc la plupart du temps, le nom de fichier "
"doit être indiqué."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:49
2016-10-30 09:46:26 +00:00
msgid ""
"*plist* can be a list containing named parameters; the default value is "
"simply an empty list. Each entry in the list must be a string containing "
"the parameter name, an equals sign (``'='``), and the parameter's value. "
"Mailcap entries can contain named parameters like ``%{foo}``, which will be "
"replaced by the value of the parameter named 'foo'. For example, if the "
"command line ``showpartial %{id} %{number} %{total}`` was in a mailcap file, "
"and *plist* was set to ``['id=1', 'number=2', 'total=3']``, the resulting "
"command line would be ``'showpartial 1 2 3'``."
msgstr ""
"*plist* peut être une liste contenant des noms de paramètres ; la valeur par "
"défaut est une simple liste vide. Chaque entrée dans la liste doit être une "
"chaîne de caractères contenant le nom du paramètre, un signe égal (``=``), "
2018-09-28 17:36:07 +00:00
"ainsi que la valeur du paramètre. Les entrées *mailcap* peuvent contenir des "
"noms de paramètres tels que ``%{foo}``, remplacé par la valeur du paramètre "
2018-09-28 17:36:07 +00:00
"nommé *foo*. Par exemple, si la ligne de commande ``showpartial %{id} "
"%{number} %{total}`` est un fichier *mailcap*, et *plist* configuré à "
"``[id=1, number=2, total=3]``, la ligne de commande qui en résulte est "
"``showpartial 1 2 3``."
2016-10-30 09:46:26 +00:00
2022-05-22 21:15:02 +00:00
#: library/mailcap.rst:58
2016-10-30 09:46:26 +00:00
msgid ""
"In a mailcap file, the \"test\" field can optionally be specified to test "
"some external condition (such as the machine architecture, or the window "
"system in use) to determine whether or not the mailcap line applies. :func:"
"`findmatch` will automatically check such conditions and skip the entry if "
"the check fails."
msgstr ""
2018-09-28 17:36:07 +00:00
"Dans un fichier *mailcap*, le champ « test » peut être renseigné de façon "
"optionnelle afin de tester certaines conditions externes (comme "
"larchitecture machine, ou le gestionnaire de fenêtre utilisé) afin de "
2018-09-28 17:36:07 +00:00
"déterminer si la ligne *mailcap* est pertinente ou non. :func:`findmatch` "
"vérifie automatiquement ces conditions et ignore lentrée si la vérification "
"échoue."
2016-10-30 09:46:26 +00:00
#: library/mailcap.rst:65
msgid ""
"To prevent security issues with shell metacharacters (symbols that have "
"special effects in a shell command line), ``findmatch`` will refuse to "
"inject ASCII characters other than alphanumerics and ``@+=:,./-_`` into the "
"returned command line."
msgstr ""
#: library/mailcap.rst:70
msgid ""
"If a disallowed character appears in *filename*, ``findmatch`` will always "
"return ``(None, None)`` as if no entry was found. If such a character "
"appears elsewhere (a value in *plist* or in *MIMEtype*), ``findmatch`` will "
"ignore all mailcap entries which use that value. A :mod:`warning <warnings>` "
"will be raised in either case."
msgstr ""
#: library/mailcap.rst:78
2016-10-30 09:46:26 +00:00
msgid ""
"Returns a dictionary mapping MIME types to a list of mailcap file entries. "
"This dictionary must be passed to the :func:`findmatch` function. An entry "
"is stored as a list of dictionaries, but it shouldn't be necessary to know "
"the details of this representation."
msgstr ""
"Renvoie un dictionnaire qui associe les types MIME à une liste dentrées de "
2018-09-28 17:36:07 +00:00
"fichier *mailcap*. Ce dictionnaire doit être transmis à la fonction :func:"
"`findmatch`. Une entrée est enregistrée en tant quune liste de "
"dictionnaires, mais il nest pas nécessaire de connaitre les détails de "
"cette représentation."
2016-10-30 09:46:26 +00:00
#: library/mailcap.rst:83
2016-10-30 09:46:26 +00:00
msgid ""
"The information is derived from all of the mailcap files found on the "
"system. Settings in the user's mailcap file :file:`$HOME/.mailcap` will "
"override settings in the system mailcap files :file:`/etc/mailcap`, :file:`/"
"usr/etc/mailcap`, and :file:`/usr/local/etc/mailcap`."
msgstr ""
2018-09-28 17:36:07 +00:00
"Linformation provient de tous les fichiers *mailcap* trouvés dans le "
"système. Les configurations réalisées dans le fichier *mailcap* du "
"répertoire utilisateur :file:`$HOME/.mailcap` outrepasse les configurations "
"systèmes des fichiers *mailcap* :file:`/etc/mailcap`, :file:`/usr/etc/"
"mailcap`, et :file:`/usr/local/etc/mailcap`."
2016-10-30 09:46:26 +00:00
#: library/mailcap.rst:88
2016-10-30 09:46:26 +00:00
msgid "An example usage::"
2018-09-28 17:36:07 +00:00
msgstr "Un exemple dutilisation ::"