Skip to content

Traducido archivo library/__main__.po #1194

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
Jan 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions TRANSLATORS
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,4 @@ Juan Elias Rodriguez (@Juerodriguez)
Victor Carlos (@tuxtitlan)
Ignacio Sanz (@elnaquete)
Jaime Rodrigo González Rodríguez (@jairock282)
Martín Ramírez (@tinchoram)
23 changes: 18 additions & 5 deletions library/__main__.po
Original file line number Diff line number Diff line change
@@ -1,32 +1,38 @@
# 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/python/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 <EMAIL@ADDRESS>\n"
"PO-Revision-Date: 2021-01-08 10:21-0300\n"
"Language-Team: python-doc-es\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: \n"
"Language: es\n"
"X-Generator: Poedit 2.4.2\n"

#: ../Doc/library/__main__.rst:3
msgid ":mod:`__main__` --- Top-level script environment"
msgstr ""
msgstr ":mod:`__main__` --- Entorno de script del nivel superior"

#: ../Doc/library/__main__.rst:10
msgid ""
"``'__main__'`` is the name of the scope in which top-level code executes. A "
"module's __name__ is set equal to ``'__main__'`` when read from standard "
"input, a script, or from an interactive prompt."
msgstr ""
"``'__main__'`` es el nombre del ámbito en el que se ejecuta el código de "
"nivel superior. El atributo __name__ de un módulo se establece igual a "
"``'__main__'`` cuando se lee desde una entrada estándar, un script o un "
"prompt interactivo."

#: ../Doc/library/__main__.rst:14
msgid ""
Expand All @@ -35,10 +41,17 @@ msgid ""
"executing code in a module when it is run as a script or with ``python -m`` "
"but not when it is imported::"
msgstr ""
"Un módulo puede descubrir si se está ejecutando o no en el ámbito principal "
"al verificar su propio ``__name__``, lo cual permite un idioma común para "
"ejecutar código condicionalmente en un modulo cuando este se ejecuta como un "
"script o con ``python -m`` pero no cuando este es importado::"

#: ../Doc/library/__main__.rst:23
msgid ""
"For a package, the same effect can be achieved by including a ``__main__."
"py`` module, the contents of which will be executed when the module is run "
"with ``-m``."
msgstr ""
"Para un paquete, se puede lograr el mismo efecto incluyendo un modulo "
"``__main__.py``, cuyo contenido se ejecutara cuando el modulo se ejecute con "
"``-m``."