-
-
Notifications
You must be signed in to change notification settings - Fork 263
traduction 100% de library/dataclasses.po #1749
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
Changes from 13 commits
63a54d0
9ae5c0e
b470fe2
f949dee
b6fb906
fc26114
1bfe28c
ff46978
601b85a
80c3f6c
2ef5036
9c08728
c73a1cd
d1051b7
85aa458
a5c7428
426b44e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,14 +6,14 @@ msgstr "" | |||||
| "Project-Id-Version: Python 3\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2021-09-23 16:16+0200\n" | ||||||
| "PO-Revision-Date: 2021-09-21 09:00+0200\n" | ||||||
| "Last-Translator: Jean Abou Samra <jean@abou-samra.fr>\n" | ||||||
| "PO-Revision-Date: 2021-10-27 21:53+0200\n" | ||||||
| "Last-Translator: David GIRAUD <davidgiraud@protonmail.com>\n" | ||||||
| "Language-Team: FRENCH <traductions@lists.afpy.org>\n" | ||||||
| "Language: fr\n" | ||||||
| "MIME-Version: 1.0\n" | ||||||
| "Content-Type: text/plain; charset=UTF-8\n" | ||||||
| "Content-Transfer-Encoding: 8bit\n" | ||||||
| "X-Generator: Poedit 2.4.1\n" | ||||||
| "X-Generator: Poedit 3.0\n" | ||||||
|
|
||||||
| #: library/dataclasses.rst:2 | ||||||
| msgid ":mod:`dataclasses` --- Data Classes" | ||||||
|
|
@@ -46,7 +46,7 @@ msgstr "" | |||||
| #: library/dataclasses.rst:34 | ||||||
| msgid "will add, among other things, a :meth:`__init__` that looks like::" | ||||||
| msgstr "" | ||||||
| "Ce code ajoute à la classe, entre autres choses, une méthode :meth:" | ||||||
| "ce code ajoute à la classe, entre autres choses, une méthode :meth:" | ||||||
| "`__init__` qui ressemble à ::" | ||||||
|
|
||||||
| #: library/dataclasses.rst:41 | ||||||
|
|
@@ -59,7 +59,7 @@ msgstr "" | |||||
|
|
||||||
| #: library/dataclasses.rst:47 | ||||||
| msgid "Module contents" | ||||||
| msgstr "" | ||||||
| msgstr "Classe de données" | ||||||
|
|
||||||
| #: library/dataclasses.rst:51 | ||||||
| msgid "" | ||||||
|
|
@@ -306,6 +306,11 @@ msgid "" | |||||
| "If false, or if ``__match_args__`` is already defined in the class, then " | ||||||
| "``__match_args__`` will not be generated." | ||||||
| msgstr "" | ||||||
| "*match_args* : Si vrai (vrai par défaut), le tuple ``__match_args__`` est " | ||||||
lythari marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| "créé automatiquement depuis la liste des paramètres de la fonction :meth:" | ||||||
lythari marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| "`__init__` générée (même si :meth:`__init__` n'est pas générée, voir ci-" | ||||||
| "dessus). Si faux ou si ``__match_args__`` est déjà défini dans la classe " | ||||||
| "alors ``__match_args__`` n'est pas créé." | ||||||
|
|
||||||
| #: library/dataclasses.rst:173 | ||||||
| msgid "" | ||||||
|
|
@@ -317,20 +322,25 @@ msgid "" | |||||
| "term:`parameter` glossary entry for details. Also see the :const:`KW_ONLY` " | ||||||
| "section." | ||||||
| msgstr "" | ||||||
| "*kw_only* : Si vrai (faux par défaut) alors tous les champs sont marqués " | ||||||
lythari marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| "comme exclusivement nommés. Si un champ est marqué comme exclusivement " | ||||||
| "nommé, le seul impact est que le champ de la méthode :meth:`__init__` " | ||||||
| "générée devra être explicitement nommé lors de l'appel de la méthode :meth:" | ||||||
| "`__init__`. Il n'y a aucun autre effet dans les autres aspects des classes " | ||||||
| "de données. Voir l'entrée :term:`paramètre <parameter>` du glossaire pour " | ||||||
| "plus d'informations. Voir également la section :const:`KW_ONLY`." | ||||||
|
|
||||||
| #: library/dataclasses.rst:184 | ||||||
| #, fuzzy | ||||||
| msgid "" | ||||||
| "``slots``: If true (the default is ``False``), :attr:`__slots__` attribute " | ||||||
| "will be generated and new class will be returned instead of the original " | ||||||
| "one. If :attr:`__slots__` is already defined in the class, then :exc:" | ||||||
| "`TypeError` is raised." | ||||||
| msgstr "" | ||||||
| "*frozen* : si vrai (faux par défaut), assigner une valeur à un champ lève " | ||||||
| "une exception. Cela simule le comportement des instances figées en lecture " | ||||||
| "seule. Si la méthode :meth:`__setattr__` ou :meth:`__delattr__` est définie " | ||||||
| "sur la classe, alors une :exc:`TypeError` est levée. Voir la discussion ci-" | ||||||
| "dessous." | ||||||
| "*slot*: si vrai (faux par défaut), l'attribut :attr:`__slots__` est généré " | ||||||
lythari marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| "et une nouvelle classe est renvoyée à la place de celle d'origine. Si :attr:" | ||||||
| "`__slots__` est déjà défini dans la classe alors une :exc:`TypeError` est " | ||||||
| "levée." | ||||||
|
|
||||||
| #: library/dataclasses.rst:191 | ||||||
| msgid "" | ||||||
|
|
@@ -373,19 +383,18 @@ msgstr "" | |||||
| "`field` à la place de la valeur par défaut, comme dans cet exemple :" | ||||||
|
|
||||||
| #: library/dataclasses.rst:223 | ||||||
| #, fuzzy | ||||||
| msgid "" | ||||||
| "As shown above, the :const:`MISSING` value is a sentinel object used to " | ||||||
| "detect if some parameters are provided by the user. This sentinel is used " | ||||||
| "because ``None`` is a valid value for some parameters with a distinct " | ||||||
| "meaning. No code should directly use the :const:`MISSING` value." | ||||||
| msgstr "" | ||||||
| "Comme le montre la signature, la valeur ``MISSING`` est une valeur " | ||||||
| "sentinelle. Elle permet de déterminer si les paramètres ``default`` et " | ||||||
| "``default_factory`` ont été passés explicitement ou non. ``None`` ne " | ||||||
| "conviendrait pas puisque c'est une valeur possible pour ``default``. La " | ||||||
| "sentinelle ``MISSING`` est interne au module et ne doit pas être utilisée " | ||||||
| "dans vos programmes." | ||||||
| "Comme le montre la signature, la constante :const:`MISSING` est une valeur " | ||||||
| "sentinelle pour déterminer si des paramètres ont été fournis par " | ||||||
| "l'utilisateur. ``None`` ne conviendrait pas puisque c'est une valeur avec un " | ||||||
| "sens qui peut être différent pour certains paramètres. La sentinelle :const:" | ||||||
| "`MISSING` est interne au module et ne doit pas être utilisée dans vos " | ||||||
| "programmes." | ||||||
|
|
||||||
| #: library/dataclasses.rst:228 | ||||||
| msgid "The parameters to :func:`field` are:" | ||||||
|
|
@@ -489,6 +498,9 @@ msgid "" | |||||
| "``kw_only``: If true, this field will be marked as keyword-only. This is " | ||||||
| "used when the generated :meth:`__init__` method's parameters are computed." | ||||||
| msgstr "" | ||||||
| "``kw_only`` : Si vrai ce champ sera marqué comme exclusivement nommé. Cela " | ||||||
lythari marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| "est utilisé lors du traitement des paramètres de la méthode :meth:`__init__` " | ||||||
| "générée." | ||||||
|
|
||||||
| #: library/dataclasses.rst:277 | ||||||
| msgid "" | ||||||
|
|
@@ -532,22 +544,21 @@ msgstr "" | |||||
|
|
||||||
| #: library/dataclasses.rst:304 | ||||||
| msgid "``name``: The name of the field." | ||||||
| msgstr "*name* : le nom du champ ;" | ||||||
| msgstr "*name* : le nom du champ ;" | ||||||
|
||||||
| msgstr "*name* : le nom du champ ;" | |
| msgstr "*name* : le nom du champ ;" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem espaces insécables précédents
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| msgstr "*type* : le type associé au champ par l'annotation ;" | |
| msgstr "*type* : le type associé au champ par l'annotation ;" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm ce serait pas plutot:
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dans les autres modules ils remettent plutôt le nom de l'objet/classe qu'un banal "Contenu du modèle". A débattre.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moi les deux me vont.