Skip to content

Traduction de library/unittest.mock-examples#691

Merged
JulienPalard merged 18 commits into
python:3.8from
nicolas-roche:library-unittest.mock-examples
Dec 1, 2019
Merged

Traduction de library/unittest.mock-examples#691
JulienPalard merged 18 commits into
python:3.8from
nicolas-roche:library-unittest.mock-examples

Conversation

@nicolas-roche

@nicolas-roche nicolas-roche commented Apr 11, 2019

Copy link
Copy Markdown
Contributor

Closes #667

@nicolas-roche

Copy link
Copy Markdown
Contributor Author

Voilà un début de traduction seulement.
Peut-être qu'elle s'éloigne un peu du texte original,
mais j'espère qu'elle pourra vous inspirer un peu.
Merci.

Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated

@Seluj78 Seluj78 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

library/unittest.mock-examples.po:51:real.method
library/unittest.mock-examples.po:141:mock.
library/unittest.mock-examples.po:141:mock

pospell n'aime pas ces mots, pas dans le dictionnaire ;)

Comment thread library/unittest.mock-examples.po Outdated
#: ../Doc/library/unittest.mock-examples.rst:18
msgid "Common uses for :class:`Mock` objects include:"
msgstr ""
msgstr "Usage courant de :class:`Mock` :"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
msgstr "Usage courant de :class:`Mock` :"
msgstr "Usage courant de :class:`Mock` :"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Espace insécable ;)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

pas bien français de chez nous tout ça, mais bon je retire les espaces devant les ':'

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Comment ca ? on mets un espace insécable devant un : c'est la règle ;) 🤷‍♂️

Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
"call to the ``something`` method:"
msgstr ""
"Cet exemple teste que l'appel de la méthode ``something`` implique bien "
"celui de la méthode ``ProductionClass().method`` :"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"celui de la méthode ``ProductionClass().method`` :"
"celui de la méthode ``ProductionClass().method`` :"

Comment thread library/unittest.mock-examples.po Outdated
@nicolas-roche

Copy link
Copy Markdown
Contributor Author

On viens de me souffler que 'Singer' serait la meilleure traduction pour 'Mock' : cela permet de traduire également le jeux de mot 'Mock/Monky'. Du coup je l'ai fait apparaître dans le titre.

@Seluj78 Seluj78 added the NEED REVIEWER This PR needs a reviewer :) label Apr 17, 2019
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
"call to the ``something`` method:"
msgstr ""
"Cet exemple teste que l'appel de la méthode ``something`` implique bien "
"celui de la méthode ``ProductionClass().method``:"

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 comprends l'inverse : un appel à ProductionClass().method appelle bien 'something'.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

L'exemple va dans le sens de @christopheNan.

Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
@Seluj78

Seluj78 commented May 9, 2019

Copy link
Copy Markdown
Collaborator

@nicolas-roche ping ;)

@christopheNan

Copy link
Copy Markdown
Contributor

Il pourrait être intéressant de mettre le vocabulaire des mocks dans le glossaire du fichier README.rst

@JulienPalard JulienPalard added awaiting changes and removed NEED REVIEWER This PR needs a reviewer :) labels May 28, 2019
@Seluj78

Seluj78 commented May 31, 2019

Copy link
Copy Markdown
Collaborator

@nicolas-roche 🏓

Comment thread library/unittest.mock-examples.po Outdated
#: ../Doc/library/unittest.mock-examples.rst:16
msgid "Mock Patching Methods"
msgstr ""
msgstr "Émulation des méthodes"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

J'ai un doute sur émulation vs simulation, j'aurai mis simulation ici.
Selon le CNRTL :

Émuler : Analyser et exécuter sur un ordinateur, au moyen d'un émulateur, le jeu d'instructions défini pour un autre ordinateur

Simuler : Représenter artificiellement le fonctionnement réel d'un appareil, d'une machine, d'un système, d'un phénomène à l'aide d'une maquette ou d'un programme informatique. (Dict. xxes.).

Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
"call to the ``something`` method:"
msgstr ""
"Cet exemple teste que l'appel de la méthode ``something`` implique bien "
"celui de la méthode ``ProductionClass().method``:"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

L'exemple va dans le sens de @christopheNan.

Comment thread library/unittest.mock-examples.po Outdated
#: ../Doc/library/unittest.mock-examples.rst:62
msgid "Mock for Method Calls on an Object"
msgstr ""
msgstr "Modification s'appliquant aux appels de méthodes sur un objet"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Compliqué ici de traduire le sens qu'ils ont voulu fourrer dans ce blob de mots...

Je propose : S'assurer de la bonne utilisation d'un objet

Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
Comment thread library/unittest.mock-examples.po Outdated
@Seluj78

Seluj78 commented Oct 9, 2019

Copy link
Copy Markdown
Collaborator

@nicolas-roche ping ? 🏓

@nicolas-roche

nicolas-roche commented Oct 22, 2019 via email

Copy link
Copy Markdown
Contributor Author

@Seluj78

Seluj78 commented Nov 15, 2019

Copy link
Copy Markdown
Collaborator

Ca marche ! Hésite pas si tu veux que on la ferme, la mette en standby ou que on la reprenne !

@deronnax

Copy link
Copy Markdown
Collaborator

Hello @nicolas-roche . Peux-tu juste appliquer toutes les suggestions qui t'on été faites (le bouton "add suggestion")(nous ne pouvons pas le faire nous-même). On s'occupera du reste. Merci

@nicolas-roche

nicolas-roche commented Nov 30, 2019

Copy link
Copy Markdown
Contributor Author

Peux-tu juste appliquer toutes les suggestions qui t'on été faites

fait (commit suggestion), désolé je n'avais pas compris que je bloquai tout.
Merci pour votre patience !!

Nicolas ROCHE and others added 8 commits December 1, 2019 23:10
Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
Co-Authored-By: Jules Lasne (jlasne) <jlasne@student.42.fr>
Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
Co-Authored-By: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
nicolas-roche and others added 9 commits December 1, 2019 23:11
Co-Authored-By: Julien Palard <julien@palard.fr>
Co-Authored-By: Julien Palard <julien@palard.fr>
Co-Authored-By: Julien Palard <julien@palard.fr>
Co-Authored-By: Julien Palard <julien@palard.fr>
Co-Authored-By: Julien Palard <julien@palard.fr>
Co-Authored-By: Julien Palard <julien@palard.fr>
@JulienPalard JulienPalard force-pushed the library-unittest.mock-examples branch from 24e8cfc to ff4037d Compare December 1, 2019 22:22
@JulienPalard JulienPalard changed the base branch from 3.7 to 3.8 December 1, 2019 22:23
@JulienPalard

Copy link
Copy Markdown
Member

J'ai rebasé cette PR de la 3.7 à la 3.8 et appliqué quelques dernières corrections, si travis passe, je merge.

@JulienPalard JulienPalard dismissed stale reviews from christopheNan and Seluj78 December 1, 2019 22:25

J'ai fix :]

@JulienPalard JulienPalard reopened this Dec 1, 2019
@JulienPalard

Copy link
Copy Markdown
Member

(J'ai fermé et réouvert pour motiver Travis à démarrer)

@JulienPalard JulienPalard merged commit 7575f95 into python:3.8 Dec 1, 2019
@JulienPalard

Copy link
Copy Markdown
Member

Et hop c'est mergé ! Merci @nicolas-roche !

@nicolas-roche

nicolas-roche commented Dec 4, 2019 via email

Copy link
Copy Markdown
Contributor Author

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.

I'm working on library/unittest.mock-examples.po

5 participants