10000 Translate missing texts for howto/argparse by eregnier · Pull Request #77 · python/python-docs-fr · GitHub
[go: up one dir, main page]

Skip to content

Translate missing texts for howto/argparse #77

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 11, 2017
Merged

Translate missing texts for howto/argparse #77

merged 2 commits into from
Nov 11, 2017

Conversation

eregnier
Copy link
Contributor

Completed translation for argparse module as suggested on #python-fr irc channel.


#: ../Doc/howto/argparse.rst:451
msgid ""
"Now, let's use a different approach of playing with verbosity, which is "
"pretty common. It also matches the way the CPython executable handles its "
"own verbosity argument (check the output of ``python --help``)::"
msgstr ""
"Essayons maintenant une approche différente pour jouer sur la verbosité, ce "
"qui arrive fréquemment. Cela correspond également à la bonne pratique en "
Copy link
Member

Choose a reason for hiding this comment

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

A mon avis tu as voulu reformuler ta traduction mais tu t'es arrêté en chemin : "en utilisée". Je te laisse te relire, j'ignore ton intention.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

j'ai effectivement reformulé. Je suis en train de corriger en essayant de m'approcher d'avantage de la formulation originale.

@@ -483,27 +512,38 @@ msgid ""
"value, and that cannot be compared to an int value (hence the :exc:"
"`TypeError` exception)."
msgstr ""
"Nous venons juste d'introduire un nouveau mot clef, ``default``. Nous "
"l'avons définit sur ``0`` pour le rendre comparable aux autres valeurs. "
Copy link
Member

Choose a reason for hiding this comment

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

Pas sûr pour "définit sur", peut être "défini à" ?

"Nous venons juste d'introduire un nouveau mot clef, ``default``. Nous "
"l'avons définit sur ``0`` pour le rendre comparable aux autres valeurs. "
"Rappelez-vous que par défaut, si un argument optionnel n'est pas spécifié, "
"it sera définit à ``None``, et ne pourra pas être comparé à une valeur de "
Copy link
Member

Choose a reason for hiding this comment

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

« it » → « il » ?

"`argparse.ArgumentParser`. En voici une troisième, :meth:"
"`add_mutually_exclusive_group`. Elle nous permet de spécifier des options "
"qui sont en conflit entre elles. Changeons aussi le reste du programme de "
"telle sorte que la nouvelle fonctionnalité fasse sens: nous allons "
Copy link
Member

Choose a reason for hiding this comment

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

Il manque un espace avant les deux points. Voir un espace insécable si on voulait être stricts.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

je ne vois de problème que sur "fonctionnalité fasse sens: nous allons" c'est bien ça ?

Copy link
Member

Choose a reason for hiding this comment

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

oui c'était bien là.

@JulienPalard
Copy link
Member

Merci pour cette PR et bienvenu sur le repo ! J'a trouvé quelque erreurs en te relisant, je te laisse revoir ça.

@JulienPalard
Copy link
Member

LGTM, merci beaucoup !! 👍

@JulienPalard JulienPalard merged commit 52c7038 into python:3.6 Nov 11, 2017
JulienPalard pushed a commit that referenced this pull request Feb 20, 2023
Erreur détectée par hasard... Je suis davantage sûr de moi sur ce coup-là ;-).

Co-authored-by: nicolastala <contact@nicolastala.fr>
Reviewed-on: https://git.afpy.org/AFPy/python-docs-fr/pulls/77
Co-authored-by: nicolas talabardon <contact@nicolastala.fr>
Co-committed-by: nicolas talabardon <contact@nicolastala.fr>
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.

2 participants
0