8000 Review getpass before merge. · python/python-docs-fr@ae2678f · GitHub
[go: up one dir, main page]

Skip to content

Commit ae2678f

Browse files
committed
Review getpass before merge.
1 parent 191b3a6 commit ae2678f

File tree

1 file changed

+45
-11
lines changed

1 file changed

+45
-11
lines changed

library/getpass.po

Lines changed: 45 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: Python 3.6\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
11-
"PO-Revision-Date: 2017-09-22 16:44+0100\n"
11+
"PO-Revision-Date: 2017-09-30 18:41+0200\n"
1212
"Last-Translator: Paquerette <paquereeette@riseup.net>\n"
1313
"Language-Team: LANGUAGE <LL@li.org>\n"
1414
"Language: fr\n"
@@ -29,26 +29,60 @@ msgid "The :mod:`getpass` module provides two functions:"
2929
msgstr "Le module :mod:`getpass` fournit 2 fonctions:"
3030

3131
#: ../Doc/library/getpass.rst:20
32-
msgid "Prompt the user for a password without echoing. The user is prompted using the string *prompt*, which defaults to ``'Password: '``. On Unix, the prompt is written to the file-like object *stream* using the replace error handler if needed. *stream* defaults to the controlling terminal (:file:`/dev/tty`) or if that is unavailable to ``sys.stderr`` (this argument is ignored on Windows)."
33-
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)."
32+
msgid ""
33+
"Prompt the user for a password without echoing. The user is prompted using "
34+
"the string *prompt*, which defaults to ``'Password: '``. On Unix, the "
35+
"prompt is written to the file-like object *stream* using the replace error "
36+
"handler if needed. *stream* defaults to the controlling terminal (:file:`/"
37+
"dev/tty`) or if that is unavailable to ``sys.stderr`` (this argument is "
38+
"ignored on Windows)."
39+
msgstr ""
40+
"Affiche une demande de mot de passe sans renvoyer d'écho. L'utilisateur est "
41+
"invité en utilisant la string *prompt*, avec en valeur par défaut "
42+
"``'Password: '``. Avec Unix, l'invite est écrite dans l'objet file-like "
43+
"*stream* en utilisant si besoin le replace error handler. *stream* sera par "
44+
"défaut le terminal de contrôle (:file:`/dev/tty`), ou si celui ci n'est pas "
45+
"disponible ce sera ``sys.stderr`` (cet argument sera ignoré sur Windows)."
3446

3547
#: ../Doc/library/getpass.rst:27
36-
msgid "If echo free input is unavailable getpass() falls back to printing a warning message to *stream* and reading from ``sys.stdin`` and issuing a :exc:`GetPassWarning`."
37-
msgstr "S'il n'y a pas de disponible une saisie en mode sans écho, getpass() va en revanche changer de comportement et se résoudra à afficher un message d'avertissement vers *stream*, ensuite lire l'entrée depuis ``sys.stdin`` , et enfin lever une :exc:`GetPassWarning`."
48+
msgid ""
49+
"If echo free input is unavailable getpass() falls back to printing a warning "
50+
"message to *stream* and reading from ``sys.stdin`` and issuing a :exc:"
51+
"`GetPassWarning`."
52+
msgstr ""
53+
"Si aucune saisie en mode sans echo n'est disponnible, getpass() se résoudra "
54+
"à afficher un message d'avertissement vers *stream*, puis lire l'entrée "
55+
"depuis ``sys.stdin``, en levant une :exc:`GetPassWarning`."
3856

3957
#: ../Doc/library/getpass.rst:32
40-
msgid "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."
41-
msgstr "Si vous appelez getpass à l'intérieur de IDLE, l'entrée peut être faite dans le terminal depuis lequel IDLE a été lancé, plutôt que dans la fenêtre d'IDLE."
58+
msgid ""
59+
"If you call getpass from within IDLE, the input may be done in the terminal "
60+
"you launched IDLE from rather than the idle window itself."
61+
msgstr ""
62+
"Si vous appelez getpass depuis IDLE, la saisie peut être faite dans le "
63+
"terminal depuis lequel IDLE a été lancé, plutôt que dans la fenêtre d'IDLE."
4264

4365
#: ../Doc/library/getpass.rst:37
4466
msgid "A :exc:`UserWarning` subclass issued when password input may be echoed."
45-
msgstr "Une sous classe d'exception :exc:`UserWarning` est levée quand le mot de passe saisi pourrait être affiché par un echo."
67+
msgstr ""
68+
"Une sous classe d'exception :exc:`UserWarning` est levée quand le mot de "
69+
"passe saisi pourrait être affiché par un echo."
4670

4771
#: ../Doc/library/getpass.rst:42
4872
msgid "Return the \"login name\" of the user."
4973
msgstr "Renvoie le \"login name\" de l'utilisateur "
5074

5175
#: ../Doc/library/getpass.rst:44
52-
msgid "This function checks the environment variables :envvar:`LOGNAME`, :envvar:`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, in order, and returns the value of the first one which is set to a non-empty string. If none are set, the login name from the password database is returned on systems which support the :mod:`pwd` module, otherwise, an exception is raised."
53-
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."
54-
76+
msgid ""
77+
"This function checks the environment variables :envvar:`LOGNAME`, :envvar:"
78+
"`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, in order, and returns the "
79+
"value of the first one which is set to a non-empty string. If none are set, "
80+
"the login name from the password database is returned on systems which "
81+
"support the :mod:`pwd` module, otherwise, an exception is raised."
82+
msgstr ""
83+
"Cette fonction examine les variables d'environnement :envvar:`LOGNAME`, :"
84+
"envvar:`USER`, :envvar:`LNAME` et :envvar:`USERNAME`, dans cet ordre, et "
85+
"renvoie la valeur de la première qui a comme valeur une string non vide. Si "
86+
"aucune des variables n'est renseignée, dans le cas de systèmes qui prennent "
87+
"en charge le module :mod:`pwd`, le \"login name\" de la base de données des "
88+
&qu 3200 ot;mots de passes est renvoyé, pour les autres systèmes une exception est levée."

0 commit comments

Comments
 (0)
0