Skip to content

Working on abc#263

Merged
JulienPalard merged 3 commits into
python:3.7from
tburette:abc.po
Jul 27, 2018
Merged

Working on abc#263
JulienPalard merged 3 commits into
python:3.7from
tburette:abc.po

Conversation

@tburette

Copy link
Copy Markdown
Contributor

Closes #230

@christopheNan christopheNan left a comment

Copy link
Copy Markdown
Contributor

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".

Comment thread library/abc.po Outdated
"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 "

Copy link
Copy Markdown
Contributor

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> "

Comment thread 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 "

Copy link
Copy Markdown
Contributor

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

Comment thread library/abc.po Outdated
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 "

Copy link
Copy Markdown
Contributor

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.

Comment thread 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-"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/fournie/fournit/

Comment thread library/abc.po Outdated
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:"

Copy link
Copy Markdown
Contributor

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.

Comment thread library/abc.po Outdated
"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 "

Copy link
Copy Markdown
Contributor

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/

Comment thread library/abc.po Outdated
"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 "

Copy link
Copy Markdown
Contributor

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/

Comment thread 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 :"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/fourni/fournit/

Comment thread 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."

Copy link
Copy Markdown
Contributor

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)

Comment thread library/abc.po Outdated
"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 "

Copy link
Copy Markdown
Contributor

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

tburette commented Jul 13, 2018

Copy link
Copy Markdown
Contributor Author

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,...)
Comment thread 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 fournit une interface "
"spécifique. Par exemple, est-elle hachable ou un tableau associatif "
"( *mapping* )."

Copy link
Copy Markdown
Contributor

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

Comment thread 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 : ::"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

s/usage/utilisation/ ?

Comment thread 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."

Copy link
Copy Markdown
Contributor

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/

@JulienPalard JulienPalard merged commit a6910ac into python:3.7 Jul 27, 2018
JulienPalard pushed a commit that referenced this pull request Jan 2, 2024
Révision d'un fuzzy, qui n'en était pas vraiment un...

Closes #262

Reviewed-on: https://git.afpy.org/AFPy/python-docs-fr/pulls/263
Reviewed-by: Christophe Nanteuil <christophenan@noreply.localhost>
Co-authored-by: Loc Cosnier <loc.cosnier@pm.me>
Co-committed-by: Loc Cosnier <loc.cosnier@pm.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants