Skip to content

Traducción library/argparse #2156

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 6 commits into from
Nov 24, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
WIP: sec(argparse): Avance con tabla quick links
- Traduciendo tabla quick links
- Mejora de frases fuzzy
  • Loading branch information
umoqnier committed Nov 2, 2022
commit 830678f2e8db79cbdc9ff8e261e8278d75d4a934
58 changes: 32 additions & 26 deletions library/argparse.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-10-25 19:47+0200\n"
"PO-Revision-Date: 2022-11-01 14:32-0600\n"
"PO-Revision-Date: 2022-11-01 19:05-0600\n"
"Last-Translator: Diego Alberto Barriga Martínez <umoqnier@riseup.net>\n"
"Language-Team: python-doc-es\n"
"Language: es\n"
Expand Down Expand Up @@ -48,7 +48,6 @@ msgstr ""
"echa un vistazo al :ref:`argparse tutorial <argparse-tutorial>`."

#: ../Doc/library/argparse.rst:22
#, fuzzy
msgid ""
"The :mod:`argparse` module makes it easy to write user-friendly command-line "
"interfaces. The program defines what arguments it requires, and :mod:"
Expand All @@ -59,9 +58,10 @@ msgid ""
msgstr ""
"El módulo :mod:`argparse` facilita la escritura de interfaces de línea de "
"comandos amigables. El programa define qué argumentos requiere, y :mod:"
"`argparse` averiguará cómo analizar los de :data:`sys.argv`. El módulo :mod:"
"`argparse` también genera automáticamente mensajes de ayuda y de uso y "
"muestra errores cuando los usuarios dan parámetros incorrectos al programa."
"`argparse` averiguará cómo analizarlos vía :data:`sys.argv`. El módulo :mod:"
"`argparse` también genera automáticamente mensajes de ayuda y de uso. El "
"módulo también emitirá errores cuando las usuarias den argumentos inválidos "
"al programa."

#: ../Doc/library/argparse.rst:30
msgid "Core Functionality"
Expand Down Expand Up @@ -98,20 +98,19 @@ msgstr ""

#: ../Doc/library/argparse.rst:58
msgid "Quick Links for add_argument()"
msgstr ""
msgstr "Enlaces rápidos para add_argument()"

#: ../Doc/library/argparse.rst:61
msgid "Name"
msgstr ""
msgstr "Nombre"

#: ../Doc/library/argparse.rst:61
#, fuzzy
msgid "Description"
msgstr "*description*"
msgstr "Descripción"

#: ../Doc/library/argparse.rst:61
msgid "Values"
msgstr ""
msgstr "Valores"

#: ../Doc/library/argparse.rst:63
#, fuzzy
Expand All @@ -120,13 +119,15 @@ msgstr "*action*"

#: ../Doc/library/argparse.rst:63
msgid "Specify how an argument should be handled"
msgstr ""
msgstr "Especifica como debe ser manejado un argumento"

#: ../Doc/library/argparse.rst:63
msgid ""
"``'store'``, ``'store_const'``, ``'store_true'``, ``'append'``, "
"``'append_const'``, ``'count'``, ``'help'``, ``'version'``"
msgstr ""
"``'store'``, ``'store_const'``, ``'store_true'``, ``'append'``, "
"``'append_const'``, ``'count'``, ``'help'``, ``'version'``"

#: ../Doc/library/argparse.rst:64
#, fuzzy
Expand All @@ -135,13 +136,15 @@ msgstr "*choices*"

#: ../Doc/library/argparse.rst:64
msgid "Limit values to a specific set of choices"
msgstr ""
msgstr "Limita los valores a un conjunto específico de opciones"

#: ../Doc/library/argparse.rst:64
msgid ""
"``['foo', 'bar']``, ``range(1, 10)``, or :class:`~collections.abc.Container` "
"instance"
msgstr ""
"``['foo', 'bar']``, ``range(1, 10)``, o una instancia de :class:"
"`~collections.abc.Container`"

#: ../Doc/library/argparse.rst:65
#, fuzzy
Expand All @@ -150,7 +153,7 @@ msgstr "*const*"

#: ../Doc/library/argparse.rst:65
msgid "Store a constant value"
msgstr ""
msgstr "Guarda un valor constante"

