Skip to content

Translated copyreg.po #409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Nov 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 30 additions & 4 deletions library/copyreg.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,22 @@ msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2018-11-23 15:14+0100\n"
"Language-Team: FRENCH <[email protected]>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Last-Translator: Jules Lasne <[email protected]>\n"
"X-Generator: Poedit 2.2\n"

#: ../Doc/library/copyreg.rst:2
msgid ":mod:`copyreg` --- Register :mod:`pickle` support functions"
msgstr ""
msgstr ":mod:`copyreg` --- Enregistre les fonctions support de :mod:`pickle`"

#: ../Doc/library/copyreg.rst:7
msgid "**Source code:** :source:`Lib/copyreg.py`"
msgstr ""
msgstr "**Code source :** :source:`Lib/copyreg.py`"

#: ../Doc/library/copyreg.rst:15
msgid ""
Expand All @@ -30,19 +31,32 @@ msgid ""
"configuration information about object constructors which are not classes. "
"Such constructors may be factory functions or class instances."
msgstr ""
"Le module :mod:`copyreg` permet de définir des fonctions utilisées durant la "
"sérialisation avec *pickle* de certains objets. Les modules :mod:`pickle` "
"et :mod:`copy` utilisent ces fonctions lors d'une sérialisation ou d'une "
"copie de ces objets. Le module propose alors des informations de "
"configuration à propos de constructeurs d'objets qui ne sont pas des "
"classes. De tels constructeurs peuvent être des instances de classes ou des "
"fonctions."

#: ../Doc/library/copyreg.rst:24
msgid ""
"Declares *object* to be a valid constructor. If *object* is not callable "
"(and hence not valid as a constructor), raises :exc:`TypeError`."
msgstr ""
"Déclare *object* comme étant un constructeur valide. Si *object* n'est pas "
"appelable (et n'est donc pas un constructeur valide), l'erreur :exc:"
"`TypeError` est levée."

#: ../Doc/library/copyreg.rst:30
msgid ""
"Declares that *function* should be used as a \"reduction\" function for "
"objects of type *type*. *function* should return either a string or a tuple "
"containing two or three elements."
msgstr ""
"Déclare que *function* devrait être utilisée en tant que fonction de "
"*réduction* pour des objets de type *type*. *function* doit soit retourner "
"une chaîne de caractères soit un tuple qui contiens deux ou trois éléments."

#: ../Doc/library/copyreg.rst:34
msgid ""
Expand All @@ -51,6 +65,11 @@ msgid ""
"arguments returned by *function* at pickling time. :exc:`TypeError` will be "
"raised if *object* is a class or *constructor* is not callable."
msgstr ""
"Le paramètre optionnel *contructor*, s'il est donné, est un objet appelable "
"qui peux être utilisé pour reconstruire l’objet lorsqu'il est appelé avec un "
"tuple d'arguments retournés par *function* durant la sérialisation avec "
"*pickle*. Une exception :exc:`TypeError` sera levée si *object* est une "
"classe ou si *constructor* n'est pas appelable."

#: ../Doc/library/copyreg.rst:39
msgid ""
Expand All @@ -59,6 +78,11 @@ msgid ""
"dispatch_table` attribute of a pickler object or subclass of :class:`pickle."
"Pickler` can also be used for declaring reduction functions."
msgstr ""
"Voir le module :mod:`pickle` pour plus de détails sur l'interface attendue "
"de *function* et *constructor*. Notez que l’attribut :attr:`~pickle.Pickler."
"dispatch_table` d'un objet ``pickler`` ou d'une sous-classe de :class:"
"`pickle.Pickler` peut aussi être utilisée pour déclarer des fonctions "
"réductrices."

#: ../Doc/library/copyreg.rst:46
msgid "Example"
Expand All @@ -69,3 +93,5 @@ msgid ""
"The example below would like to show how to register a pickle function and "
"how it will be used:"
msgstr ""
"L'exemple si-dessous essaye de démontrer comment enregistrer une fonction "
"*pickle* et comment elle sera utilisée :"