Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Traduce howto/descriptor.po#1591

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
cmaureir merged 1 commit intopython:3.10fromrtobar:traduccion-descriptor
Oct 30, 2021
Merged
Changes fromall 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
44 changes: 19 additions & 25 deletionshowto/descriptor.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,15 +11,16 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-10-16 21:42+0200\n"
"PO-Revision-Date: 2021-09-06 00:30+0800\n"
"PO-Revision-Date: 2021-10-30 00:13+0800\n"
"Last-Translator: Rodrigo Tobar <rtobarc@gmail.com>\n"
"Language: es\n"
"Language-Team: python-doc-es\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"X-Generator: Poedit 3.0\n"

#: ../Doc/howto/descriptor.rst:5
msgid "Descriptor HowTo Guide"
Expand DownExpand Up@@ -114,13 +115,12 @@ msgid "Simple example: A descriptor that returns a constant"
msgstr "Ejemplo simple: un descriptor que retorna una constante"

#: ../Doc/howto/descriptor.rst:45
#, fuzzy
msgid ""
"The :class:`Ten` class is a descriptor whose :meth:`__get__` method always "
"returns the constant ``10``:"
msgstr ""
"La clase :class:`Ten` es un descriptorque siempre retorna el valor "
"constante ``10`` desde su método :meth:`__get__`:"
"La clase :class:`Ten` es un descriptorcuyo método :meth:`__get__` siempre "
"retorna laconstante ``10``:"

#: ../Doc/howto/descriptor.rst:54
msgid ""
Expand All@@ -139,17 +139,16 @@ msgstr ""
"atributo normal y la búsqueda a través del descriptor:"

#: ../Doc/howto/descriptor.rst:73
#, fuzzy
msgid ""
"In the ``a.x`` attribute lookup, the dot operator finds ``'x': 5`` in the "
"class dictionary. In the ``a.y`` lookup, the dot operator finds a "
"descriptor instance, recognized by its ``__get__`` method. Calling that "
"method returns ``10``."
msgstr ""
"En la búsqueda de atributo ``a.x``, el operador puntobusca la llave ``x`` y "
"el valor ``5``en el diccionario de la clase. En la búsqueda ``a.y``, el "
"operador puntoencuentra una instancia de un descriptor, reconocible por su "
"método``__get__``, e invoca este método, el cual retorna ``10``."
"En la búsqueda de atributo ``a.x``, el operador puntoencuentra ``'x': 5`` "
"en el diccionario de la clase. En la búsqueda ``a.y``, el operador punto "
"encuentra una instancia de un descriptor, reconocible por su método "
"``__get__``. Llamar a ese método retorna ``10``."

#: ../Doc/howto/descriptor.rst:78
msgid ""
Expand DownExpand Up@@ -298,9 +297,8 @@ msgid "The new class now logs access to both *name* and *age*:"
msgstr "La nueva clase ahora registrar accesos tanto a *name* como a *age*:"

#: ../Doc/howto/descriptor.rst:284
#, fuzzy
msgid "The two *Person* instances contain only the private names:"
msgstr "Las dos instancias de *Person* contienen sólodos nombres privados::"
msgstr "Las dos instancias de *Person* contienen sólolos nombres privados::"

#: ../Doc/howto/descriptor.rst:295
msgid "Closing thoughts"
Expand DownExpand Up@@ -328,16 +326,15 @@ msgstr ""
"es un descriptor.)"

#: ../Doc/howto/descriptor.rst:305
#, fuzzy
msgid ""
"Descriptors get invoked by the dot operator during attribute lookup. If a "
"descriptor is accessed indirectly with ``vars(some_class)"
"[descriptor_name]``, the descriptor instance is returned without invoking it."
msgstr ""
"Los descriptores son invocados por el\"operator\" punto durante la búsqueda "
"deatributos. Si un descriptor es accedido indirectamente con "
"``vars(una_clase)[nombre_del_descriptor]``, la instancia del descriptor es "
"retornada sin serinvocada."
"Los descriptores son invocados por eloperador punto durante la búsqueda de "
"atributos. Si un descriptor es accedido indirectamente con``vars(una_clase)"
"[nombre_del_descriptor]``, la instancia del descriptor es retornada sin ser "
"invocada."

#: ../Doc/howto/descriptor.rst:309
msgid ""
Expand DownExpand Up@@ -894,7 +891,6 @@ msgid "ORM example"
msgstr "Ejemplo de mapeos objeto-relacional (*ORM*)"

#: ../Doc/howto/descriptor.rst:832
#, python-format
msgid ""
"The following code is simplified skeleton showing how data descriptors could "
"be used to implement an `object relational mapping <https://en.wikipedia.org/"
Expand DownExpand Up@@ -1121,9 +1117,8 @@ msgstr ""
"de dónde viene *cls* en métodos de clase, ¡es acá!"

#: ../Doc/howto/descriptor.rst:1191
#, fuzzy
msgid "Kinds of methods"
msgstr "Otros tipos de métodos"
msgstr "Tipos de métodos"

#: ../Doc/howto/descriptor.rst:1193
msgid ""
Expand DownExpand Up@@ -1295,7 +1290,6 @@ msgstr ""
"Python de :func:`classmethod` se vería así:"

#: ../Doc/howto/descriptor.rst:1381
#, fuzzy
msgid ""
"The code path for ``hasattr(type(self.f), '__get__')`` was added in Python "
"3.9 and makes it possible for :func:`classmethod` to support chained "
Expand All@@ -1304,7 +1298,7 @@ msgid ""
msgstr ""
"La ruta de código para ``hasattr(obj, '__get__')`` fue añadida en Python "
"3.9, y hace posible que :func:`classmethod` soporte decoradores encadenados."
"Por ejemplo, classmethod y property sepueden encadenar:"
"Por ejemplo,unclassmethod yunproperty sepuede encadenar:"

#: ../Doc/howto/descriptor.rst:1401
msgid "Member objects and __slots__"
Expand DownExpand Up@@ -1351,19 +1345,19 @@ msgstr ""
"cantidad de instancias será creada."

#: ../Doc/howto/descriptor.rst:1463
#, python-format
msgid ""
"4. Improves speed. Reading instance variables is 35% faster with "
"``__slots__`` (as measured with Python 3.10 on an Apple M1 processor)."
msgstr ""
"4. Mejora la velocidad. Leer variables de instancia es 35% más rápido con "
"``__slots__`` (medido con Python 3.10 en un procesador Apple M1)."

#: ../Doc/howto/descriptor.rst:1466
#, fuzzy
msgid ""
"5. Blocks tools like :func:`functools.cached_property` which require an "
"instance dictionary to function correctly:"
msgstr ""
"4. Bloquea a herramientas tales como :func:`functools.cached_property`, las "
"5. Bloquea a herramientas tales como :func:`functools.cached_property`, las "
"que requieren un diccionario de instancia para funcionar correctamente:"

#: ../Doc/howto/descriptor.rst:1488
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp