Skip to content

Commit 833f3a4

Browse files
committed
Retirar algunas traduciones dentro de bloques de código
1 parent 1dc005b commit 833f3a4

File tree

2 files changed

+18
-10
lines changed

2 files changed

+18
-10
lines changed
+3-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
precalculado
1+
precalculado
2+
anything
3+
bound

reference/compound_stmts.po

+15-9
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ msgstr ""
244244
"sobrescribe todas las asignaciones anteriores a esas variables, incluidas "
245245
"las realizadas en la suite del bucle ``for``::"
246246

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

261263
#: ../Doc/reference/compound_stmts.rst:193
262264
msgid ""
@@ -604,7 +606,7 @@ msgid ""
604606
"same :keyword:`try`. :keyword:`break`, :keyword:`continue` and :keyword:"
605607
"`return` cannot appear in an :keyword:`!except*` clause."
606608
msgstr ""
607-
"No se puede mesclar :keyword:`except` and :keyword:`!except*`en el mismo :"
609+
"No se puede mesclar :keyword:`except` y :keyword:`!except*`en el mismo :"
608610
"keyword:`try`. :keyword:`break`, :keyword:`continue` y :keyword:`return` no "
609611
"puede aparecer en una cláusula :keyword:`!except*`."
610612

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

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

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

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

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

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

0 commit comments

Comments
 (0)