-
- Notifications
You must be signed in to change notification settings - Fork 264
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
Conversation
| "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 " |
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.
| "Pour les entiers, il y a une sélection uniforme à partir d'une plage. Pour " | |
| "Pour les entiers, il existe une sélection uniforme à partir d'une plage. Pour " |
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"
| "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 comment
The 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".
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.
pas d'avis pour l'instant, on verra sur l'autre PR
| "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 comment
The 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).
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.
On en a parlé recemment avec @JulienPalard et @deronnax si je me trompe pas ;) Si ils ont la conversation sous le coude
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. Perso ça ne me dit rien.
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "func:`.random`, qui génère un flotteur aléatoire de façon uniforme dans la " | |
| "func:`.random`, qui génère un nombre à virgule flottante aléatoire de façon uniforme dans la " |
ou simplement "un flottant"
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
| 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 " | ||
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme " | |
| "plage semi-ouverte [0.0, 1.0). Python utilise l'algorithme de Mersenne–Twister comme " |
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
| "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 " | ||
| "plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme " | ||
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "générateur de noyau. Il produit des flotteurs de précision de 53 bits et a " | |
| "générateur de noyau. Il produit des flottants de précision de 53 bits et a " |
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
| "plage semi-ouverte[0.0, 1.0]. Python utilise le Twister de Mersenne comme " | ||
| "générateur de noyau. Il produit des flotteurs de précision de 53 bits et a " | ||
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "la fois rapide et *threadsafe*. Le Twister de Mersenne est l'un des " | |
| "la fois rapide et *threadsafe*. Mersenne–Twister est l'un des " |
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.
edit. Je remplace par *Mersene Twister*, c'est comme ça que le dénomme le Wikipédia français
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "Les fonctions fournies par ce module sont réellement dépendant de méthodes " | |
| "Les fonctions fournies par ce module dépendent en réalité de méthodes " |
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
| "Les fonctions fournies par ce module sont réellement dépendant de méthodes " | ||
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "qui ne partagent pas état." | |
| "indépendants." |
ou "sans état partagé"
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
| "`~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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "La classe :class:`Random` peut également être sous-classé si vous voulez " | |
| "La classe :class:`Random` peut également être sous-classée si vous voulez " |
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
| "selections over an arbitrarily large range." | ||
| msgstr "" | ||
| "La classe :class:`Random` peut également être sous-classé si vous voulez " | ||
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "utiliser un générateur de base différent de votre propre conception : dans " | |
| "utiliser un générateur de base différent, de votre propre conception : dans " |
Sinon le sens de la phrase change.
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. Bien vu 👍
| "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 " | ||
| "arbitrairement large." |
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.
| "arbitrairement large." | |
| "de taille arbitraire." |
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
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
| "ce qui permet :meth:`randrange` de produire des sélections sur une plage " | |
| "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 comment
The reason will be displayed to describe this comment to others. Learn more.
done
| bon vu qu'il débutait grave en trad et github, je pense pas qu'il reviendra intégrer ses changement, je vais reprendre sa PR (mais un peu plus tard, vers Noël) |
| hop, c'est repris dans la #544. (1 mois plus tard, 3 semaines après Noël, merci, merci, de rien) |
| repris dans la #544. |
No description provided.