- Notifications
You must be signed in to change notification settings - Fork266
Working on abc#263
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
Working on abc#263
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.
Il a été décidé que PEP est féminin. Merci de mettre "la PEP" partout.
Il est peut-être possible de remplacer "classe de base abstraite" par l’abréviation "ABC" en l'indiquant en début de page (après l'introduction du concept) : "Par la suite, nous utiliserons l’abréviation ABC pour désigner une classe de base abstraite".
library/abc.po Outdated
@@ -29,6 +30,12 @@ msgid "" | |||
"see the PEP for why this was added to Python. (See also :pep:`3141` and the :" | |||
"mod:`numbers` module regarding a type hierarchy for numbers based on ABCs.)" | |||
msgstr "" | |||
"Le module fournit l'infrastructure pour définir :term:`abstract base classes " |
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 que l'on peut mettre le terme français pour être sûr que le renvoi s'affiche correctement dans la phrase (indépendamment de la manière dont la traduction est/sera faite dans le fichier pointé) : "définir les :term:classes de bases abstraites <abstract base class>
"
library/abc.po Outdated
"<abstract base class>` ( *Abstract Base Class* ou *ABC* en anglais ) en " | ||
"Python, tel qu'indiqué dans :pep:`3119`; voir le PEP pour la raison de son " | ||
"ajout à Python. (Voir également :pep:`3141` et le module :mod:`numbers` pour " | ||
"ce qui concerne la hiérarchie de type pour les nombres basé sur les classes " |
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.
hiérarchie de types : il y en a plusieurs
nombres basés : il y en a plusieurs
library/abc.po Outdated
@@ -38,19 +45,32 @@ msgid "" | |||
"class or instance provides a particular interface, for example, is it " | |||
"hashable or a mapping." | |||
msgstr "" | |||
"Le module :mod:`collections` possède certains classes concrètes qui dérivent " | |||
"des classes de base abstraites. Celles-ci peuvent, bien sur, être elles-" | |||
"mêmes héritées. De plus; le sous-module :mod:`collections.abc` possède 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.
je dirais "être dérivées" plutôt "qu'héritées" dans cette direction.
library/abc.po Outdated
"des classes de base abstraites. Celles-ci peuvent, bien sur, être elles-" | ||
"mêmes héritées. De plus; le sous-module :mod:`collections.abc` possède des " | ||
"classes de base abstraites qui peuvent être utilisées pour tester si une " | ||
"classe ou une instance fournie une interface spécifique. Par exemple, 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/fournie/fournit/
library/abc.po Outdated
#: ../Doc/library/abc.rst:27 | ||
msgid "" | ||
"This module provides the metaclass :class:`ABCMeta` for defining ABCs and a " | ||
"helper class :class:`ABC` to alternatively define ABCs through inheritance:" | ||
msgstr "" | ||
"Ce module fournit la métaclasse :class:`ABCMeta` pour définir les classes de " | ||
"base abstraites et la classe d'aide :class:`ABC` qui permet de définir des " | ||
"classes de base abstraites via l'héritage:" |
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.
il manque une espace insécable avant le deux-points (remarque valable plusieurs fois dans le fichier).
je mettrais via entre * car c'est un mot étranger.
library/abc.po Outdated
#: ../Doc/library/abc.rst:303 | ||
msgid "" | ||
"The above example defines a read-only property; you can also define a read-" | ||
"write abstract property by appropriately marking one or more of the " | ||
"underlying methods as abstract::" | ||
msgstr "" | ||
"L'exemple ci-dessus défini une propriété en lecture seule. Vous pouvez " |
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éfini/définit/
library/abc.po Outdated
#: ../Doc/library/abc.rst:317 | ||
msgid "" | ||
"If only some components are abstract, only those components need to be " | ||
"updated to create a concrete property in a subclass::" | ||
msgstr "" | ||
"Si seuls certains composants sont abstraits, seuls ces composants abstraits " | ||
"ne nécessites d'être mis à jour pour créer une propriété concrète dans une " |
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/ne nécessites/nécessitent/
library/abc.po Outdated
#: ../Doc/library/abc.rst:326 | ||
msgid "The :mod:`abc` module also provides the following functions:" | ||
msgstr "" | ||
msgstr "Le module :mod:`abc` fourni également la fonction suivante :" |
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/fourni/fournit/
library/abc.po Outdated
"Le jeton est un objet opaque (qui implémente le test d'égalité) qui " | ||
"identifie la version actuelle du cache de la classe de base abstraite pour " | ||
"les sous-classes virtuelles. Le jeton change avec chaque appel à :meth:" | ||
"`ABCMeta.register` sur n'importe quel classe de base abstraite." |
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/quel/quelle/ (la classe)
library/abc.po Outdated
@@ -302,3 +442,5 @@ msgid "" | |||
"C++ programmers should note that Python's virtual base class concept is not " | |||
"the same as C++'s." | |||
msgstr "" | |||
"Les développeurs C++ doivent noter que le concept Python de classe de base " |
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/doivent noter/noteront/ ?
tburette commentedJul 13, 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.
Merci pour ces suggestions et corrections (j'aurais du relire pour l’orthographe au lieu de m'empresser de faire un pull request..). Je vais appliquer tout ça. |
…mistakes, non-breaking spaces before colon,...)
library/abc.po Outdated
"sous-module :mod:`collections.abc` possède des ABC qui peuvent être " | ||
"utilisées pour tester si une classe ou une instance fournitune interface " | ||
"spécifique. Par exemple, est-elle hachable ou un tableau associatif" | ||
"( *mapping* )." |
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.
Il faudrait un point d'interrogation (avec espace insécable avant).
library/abc.po Outdated
"class:`ABC` , ce qui permet d'éviter l'usage parfois déroutant de " | ||
"métaclasse, par exemple : ::" | ||
"une ABC peut être créée simplement en héritant de :class:`ABC` , ce qui " | ||
"permet d'éviter l'usage parfois déroutant de métaclasse, par exemple : ::" |
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/usage/utilisation/ ?
library/abc.po Outdated
"`get_iterator` fait également partie de la classe de base abstraite " | ||
"``MyIterable``, mais elle n'a pas à être redéfinie dans les classes dérivées " | ||
"non-abstraites." | ||
"L'ABC ``MyIterable`` définie la méthode d'itération :meth:`~iterator." |
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éfinie/définit/
Révision d'un fuzzy, qui n'en était pas vraiment un...Closes#262Reviewed-on:https://git.afpy.org/AFPy/python-docs-fr/pulls/263Reviewed-by: Christophe Nanteuil <christophenan@noreply.localhost>Co-authored-by: Loc Cosnier <loc.cosnier@pm.me>Co-committed-by: Loc Cosnier <loc.cosnier@pm.me>
Closes#230