- Notifications
You must be signed in to change notification settings - Fork266
Collections#305
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Collections#305
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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 commentaires faits se répètent sur le reste de la traduction.
library/collections.po Outdated
#: ../Doc/library/collections.rst:32 | ||
msgid ":class:`UserList`" | ||
msgstr ":class:`UserList`" | ||
#: ../Doc/library/collections.rst:32 | ||
msgid "wrapper around list objects for easier list subclassing" | ||
msgstr "" | ||
msgstr "enrobeur autour des objets listes pour faciliter l'héritage de list" |
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.
surcouche ?
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.
Encapsulation (valable pour les précédent/suivant aussi) ?
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.
J'ai opté pour surcouche
library/collections.po Outdated
@@ -84,14 +97,15 @@ msgstr ":class:`UserDict`" | |||
#: ../Doc/library/collections.rst:31 | |||
msgid "wrapper around dictionary objects for easier dict subclassing" | |||
msgstr "" | |||
"enrobeur autour des objets dictionnaires pour faciliter l'héritage de dict" |
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.
Tu peux mettre dict entre double backticks, comme ça :
``dict``
ça montre que c'est du code.
library/collections.po Outdated
@@ -132,33 +158,50 @@ msgid "" | |||
"empty dictionary is provided so that a new chain always has at least one " | |||
"mapping." | |||
msgstr "" | |||
"Un objet :class:`ChainMap` regroupe plusieurs dictionnaires ou autres " | |||
"tableaux de correspondance (*mappings*) en une vue que l'on peut mettre à " | |||
"jour. Si l'on ne pas de *maps*, un dictionnaire vide est fourni de telle " |
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.
s/Si l'on ne pas de/Si le paramètremaps est vide/
library/collections.po Outdated
#: ../Doc/library/collections.rst:59 | ||
msgid "" | ||
"The underlying mappings are stored in a list. That list is public and can " | ||
"be accessed or updated using the *maps* attribute. There is no other state." | ||
msgstr "" | ||
"Les *mappings* sous-jacentes sont stockées dans une liste. Celle-ci est " |
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.
tu peut probablement traduire mappings par dictionnaires. Ils disent mapping pour pas dire dict, pour faire la séparation entre le type et le protocole. Dictionnaire en francais n'est pas le type, donc je pense qu'il convient pour décrire l'idée, si on fait un peu le raccourci idée → protocole.
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.
D'accord pour écrire dictionnaire au lieu de mapping, ça permet d'éviter le terme "tableau de correspondance" qui est un peu lourd
library/collections.po Outdated
@@ -44,6 +49,8 @@ msgstr ":class:`deque`" | |||
#: ../Doc/library/collections.rst:26 | |||
msgid "list-like container with fast appends and pops on either end" | |||
msgstr "" | |||
"conteneur se comportant comme une liste avec des ajouts et *pop* rapides à " |
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.
s/pop/retraits ?
library/collections.po Outdated
@@ -52,14 +59,16 @@ msgstr ":class:`ChainMap`" | |||
#: ../Doc/library/collections.rst:27 | |||
msgid "dict-like class for creating a single view of multiple mappings" | |||
msgstr "" | |||
"classe semblable aux dictionnaires qui crée une unique vue à partir de " | |||
"plusieurs tableaux de correspondance" |
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.
s/tableaux de correspondance/dictionnaires/ ?
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.
Gros travail effectué ! Merci.
library/collections.po Outdated
@@ -44,6 +49,8 @@ msgstr ":class:`deque`" | |||
#: ../Doc/library/collections.rst:26 | |||
msgid "list-like container with fast appends and pops on either end" | |||
msgstr "" | |||
"conteneur se comportant comme une liste avec des ajouts et *pop* rapides à " |
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.
s/pop/retraits/ ?
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.
J'ai opté pour "éjection", je ne sais pas quel terme est plus adapté
christopheNanSep 30, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
Je pense qu'il faut trouver un mélange entre levocabulaire des files etcelui des des piles
library/collections.po Outdated
#: ../Doc/library/collections.rst:28 | ||
msgid ":class:`Counter`" | ||
msgstr ":class:`Counter`" | ||
#: ../Doc/library/collections.rst:28 | ||
msgid "dict subclass for counting hashable objects" | ||
msgstr "" | ||
msgstr "sous-classe de dictionnaire pour compter les objets hachables" |
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.
s/les/des/ ?
library/collections.po Outdated
@@ -76,6 +87,8 @@ msgstr ":class:`defaultdict`" | |||
#: ../Doc/library/collections.rst:30 | |||
msgid "dict subclass that calls a factory function to supply missing values" | |||
msgstr "" | |||
"sous-classe de dictionnaire qui appelle une fonction de fabrication 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.
s/pour fournir .../en cas de valeur manquante/
library/collections.po Outdated
#: ../Doc/library/collections.rst:32 | ||
msgid ":class:`UserList`" | ||
msgstr ":class:`UserList`" | ||
#: ../Doc/library/collections.rst:32 | ||
msgid "wrapper around list objects for easier list subclassing" | ||
msgstr "" | ||
msgstr "enrobeur autour des objets listes pour faciliter l'héritage de list" |
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.
Encapsulation (valable pour les précédent/suivant aussi) ?
library/collections.po Outdated
@@ -119,11 +139,17 @@ msgid "" | |||
"than creating a new dictionary and running multiple :meth:`~dict.update` " | |||
"calls." | |||
msgstr "" | |||
"Le module fournit une classe :class:`ChainMap` afin de réunir rapidement un " | |||
"certain nombre de tableaux de correspondance en une unique entité. Cela est " |
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.
s/un certain nombre/plusieurs/ ?
library/collections.po Outdated
msgid "Reverse the elements of the deque in-place and then return ``None``." | ||
msgstr "" | ||
"Inverse le sens des éléments de la *deque* en les remplaçant et retourne " |
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.
Inverse l'ordre des éléments de ladeque (sans créer de copie) et renvoie None ?
library/collections.po Outdated
msgid "" | ||
"When the deque is not empty, rotating one step to the right is equivalent to " | ||
"``d.appendleft(d.pop())``, and rotating one step to the left is equivalent " | ||
"to ``d.append(d.popleft())``." | ||
msgstr "" | ||
"Quand la *deque* n'est pas vide, décaler d'une place ves la droite est " |
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.
s/décaler/un décalage/ ?
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.
s/ves/vers/
Le verbe "est" est en trop.
library/collections.po Outdated
msgid "" | ||
"In addition to the above, deques support iteration, pickling, ``len(d)``, " | ||
"``reversed(d)``, ``copy.copy(d)``, ``copy.deepcopy(d)``, membership testing " | ||
"with the :keyword:`in` operator, and subscript references such as " | ||
"``d[-1]``. Indexed access is O(1) at both ends but slows to O(n) in the " | ||
"middle. For fast random access, use lists instead." | ||
msgstr "" | ||
"En plus des méthodes précédentes, les *deques* gèrent l'itération, le " | ||
"*pickling*, ``len(d)``, ``reversed(d)``, ``copy.copy(d)``, ``copy." |
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.
pickling : la sérialisation ?
library/collections.po Outdated
"En plus des méthodes précédentes, les *deques* gèrent l'itération, le " | ||
"*pickling*, ``len(d)``, ``reversed(d)``, ``copy.copy(d)``, ``copy." | ||
"deepcopy(d)``, le test d'appartenance avec l'opérateur :keyword:`in`, et les " | ||
"références en indice comme ``d[-1]``. L'accès par index est en O(1) aux " |
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.
s/index/indice/
library/collections.po Outdated
msgid "" | ||
"Bounded length deques provide functionality similar to the ``tail`` filter " | ||
"in Unix::" | ||
msgstr "" | ||
"Les *deques* à taille limitée apportent une fonctionnalité similaire au " | ||
"filitre ``tail`` d'Unix : ::" |
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.
filtre
Traduction terminée, je me penche maintenant sur vos remarques. (Je viens de les voir !) |
@Arkelis Travis a trouvé des fautes d'orthographe aussi : Généralement c'est des lettres qui manque, pour "-uplets" si c'est "3-uplet" tu peux traduire par triplet etc, (c.f. article wikipedia sur n-uplet qui en liste 5), pour les types du langage (dict, list) tu peux les mettre entre double backtick, ça fait "code", ce qui est vrai. |
Arkelis commentedSep 30, 2018 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Je viens de réussir à utiliser pospell :) il fallait que j'indique |
library/collections.po Outdated
"selon l'ordre de recherche. Il s'agit de l'unique état stocké et peut être " | ||
"modifié pour changer l'ordre de recherche. La liste doit toujours contenir " | ||
"au moins un dictionnaire." | ||
"Liste de dictionnaires éditable par l'utilisateur et ordonnée selon l'ordre " |
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.
s/ordonnée/classée/ pour éviter la répétition avec ordre de recherche.
library/collections.po Outdated
"modifié pour changer l'ordre de recherche. La liste doit toujours contenir " | ||
"au moins un dictionnaire." | ||
"Liste de dictionnaires éditable par l'utilisateur et ordonnée selon l'ordre " | ||
"de recherche. Il s'agit de l'unique état stocké et elle peut être modifié " |
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.
s/modifié/modifiée/
library/collections.po Outdated
@@ -806,11 +811,11 @@ msgid "" | |||
"``d[-1]``. Indexed access is O(1) at both ends but slows to O(n) in the " | |||
"middle. For fast random access, use lists instead." | |||
msgstr "" | |||
"En plus des méthodes précédentes, les *deques* gèrent l'itération, le " | |||
"*pickling*, ``len(d)``, ``reversed(d)``, ``copy.copy(d)``, ``copy." | |||
"En plus des méthodes précédentes, les *deques* gèrent l'itération, lé " |
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.
s/lé/la/
Hunspell ne reconnait pas les mots "multiensemble" et "réimplémenter". Pour "dèque", c'est pour indiquer la prononciation dedeque, comment résoudre ce problème ? |
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.
Très bonne contribution en quantité et qualité (juste des remarques mineures).
Merci beaucoup !
library/collections.po Outdated
"que celle-ci est atteinte, un ajout d'un ou plusieurs éléments engendrera la " | ||
"suppression du nombre correspondant d'éléments à l'autre extrémité de la *deque*. Les " | ||
"*deques* à longueur limitée apportent des fonctionnalités similaire au filtre ``tail`` " | ||
"d'Unix. Elles sont aussi utile pour le suivi de transactions et autres lots de données " |
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.
s/utile/utiles/
library/collections.po Outdated
msgstr "" | ||
"La méthode :meth:`~deque.rotate` apporte une façon d'implémenter le *slicing* et les " |
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 slicing : la sélection d'un intervalle (slicing en anglais)
library/collections.po Outdated
"Pour implémenter le *slicing* pour les :class:`deques <deque>`, il est possible " | ||
"d'utiliser une approche similaire en appliquant :meth:`~deque.rotate` pour apporter un " | ||
"élément cible à l'extrémité gauche de la *deque*. On éjecte les anciennes entrées avec :" | ||
"meth:`~deque.popleft` et ajouter les nouvelles avec :meth:`~deque.extend`, puis on " |
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.
s/et ajouter/, on ajoute/
library/collections.po Outdated
msgstr "" | ||
"Renvoie un nouvel objet qui se comporte comme un dictionnaire. :class:`defaultdic` est " | ||
"une sous-classe de la la classe native :class:`dict`. Elle surcharge une méthode et " | ||
"ajoute une variable d'instance inscriptible. Les autres fonctionnalités sont les même " |
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.
s/inscriptible/accessible en lecture-écriture/ ?
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.
"modifiable" ?
library/collections.po Outdated
msgstr "" | ||
"Renvoie un nouvel objet qui se comporte comme un dictionnaire. :class:`defaultdic` est " | ||
"une sous-classe de la la classe native :class:`dict`. Elle surcharge une méthode et " | ||
"ajoute une variable d'instance inscriptible. Les autres fonctionnalités sont les même " |
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.
s/même/mêmes que/
library/collections.po Outdated
msgid "" | ||
"Retur |
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.
s/le tri/un classement/ (pour les puristes)
library/collections.po Outdated
msgid "" | ||
"Retur |
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.
s/ordre de tri/classement/
library/collections.po Outdated
msgid "" | ||
"Retur |
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 classement est perdu.
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.
et s/t/et/
library/collections.po Outdated
msgid "" | ||
"Retur |
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.
futur inutile à mon avis.
library/collections.po Outdated
msgid "" | ||
"Retur |
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.
s/supporter/gérer/
Travis a trouvé quelques erreurs :
Pour Pour multiensembles tu peux l'ajouter au fichier dict (https://fr.wikipedia.org/wiki/Multiensemble) |
👍 |
Super ! Merci pour vos relectures :) |
La traduction n'est pas encore terminée, mais je mets à disposition ce qui été fait pour relecture