Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
JulienPalard merged 15 commits intopython:3.7fromArkelis:collections
Oct 5, 2018
Merged

Collections#305

JulienPalard merged 15 commits intopython:3.7fromArkelis:collections
Oct 5, 2018

Conversation

Arkelis
Copy link
Contributor

La traduction n'est pas encore terminée, mais je mets à disposition ce qui été fait pour relecture

Copy link
Member

@JulienPalardJulienPalard left a 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.


#: ../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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

surcouche ?

Copy link
Contributor

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) ?

Copy link
ContributorAuthor

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

@@ -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"
Copy link
Member

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.

@@ -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 "
Copy link
Member

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/


#: ../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 "
Copy link
Member

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.

Copy link
ContributorAuthor

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

@@ -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 à "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/pop/retraits ?

@@ -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"
Copy link
Member

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/ ?

Copy link
Contributor

@christopheNanchristopheNan left a 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.

@@ -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 à "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/pop/retraits/ ?

Copy link
ContributorAuthor

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é

Copy link
Contributor

@christopheNanchristopheNanSep 30, 2018
edited
Loading

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


#: ../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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/les/des/ ?

@@ -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 "
Copy link
Contributor

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/


#: ../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"
Copy link
Contributor

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) ?

@@ -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 "
Copy link
Contributor

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/ ?

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 "
Copy link
Contributor

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 ?

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 "
Copy link
Contributor

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/ ?

Copy link
Contributor

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.

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."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

pickling : la sérialisation ?

"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 "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/index/indice/

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 : ::"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

filtre

@Arkelis
Copy link
ContributorAuthor

Traduction terminée, je me penche maintenant sur vos remarques. (Je viens de les voir !)

@JulienPalard
Copy link
Member

@Arkelis Travis a trouvé des fautes d'orthographe aussi :
library/collections.po:99:dict
library/collections.po:108:list
library/collections.po:197:attrbiut
library/collections.po:241:fontion
library/collections.po:361:multiensembles
library/collections.po:433:intérable
library/collections.po:476:multiensembles
library/collections.po:505:multiensembles.
library/collections.po:558:multiensembles
library/collections.po:594:tutoriaux
library/collections.po:602:multiensembles
library/collections.po:612:multiensembles
library/collections.po:635:dèque
library/collections.po:635:l'abbréviation
library/collections.po:635:double-ended
library/collections.po:635:deques
library/collections.po:635:deque
library/collections.po:783:ves
library/collections.po:838:filitre
library/collections.po:903:méthde
library/collections.po:1033:multiensembles
library/collections.po:1043:recontrée
library/collections.po:1055:foncitons
library/collections.po:1075:-uplets
library/collections.po:1289:d'isntance.
library/collections.po:1299:nouveaut
library/collections.po:1389:dicitonnaires
library/collections.po:1530:oprérations
library/collections.po:1617:réimplémentées.

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
Copy link
ContributorAuthor

Arkelis commentedSep 30, 2018
edited
Loading

Je viens de réussir à utiliser pospell :) il fallait que j'indiquefr_FR comme langue,fr donnait une erreur.
Pour-uplets, c'est parce que j'ai marqué une fois*n*-uplets.

"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 "
Copy link
Contributor

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.

"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é "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/modifié/modifiée/

@@ -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é "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/lé/la/

@Arkelis
Copy link
ContributorAuthor

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 ?

Copy link
Contributor

@christopheNanchristopheNan left a 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 !

"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 "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/utile/utiles/

msgstr ""
"La méthode :meth:`~deque.rotate` apporte une façon d'implémenter le *slicing* et les "
Copy link
Contributor

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)

"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 "
Copy link
Contributor

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/

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 "
Copy link
Contributor

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/ ?

Copy link
ContributorAuthor

@ArkelisArkelisOct 4, 2018
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

"modifiable" ?

christopheNan reacted with thumbs up emoji
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 "
Copy link
Contributor

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/

msgid ""
"Retur
Copy link
Contributor

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)

msgid ""
"Retur
Copy link
Contributor

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/

msgid ""
"Retur
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

le classement est perdu.

Copy link
ContributorAuthor

@ArkelisArkelisOct 4, 2018
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

et s/t/et/

msgid ""
"Retur
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

futur inutile à mon avis.

msgid ""
"Retur
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

s/supporter/gérer/

@JulienPalard
Copy link
Member

Travis a trouvé quelques erreurs :

library/collections.po:335:multiensembleslibrary/collections.po:442:multiensembleslibrary/collections.po:468:multiensembles.library/collections.po:518:multiensembleslibrary/collections.po:562:multiensembleslibrary/collections.po:570:multiensembleslibrary/collections.po:591:dèquelibrary/collections.po:1001:-upletslibrary/collections.po:1505:réimplémentées.

Pour*n*-uplets (tuples) tu peux soit mettre*n-uplets* (tuples), soit carrément*tuples*.

Pourdeque tu peux probablement traduire*deque*, je doute quedèque soit légitime :deque est l'abbréviation dedouble ended queue.

multiensembles tu peux l'ajouter au fichier dict (https://fr.wikipedia.org/wiki/Multiensemble)

@JulienPalardJulienPalard merged commitd4a0d02 intopython:3.7Oct 5, 2018
@JulienPalard
Copy link
Member

👍

@Arkelis
Copy link
ContributorAuthor

Super ! Merci pour vos relectures :)

@ArkelisArkelis deleted the collections branchOctober 8, 2018 22:18
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JulienPalardJulienPalardJulienPalard requested changes

@christopheNanchristopheNanchristopheNan requested changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Arkelis@JulienPalard@christopheNan

[8]ページ先頭

©2009-2025 Movatter.jp