Merge branch 'paquereeete-getpass' into 3.6

This commit is contained in:
Julien Palard 2017-09-30 18:42:03 +02:00
commit b772713331

View File

@ -3,14 +3,13 @@
# This file is distributed under the same license as the Python package. # This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# #
#, fuzzy
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Python 3.6\n" "Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-04-02 22:11+0200\n" "POT-Creation-Date: 2017-04-02 22:11+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: 2017-09-30 18:41+0200\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: Paquerette <paquereeette@riseup.net>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -19,15 +18,15 @@ msgstr ""
#: ../Doc/library/getpass.rst:2 #: ../Doc/library/getpass.rst:2
msgid ":mod:`getpass` --- Portable password input" msgid ":mod:`getpass` --- Portable password input"
msgstr "" msgstr "Saisie de mot de passe portable"
#: ../Doc/library/getpass.rst:11 #: ../Doc/library/getpass.rst:11
msgid "**Source code:** :source:`Lib/getpass.py`" msgid "**Source code:** :source:`Lib/getpass.py`"
msgstr "" msgstr "**Source code:** :source:`Lib/getpass.py`"
#: ../Doc/library/getpass.rst:15 #: ../Doc/library/getpass.rst:15
msgid "The :mod:`getpass` module provides two functions:" msgid "The :mod:`getpass` module provides two functions:"
msgstr "" msgstr "Le module :mod:`getpass` fournit 2 fonctions:"
#: ../Doc/library/getpass.rst:20 #: ../Doc/library/getpass.rst:20
msgid "" msgid ""
@ -38,6 +37,12 @@ msgid ""
"dev/tty`) or if that is unavailable to ``sys.stderr`` (this argument is " "dev/tty`) or if that is unavailable to ``sys.stderr`` (this argument is "
"ignored on Windows)." "ignored on Windows)."
msgstr "" msgstr ""
"Affiche une demande de mot de passe sans renvoyer d'écho. L'utilisateur est "
"invité en utilisant la string *prompt*, avec en valeur par défaut "
"``'Password: '``. Avec Unix, l'invite est écrite dans l'objet file-like "
"*stream* en utilisant si besoin le replace error handler. *stream* sera par "
"défaut le terminal de contrôle (:file:`/dev/tty`), ou si celui ci n'est pas "
"disponible ce sera ``sys.stderr`` (cet argument sera ignoré sur Windows)."
#: ../Doc/library/getpass.rst:27 #: ../Doc/library/getpass.rst:27
msgid "" msgid ""
@ -45,20 +50,27 @@ msgid ""
"message to *stream* and reading from ``sys.stdin`` and issuing a :exc:" "message to *stream* and reading from ``sys.stdin`` and issuing a :exc:"
"`GetPassWarning`." "`GetPassWarning`."
msgstr "" msgstr ""
"Si aucune saisie en mode sans echo n'est disponnible, getpass() se résoudra "
"à afficher un message d'avertissement vers *stream*, puis lire l'entrée "
"depuis ``sys.stdin``, en levant une :exc:`GetPassWarning`."
#: ../Doc/library/getpass.rst:32 #: ../Doc/library/getpass.rst:32
msgid "" msgid ""
"If you call getpass from within IDLE, the input may be done in the terminal " "If you call getpass from within IDLE, the input may be done in the terminal "
"you launched IDLE from rather than the idle window itself." "you launched IDLE from rather than the idle window itself."
msgstr "" msgstr ""
"Si vous appelez getpass depuis IDLE, la saisie peut être faite dans le "
"terminal depuis lequel IDLE a été lancé, plutôt que dans la fenêtre d'IDLE."
#: ../Doc/library/getpass.rst:37 #: ../Doc/library/getpass.rst:37
msgid "A :exc:`UserWarning` subclass issued when password input may be echoed." msgid "A :exc:`UserWarning` subclass issued when password input may be echoed."
msgstr "" msgstr ""
"Une sous classe d'exception :exc:`UserWarning` est levée quand le mot de "
"passe saisi pourrait être affiché par un echo."
#: ../Doc/library/getpass.rst:42 #: ../Doc/library/getpass.rst:42
msgid "Return the \"login name\" of the user." msgid "Return the \"login name\" of the user."
msgstr "" msgstr "Renvoie le \"login name\" de l'utilisateur "
#: ../Doc/library/getpass.rst:44 #: ../Doc/library/getpass.rst:44
msgid "" msgid ""
@ -68,3 +80,9 @@ msgid ""
"the login name from the password database is returned on systems which " "the login name from the password database is returned on systems which "
"support the :mod:`pwd` module, otherwise, an exception is raised." "support the :mod:`pwd` module, otherwise, an exception is raised."
msgstr "" msgstr ""
"Cette fonction examine les variables d'environnement :envvar:`LOGNAME`, :"
"envvar:`USER`, :envvar:`LNAME` et :envvar:`USERNAME`, dans cet ordre, et "
"renvoie la valeur de la première qui a comme valeur une string non vide. Si "
"aucune des variables n'est renseignée, dans le cas de systèmes qui prennent "
"en charge le module :mod:`pwd`, le \"login name\" de la base de données des "
"mots de passes est renvoyé, pour les autres systèmes une exception est levée."