#: ../Doc/library/argparse.rst:66
#, fuzzy
Expand All @@ -159,11 +162,11 @@ msgstr "*default*"

#: ../Doc/library/argparse.rst:66
msgid "Default value used when an argument is not provided"
msgstr ""
msgstr "Valor por defecto usado cuando un argumento no es proporcionado"

#: ../Doc/library/argparse.rst:66
msgid "Defaults to *None*"
msgstr ""
msgstr "Por defecto a *None*"

#: ../Doc/library/argparse.rst:67
#, fuzzy
Expand All @@ -173,6 +176,8 @@ msgstr "*dest*"
#: ../Doc/library/argparse.rst:67
msgid "Specify the attribute name used in the result namespace"
msgstr ""
"Especifica el nombre del atributo usado en el espacio de nombres del "
"resultado"

#: ../Doc/library/argparse.rst:68
#, fuzzy
Expand All @@ -181,16 +186,17 @@ msgstr "*help*"

#: ../Doc/library/argparse.rst:68
msgid "Help message for an argument"
msgstr ""
msgstr "Mensaje de ayuda para un argumento"

#: ../Doc/library/argparse.rst:69
#, fuzzy
msgid "metavar_"
msgstr "*metavar*"

#: ../Doc/library/argparse.rst:69
msgid "Alternate display name for the argument as shown in help"
msgstr ""
"Alterna la visualización del nombre para el argumento como es mostrado en la "
"ayuda"

#: ../Doc/library/argparse.rst:70
#, fuzzy
Expand All @@ -199,11 +205,11 @@ msgstr "*nargs*"

#: ../Doc/library/argparse.rst:70
msgid "Number of times the argument can be used"
msgstr ""
msgstr "Número de veces que puede ser usado un argumento"

#: ../Doc/library/argparse.rst:70
msgid ":class:`int`, ``'?'``, ``'*'``, ``'+'``, or ``argparse.REMAINDER``"
msgstr ""
msgstr ":class:`int`, ``'?'``, ``'*'``, ``'+'``, o ``argparse.REMAINDER``"

#: ../Doc/library/argparse.rst:71
#, fuzzy
Expand All @@ -212,11 +218,11 @@ msgstr "*required*"

#: ../Doc/library/argparse.rst:71
msgid "Indicate whether an argument is required or optional"
msgstr ""
msgstr "Indica si un argumento es requerido u opcional"

#: ../Doc/library/argparse.rst:71
msgid "``True`` or ``False``"
msgstr ""
msgstr "``True`` o ``False``"

#: ../Doc/library/argparse.rst:72
#, fuzzy
Expand All @@ -225,13 +231,15 @@ msgstr "*type*"

#: ../Doc/library/argparse.rst:72
msgid "Automatically convert an argument to the given type"
msgstr ""
msgstr "Convierte automáticamente un argumento al tipo dado"

#: ../Doc/library/argparse.rst:72
msgid ""
":class:`int`, :class:`float`, ``argparse.FileType('w')``, or callable "
"function"
msgstr ""
":class:`int`, :class:`float`, ``argparse.FileType('w')``, o una función "
"invocable"

#: ../Doc/library/argparse.rst:77
msgid "Example"
Expand All @@ -246,12 +254,11 @@ msgstr ""
"enteros y obtiene la suma o el máximo::"

#: ../Doc/library/argparse.rst:94
#, fuzzy
msgid ""
"Assuming the above Python code is saved into a file called ``prog.py``, it "
"can be run at the command line and it provides useful help messages:"
msgstr ""
"Asumiendo que el código Python anterior se guarda en un archivo llamado "
"Se asume que el código Python anterior se guarda en un archivo llamado "
"``prog.py``, se puede ejecutar en la línea de comandos y proporciona "
"mensajes de ayuda útiles:"

Expand All @@ -264,9 +271,8 @@ msgstr ""
"de los números enteros de la línea de comandos:"

#: ../Doc/library/argparse.rst:122
#, fuzzy
msgid "If invalid arguments are passed in, an error will be displayed:"
msgstr "Si se pasan argumentos incorrectos, se mostrará un error:"
msgstr "Si se proporcionan argumentos inválidos, se mostrará un error:"

#: ../Doc/library/argparse.rst:130
msgid "The following sections walk you through this example."
Expand Down