-
-
Notifications
You must be signed in to change notification settings - Fork 259
Traduction des premières lignes du lib random #456
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 all commits
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,18 +6,18 @@ msgstr "" | |||||
| "Project-Id-Version: Python 3.6\n" | ||||||
| "Report-Msgid-Bugs-To: \n" | ||||||
| "POT-Creation-Date: 2017-05-27 19:40+0200\n" | ||||||
| "PO-Revision-Date: 2017-05-27 14:03+0200\n" | ||||||
| "PO-Revision-Date: 2018-12-06 22:18+0100\n" | ||||||
| "Last-Translator: Julien Palard <julien@palard.fr>\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 1.8.11\n" | ||||||
| "X-Generator: Poedit 2.2\n" | ||||||
|
|
||||||
| #: ../Doc/library/random.rst:2 | ||||||
| msgid ":mod:`random` --- Generate pseudo-random numbers" | ||||||
| msgstr "" | ||||||
| msgstr ":mod:`random` --- Génère des nombres pseudo-aléatoires" | ||||||
|
|
||||||
| #: ../Doc/library/random.rst:7 | ||||||
| msgid "**Source code:** :source:`Lib/random.py`" | ||||||
|
|
@@ -28,6 +28,8 @@ msgid "" | |||||
| "This module implements pseudo-random number generators for various " | ||||||
| "distributions." | ||||||
| msgstr "" | ||||||
| "Ce module implémente des générateurs de nombres pseudo-aléatoires pour " | ||||||
| "différentes distributions." | ||||||
|
|
||||||
| #: ../Doc/library/random.rst:14 | ||||||
| msgid "" | ||||||
|
|
@@ -36,13 +38,21 @@ msgid "" | |||||
| "permutation of a list in-place, and a function for random sampling without " | ||||||
| "replacement." | ||||||
| msgstr "" | ||||||
| "Pour les entiers, il y a une sélection uniforme à partir d'une plage. Pour " | ||||||
| "les séquences, il existe une sélection uniforme d'un élément aléatoire, une " | ||||||
| "fonction pour générer une permutation aléatoire d'une liste sur place et une " | ||||||
| "fonction pour un échantillonnage aléatoire sans remplacement." | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Le "pour un échantillonnage" me semble bizarre... Peut-être à remplacer par "une fonction d'échantillonage" ou "une fonction pour échantilloner".
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pas d'avis pour l'instant, on verra sur l'autre PR |
||||||
|
|
||||||
| #: ../Doc/library/random.rst:19 | ||||||
| msgid "" | ||||||
| "On the real line, there are functions to compute uniform, normal (Gaussian), " | ||||||
| "lognormal, negative exponential, gamma, and beta distributions. For " | ||||||
| "generating distributions of angles, the von Mises distribution is available." | ||||||
| msgstr "" | ||||||
| "Sur la ligne réelle, il y a des fonctions pour calculer des distributions " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. L'ensemble des réels (je n'ai jamais entendu la ligne réelle en français).
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On en a parlé recemment avec @JulienPalard et @deronnax si je me trompe pas ;) Si ils ont la conversation sous le coude
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done. Perso ça ne me dit rien. |
||||||
| "uniformes, normales (gaussiennes), log-normales, exponentielles négatives, " | ||||||
| "gamma et bêta. Pour générer des distributions d'angles, la distribution de " | ||||||
| "*von Mises* est disponible." | ||||||
|
|
||||||
| #: ../Doc/library/random.rst:23 | ||||||
| msgid "" | ||||||
|
|
@@ -55,13 +65,26 @@ msgid "" | |||||
| "However, being completely deterministic, it is not suitable for all " | ||||||
| "purposes, and is completely unsuitable for cryptographic purposes." | ||||||
| msgstr "" | ||||||
| "Presque toutes les fonctions du module dépendent de la fonction de base :" | ||||||
| "func:`.random`, qui génère un flotteur aléatoire de façon uniforme dans la " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
ou simplement "un flottant"
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
| "plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
| "générateur de noyau. Il produit des flotteurs de précision de 53 bits et a " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
| "une période de 2\\*\\*\\*19937-1. L'implémentation sous-jacente en C est à " | ||||||
| "la fois rapide et *threadsafe*. Le Twister de Mersenne est l'un des " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. edit. Je remplace par *Mersene Twister*, c'est comme ça que le dénomme le Wikipédia français |
||||||
| "générateurs de nombres aléatoires les plus largement testés qui existent. " | ||||||
| "Cependant, étant complètement déterministe, il n'est pas adapté à tous les " | ||||||
| "usages et est totalement inadapté à des fins cryptographiques." | ||||||
|
|
||||||
| #: ../Doc/library/random.rst:32 | ||||||
| msgid "" | ||||||
| "The functions supplied by this module are actually bound methods of a hidden " | ||||||
| "instance of the :class:`random.Random` class. You can instantiate your own " | ||||||
| "instances of :class:`Random` to get generators that don't share state." | ||||||
| msgstr "" | ||||||
| "Les fonctions fournies par ce module sont réellement dépendant de méthodes " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
| "d’une instance cachée de la classe :class:`randon.random`. Vous pouvez " | ||||||
| "créer vos propres instances de :class:`Random` pour obtenir des générateurs " | ||||||
| "qui ne partagent pas état." | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
ou "sans état partagé"
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
|
|
||||||
| #: ../Doc/library/random.rst:36 | ||||||
| msgid "" | ||||||
|
|
@@ -72,6 +95,13 @@ msgid "" | |||||
| "`~Random.getrandbits` method --- this allows :meth:`randrange` to produce " | ||||||
| "selections over an arbitrarily large range." | ||||||
| msgstr "" | ||||||
| "La classe :class:`Random` peut également être sous-classé si vous voulez " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
| "utiliser un générateur de base différent de votre propre conception : dans " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Sinon le sens de la phrase change.
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done. Bien vu 👍 |
||||||
| "ce cas, remplacez les méthodes :meth:`~Random.random`, :meth:`~Random." | ||||||
| "seed`, :meth:`~Random.gettate`, et :meth:`~Random.setstate`. En option, un " | ||||||
| "nouveau générateur peut fournir une méthode :meth:`~Random.getrandbits` --- " | ||||||
| "ce qui permet :meth:`randrange` de produire des sélections sur une plage " | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
| "arbitrairement large." | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||||||
|
|
||||||
| #: ../Doc/library/random.rst:42 | ||||||
| msgid "" | ||||||
|
|
||||||
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.
comme dans la ligne suivante
Mais je trouve le tout assez lourd, à voir pour remplacer le tout par un "est disponible... sont disponibles".
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.
done, pas remplacé par "est disponible"