Skip to content

Traducción library/http.server + mejora script traducción #1714

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 3 commits into from
Dec 14, 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
31 changes: 15 additions & 16 deletions library/http.server.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ msgstr ""
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
"PO-Revision-Date: 2021-08-07 22:01+0200\n"
"Last-Translator: Cristián Maureira-Fredes <cmaureirafredes@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Language: 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"
"Generated-By: Babel 2.9.1\n"

#: ../Doc/library/http.server.rst:2
Expand All @@ -30,10 +30,8 @@ msgid "**Source code:** :source:`Lib/http/server.py`"
msgstr "**Código fuente:** :source:`Lib/http/server.py`"

#: ../Doc/library/http.server.rst:17
#, fuzzy
msgid "This module defines classes for implementing HTTP servers."
msgstr ""
"Este módulo define clases para implementar servidores HTTP (servidores Web)."
msgstr "Este módulo define clases para implementar servidores HTTP."

#: ../Doc/library/http.server.rst:22
msgid ""
Expand Down Expand Up @@ -167,6 +165,9 @@ msgid ""
"``path`` includes the query. Using the terminology of :rfc:`3986`, ``path`` "
"here includes ``hier-part`` and the ``query``."
msgstr ""
"Contiene la ruta de la solicitud. Si el componente de consulta de la URL "
"está presente, ``path`` incluye la consulta. Usando la terminología de: rfc: "
"`3986`, ``path`` aquí incluye ``hier-part`` y ``query``."

#: ../Doc/library/http.server.rst:107
msgid ""
Expand Down Expand Up @@ -321,7 +322,6 @@ msgstr ""
"\\*`. Nunca deberías necesitar anularlo."

#: ../Doc/library/http.server.rst:196
#, fuzzy
msgid ""
"When a HTTP/1.1 compliant server receives an ``Expect: 100-continue`` "
"request header it responds back with a ``100 Continue`` followed by ``200 "
Expand All @@ -330,10 +330,10 @@ msgid ""
"``417 Expectation Failed`` as a response header and ``return False``."
msgstr ""
"Cuando un servidor compatible con HTTP/1.1 recibe un encabezado de solicitud "
"``Expect: 100-continue`` responde con un encabezado ``100 Continue`` seguido "
"de ``200 OK``. Este método puede ser anulado para generar un error si el "
"servidor no quiere que el cliente continúe. Por ejemplo, el servidor puede "
"elegir enviar ``417 Expectation Failed`` como encabezado de respuesta y "
"``Expect: 100-continue``, responde con un ``100 Continue`` seguido de "
"encabezados ``200 OK``. Este método se puede anular para generar un error si "
"el servidor no desea que el cliente continúe. Por ejemplo, el servidor puede "
"optar por enviar ``417 Expectation Failed`` como encabezado de respuesta y "
"``return False``."

#: ../Doc/library/http.server.rst:207
Expand Down Expand Up @@ -524,23 +524,22 @@ msgstr ""
"la resolución del nombre, ahora siempre retorna la dirección IP."

#: ../Doc/library/http.server.rst:323
#, fuzzy
msgid ""
"This class serves files from the directory *directory* and below, or the "
"current directory if *directory* is not provided, directly mapping the "
"directory structure to HTTP requests."
msgstr ""
"Esta clase sirve a los archivos del directorio actual y los de abajo, "
"mapeando directamente la estructura del directorio a las peticiones HTTP."
"Esta clase sirve archivos del directorio *directory* e inferior, o del "
"directorio actual si no se proporciona *directory*, mapeando directamente la "
"estructura del directorio a las solicitudes HTTP."

#: ../Doc/library/http.server.rst:327
msgid "The *directory* parameter."
msgstr ""
msgstr "El parámetro *directory*."

#: ../Doc/library/http.server.rst:330
#, fuzzy
msgid "The *directory* parameter accepts a :term:`path-like object`."
msgstr "Acepta un :term:`path-like object`."
msgstr "El parámetro *directory* acepta un :term:`path-like object`."

#: ../Doc/library/http.server.rst:333
msgid ""
Expand Down
4 changes: 2 additions & 2 deletions scripts/translate.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"``[^`]+``",
"`[^`]+`__",
"`[^`]+`_",
"\*\*.+\*\*", # bold text between **
"\*.+\*", # italic text between *
"\*\*[^\*]+\*\*", # bold text between **
"\*[^\*]+\*", # italic text between *
]

_exps = [re.compile(e) for e in _patterns]
Expand Down