Skip to content

Traducido reference/compound_stmts.po #3354

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 10 commits into from
Feb 2, 2025
Merged
Show file tree
Hide file tree
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
Retirar algunas traduciones dentro de bloques de código
  • Loading branch information
kbiggers committed Jan 2, 2025
commit 551e60bd58b96b59f901b49d2dee71ce82675b7b
4 changes: 3 additions & 1 deletion dictionaries/reference_compound_stmts.txt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
precalculado
precalculado
anything
bound
28 changes: 17 additions & 11 deletions reference/compound_stmts.po
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ msgstr ""
"sobrescribe todas las asignaciones anteriores a esas variables, incluidas "
"las realizadas en la suite del bucle ``for``::"

# No se pueden traducir los commentarios hasta que pospell tenga la habilidad
# de entender líneas de código.
#: ../Doc/reference/compound_stmts.rst:183
msgid ""
"for i in range(10):\n"
Expand All @@ -254,9 +256,9 @@ msgid ""
msgstr ""
"for i in range(10):\n"
" print(i)\n"
" i = 5 # esto no afectará los bucles `for`\n"
" # porque i se sobrescribirá con el próximo\n"
" # índice en el rango"
" i = 5 # this will not affect the for-loop\n"
" # because i will be overwritten with the next\n"
" # index in the range"

#: ../Doc/reference/compound_stmts.rst:193
msgid ""
Expand Down Expand Up @@ -604,8 +606,8 @@ msgid ""
"same :keyword:`try`. :keyword:`break`, :keyword:`continue` and :keyword:"
"`return` cannot appear in an :keyword:`!except*` clause."
msgstr ""
"No se puede mesclar :keyword:`except` and :keyword:`!except*`en el mismo :"
"keyword:`try`. :keyword:`break`, :keyword:`continue` y :keyword:`return` no "
"No se puede mezclar :keyword:`except` y :keyword:`!except*` en el mismo "
":keyword:`try`, :keyword:`break`, :keyword:`continue` y :keyword:`return` no "
"puede aparecer en una cláusula :keyword:`!except*`."

#: ../Doc/reference/compound_stmts.rst:399
Expand Down Expand Up @@ -777,7 +779,7 @@ msgstr ""
#: ../Doc/reference/compound_stmts.rst:495
msgid "The context manager's :meth:`~object.__exit__` is loaded for later use."
msgstr ""
"El administrador de contexto :meth:`__exit__` se carga para su uso posterior."
"El administrador de contexto :meth:`~object.__exit__` se carga para su uso posterior."

#: ../Doc/reference/compound_stmts.rst:497
msgid "The context manager's :meth:`~object.__enter__` method is invoked."
Expand All @@ -788,7 +790,7 @@ msgid ""
"If a target was included in the :keyword:`with` statement, the return value "
"from :meth:`~object.__enter__` is assigned to it."
msgstr ""
"Si se incluyó el destino en la delcaración :keyword:`with`, se le asigna el "
"Si se incluyó el destino en la declaración :keyword:`with`, se le asigna el "
"valor de retorno de :meth:`__enter__`."

#: ../Doc/reference/compound_stmts.rst:504
Expand Down Expand Up @@ -841,7 +843,7 @@ msgid ""
"the normal location for the kind of exit that was taken."
msgstr ""
"Si se salió de la suite por cualquier motivo que no sea una excepción, el "
"valor de retorno de `~object.__exit__` se ignora y la ejecución continúa en "
"valor de retorno de :meth:`~object.__exit__` se ignora y la ejecución continúa en "
"la ubicación normal para el tipo de salida que se tomó."

#: ../Doc/reference/compound_stmts.rst:526
Expand Down Expand Up @@ -2964,7 +2966,7 @@ msgid ""
"Generic functions, classes, and type aliases have a :attr:`~definition."
"__type_params__` attribute listing their type parameters."
msgstr ""
"Funciones genéricas, clases y aliases de tipo tienen un atributo :attr:`!"
"Funciones genéricas, clases y aliases de tipo tienen un atributo ::attr:`~definition."
"__type_params__` que lista sus parámetros de tipo."

#: ../Doc/reference/compound_stmts.rst:1679
Expand Down Expand Up @@ -3190,6 +3192,8 @@ msgstr ""
"Excepto para la :ref:`lazy-evaluation <lazy-evaluation>` del :class:`~typing."
"TypeVar` vinculada, esto es equivalente a::"

# No se pueden traducir los commentarios hasta que pospell tenga la habilidad
# de entender líneas de código.
#: ../Doc/reference/compound_stmts.rst:1772
msgid ""
"DEFAULT_OF_arg = some_default\n"
Expand Down Expand Up @@ -3217,7 +3221,7 @@ msgstr ""
"\n"
" annotation-def BOUND_OF_T():\n"
" return int\n"
" # En realidad, BOUND_OF_T() se evaluá solamente a pedido.\n"
" # In reality, BOUND_OF_T() is evaluated only on demand.\n"
" T = typing.TypeVar(\"T\", bound=BOUND_OF_T())\n"
"\n"
" Ts = typing.TypeVarTuple(\"Ts\")\n"
Expand Down Expand Up @@ -3345,6 +3349,8 @@ msgstr ""
"Excepto para la :ref:`evaluación perezosa <lazy-evaluation>` del valor, esto "
"es equivalente a::"

# No se pueden traducir los commentarios hasta que pospell tenga la habilidad
# de entender líneas de código.
#: ../Doc/reference/compound_stmts.rst:1848
msgid ""
"annotation-def TYPE_PARAMS_OF_ListOrSet():\n"
Expand All @@ -3362,7 +3368,7 @@ msgstr ""
"\n"
" annotation-def VALUE_OF_ListOrSet():\n"
" return list[T] | set[T]\n"
" # En realidad, el valor se evaluá perezosamente\n"
" # In reality, the value is lazily evaluated\n"
" return typing.TypeAliasType(\"ListOrSet\", VALUE_OF_ListOrSet(), "
"type_params=(T,))\n"
"ListOrSet = TYPE_PARAMS_OF_ListOrSet()"
Expand Down