diff --git a/dictionaries/library_getpass.txt b/dictionaries/library_getpass.txt new file mode 100644 index 0000000000..dd43513271 --- /dev/null +++ b/dictionaries/library_getpass.txt @@ -0,0 +1 @@ +getpass diff --git a/library/getpass.po b/library/getpass.po index b06f0a06c3..bcfcf86c1f 100644 --- a/library/getpass.po +++ b/library/getpass.po @@ -1,33 +1,35 @@ # Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. -# Maintained by the python-doc-es workteam. +# Maintained by the python-doc-es workteam. # docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/ # Check https://github.com/PyCampES/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" -"Language-Team: python-doc-es\n" +"PO-Revision-Date: 2020-09-05 19:38-0300\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: Federico Jurío \n" +"Language-Team: python-doc-es\n" +"Language: es\n" +"X-Generator: Poedit 2.4.1\n" #: ../Doc/library/getpass.rst:2 msgid ":mod:`getpass` --- Portable password input" -msgstr "" +msgstr ":mod:`getpass` --- Entrada de contraseña portátil" #: ../Doc/library/getpass.rst:11 msgid "**Source code:** :source:`Lib/getpass.py`" -msgstr "" +msgstr "**Código fuente:** :source:`Lib/getpass.py`" #: ../Doc/library/getpass.rst:15 msgid "The :mod:`getpass` module provides two functions:" -msgstr "" +msgstr "El módulo :mod:`getpass` proporciona dos funciones:" #: ../Doc/library/getpass.rst:20 msgid "" @@ -38,6 +40,12 @@ msgid "" "dev/tty`) or if that is unavailable to ``sys.stderr`` (this argument is " "ignored on Windows)." msgstr "" +"Solicita al usuario una contraseña sin hacer eco. Se solicita al usuario " +"mediante la cadena *prompt*, que por defecto es ``'Password: '``. En Unix, " +"el indicador se escribe en el objeto similar a un archivo *stream* usando el " +"controlador de errores de reemplazo si es necesario. *stream* toma por " +"defecto el terminal de control (:file:`/dev/tty`) o si no está disponible " +"para ``sys.stderr`` (este argumento se ignora en Windows)." #: ../Doc/library/getpass.rst:27 msgid "" @@ -45,20 +53,27 @@ msgid "" "message to *stream* and reading from ``sys.stdin`` and issuing a :exc:" "`GetPassWarning`." msgstr "" +"Si la entrada sin *echo* no está disponible, getpass() recurre a imprimir un " +"mensaje de advertencia en *stream* y leer de ``sys.stdin`` y lanza un :exc:" +"`GetPassWarning`." #: ../Doc/library/getpass.rst:32 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." msgstr "" +"Si llama a getpass desde IDLE, la entrada puede realizarse en la terminal " +"desde la que inició IDLE en lugar de en la ventana inactiva en sí." #: ../Doc/library/getpass.rst:37 msgid "A :exc:`UserWarning` subclass issued when password input may be echoed." msgstr "" +"Una subclase :exc:`UserWarning` lanzada cuando la entrada de la contraseña " +"puede repetirse." #: ../Doc/library/getpass.rst:42 msgid "Return the \"login name\" of the user." -msgstr "" +msgstr "Retorna el \"nombre de inicio de sesión\" del usuario." #: ../Doc/library/getpass.rst:44 msgid "" @@ -68,8 +83,15 @@ msgid "" "the login name from the password database is returned on systems which " "support the :mod:`pwd` module, otherwise, an exception is raised." msgstr "" +"Esta función verifica las variables de entorno :envvar:`LOGNAME`, :envvar:" +"`USER`, :envvar:`LNAME` and :envvar:`USERNAME`, en orden, y retorna el valor " +"del primero que se establece en un cadena no vacía. Si no se establece " +"ninguno, el nombre de inicio de sesión de la base de datos de contraseñas se " +"retorna en los sistemas que admiten el módulo :mod:`pwd`; de lo contrario, " +"se lanza una excepción." #: ../Doc/library/getpass.rst:51 msgid "" "In general, this function should be preferred over :func:`os.getlogin()`." msgstr "" +"En general, esta función debería preferirse respecto a :func:`os.getlogin()`."