- Notifications
You must be signed in to change notification settings - Fork396
Traducir library typing#195#221
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Muy bueno! Hice varias correcciones pequeñas y dejé algunas preguntas.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
#: ../Doc/library/typing.rst:51 | ||
msgid "" | ||
"Type aliases are useful for simplifying complex type signatures. For " | ||
"example::" | ||
msgstr "" | ||
"Los alias de tipo son útiles para simplificar indicadores de tipo complejos. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
¿Quizás podemos marcar "type signature" como fuzzy? Acá se usa indicadores de tipo, pero luego se usa lo mismo para "type hint". ¿Es lo mismo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
para mi signature es una caracterización de algo, algo que lo identifica. Lo unico es que aqui no queda claro creo si lo que es complejo es el indicador, o el tipo (que es el tipo, claro) Y algo así?
Los alias de tipo son útiles para simplificar la anotación de tipado en tipos más complejos (o objetos más complejos, no sé)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Aquí complejo se refiere a la "signatura", y signatura es un sinónimo de anotación/indicar - simplificar una anotación de tipo compleja. Para no meter un término más que solo aporta frescura al texto (y quita precisión) voy a ver si dejo algo más directo.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hola Hector, me he picado y lo he revisado todo hoy :) ten en cuenta que son sugerencias muchas de ellas, evalúa si te parece o no aceptarlas. Otras cosillas si son algún typo o algún error con las dichosas comillas, pero vamos, que la verdad es que está súper :)
#: ../Doc/library/typing.rst:51 | ||
msgid "" | ||
"Type aliases are useful for simplifying complex type signatures. For " | ||
"example::" | ||
msgstr "" | ||
"Los alias de tipo son útiles para simplificar indicadores de tipo complejos. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
para mi signature es una caracterización de algo, algo que lo identifica. Lo unico es que aqui no queda claro creo si lo que es complejo es el indicador, o el tipo (que es el tipo, claro) Y algo así?
Los alias de tipo son útiles para simplificar la anotación de tipado en tipos más complejos (o objetos más complejos, no sé)
Uh oh!
There was an error while loading.Please reload this page.
library/typing.po Outdated
@@ -143,8 +186,15 @@ msgid "" | |||
"treat ``Alias`` as being *exactly equivalent* to ``Original`` in all cases. " | |||
"This is useful when you want to simplify complex type signatures." | |||
msgstr "" | |||
"Recuérdese que el uso de alias de tipo implica que los dos tipos son " | |||
"*equivalentes* entre sí. Haciendo que ``Alias = Original`` provocará que el " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"*equivalentes* entre sí.Haciendo que ``Alias = Original`` provocará que el" | |
"*equivalentes* entre sí.Hacer ``Alias = Original`` provocará que el" |
library/typing.po Outdated
@@ -153,10 +203,16 @@ msgid "" | |||
"``Derived`` is expected. This is useful when you want to prevent logic " | |||
"errors with minimal runtime cost." | |||
msgstr "" | |||
"En cotraste, ``NewType`` de clara un tipo que es *subtipo* de otro. " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"Encotraste, ``NewType`` de clara un tipo que es *subtipo* de otro." | |
"Encontraste, ``NewType`` de clara un tipo que es *subtipo* de otro." |
a mi me gusta en contraste, si acaso, aunque es un poco más formal, como estás comparando con lo anterior, puedes decir en contraposición
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
he puesto "en cambio" al final, ok?
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
#: ../Doc/library/typing.rst:1338 | ||
msgid "" | ||
"A special typing construct to indicate to type checkers that a name cannot " | ||
"be re-assigned or overridden in a subclass. For example::" | ||
msgstr "" | ||
"Un construcción especial para tipado que indica a los validadores de tipo " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"Unconstrucción especial para tipado que indica a los validadores de tipo" | |
"Unconstructo especial para tipado que indica a los validadores de tipo" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
no esconstructor
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
"Un constructor especial"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
yo creo que el término es constructo pero es que puede que venga de mi entorno más científico, donde por ejemplo son constructos de DNA. Se refiere a algo que tú generas. Pero en cualquier caso sería creo construcción, no un constructor.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Claro. Habría que ver más el contexto. Yo lo pensaba como si fuese "el constructor de una clase", así le llamamos al método__init__
de una clase de Python por ejemplo.
Pero tampoco sé si está hablando de eso 🤷♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
En el contexto "construction" significa mecanismo / artefacto / ítem. Se refiere a que "Final" es un algo que sirve para ....
constructo me parece demasiado abstracto, y constructor no tiene sentido.
Uh oh!
There was an error while loading.Please reload this page.
closes#195 |
esta PR esta contra la rama 3.8, es necesario mezclar contra la 3.8.3?@humitos |
La rama 3.8.3 no tiene ningún cambio que falte en la 3.8. Yo creo que esa rama se puede borrar. |
solo hay problemas con el |
@cmaureir como miro/genero el dict? |
He quitado todos los duplicados y el build se hace pare lo considera erroneo, que falta? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
pospell está dando fallos:
library/typing.po:33:linterslibrary/typing.po:43:fundamentealeslibrary/typing.po:245:subíndicelibrary/typing.po:410:Compáreselibrary/typing.po:443:Subtipadolibrary/typing.po:548:covarianteslibrary/typing.po:548:contravarianteslibrary/typing.po:589:subtipadolibrary/typing.po:625:covariantelibrary/typing.po:629:covariantelibrary/typing.po:695:covariantelibrary/typing.po:703:covarianteslibrary/typing.po:892:contravariantelibrary/typing.po:892:covariantelibrary/typing.po:926:ReturnTypelibrary/typing.po:926:contravariantelibrary/typing.po:1014:namedtuplelibrary/typing.po:1083:vialibrary/typing.po:1096:TypedDictlibrary/typing.po:1104:TypedDictlibrary/typing.po:1104:pointlibrary/typing.po:1171:globalslibrary/typing.po:1171:Optionallibrary/typing.po:1233:compáreselibrary/typing.po:1239:sobreescribirlibrary/typing.po:1263:superclaseslibrary/typing.po:1322:onelibrary/typing.po:1322:tricklibrary/typing.po:1322:ponieslibrary/typing.po:1366:plibrary/typing.po:1375:plibrary/typing.po:1379:plibrary/typing.po:1383:plibrary/typing.po:1387:plibrary/typing.po:1409:Optionallibrary/typing.po:1438:Tuplelibrary/typing.po:1459:plibrary/typing.po:1469:Callablelibrary/typing.po:1475:subscripciónlibrary/typing.po:1527:ClassVarThe command "pospell -p dict -l es_AR -l es_ES **/*.po" exited with 255.```
Pero no entiendo bien que pasa, en el dict no hay duplicados …On Tue, Jun 9, 2020, 3:04 PM Raúl Cumplido ***@***.***> wrote: ***@***.**** commented on this pull request. pospell está dando fallos: library/typing.po:33:linters library/typing.po:43:fundamenteales library/typing.po:245:subíndice library/typing.po:410:Compárese library/typing.po:443:Subtipado library/typing.po:548:covariantes library/typing.po:548:contravariantes library/typing.po:589:subtipado library/typing.po:625:covariante library/typing.po:629:covariante library/typing.po:695:covariante library/typing.po:703:covariantes library/typing.po:892:contravariante library/typing.po:892:covariante library/typing.po:926:ReturnType library/typing.po:926:contravariante library/typing.po:1014:namedtuple library/typing.po:1083:via library/typing.po:1096:TypedDict library/typing.po:1104:TypedDict library/typing.po:1104:point library/typing.po:1171:globals library/typing.po:1171:Optional library/typing.po:1233:compárese library/typing.po:1239:sobreescribir library/typing.po:1263:superclases library/typing.po:1322:one library/typing.po:1322:trick library/typing.po:1322:ponies library/typing.po:1366:p library/typing.po:1375:p library/typing.po:1379:p library/typing.po:1383:p library/typing.po:1387:p library/typing.po:1409:Optional library/typing.po:1438:Tuple library/typing.po:1459:p library/typing.po:1469:Callable library/typing.po:1475:subscripción library/typing.po:1527:ClassVar The command "pospell -p dict -l es_AR -l es_ES **/*.po" exited with 255.``` — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#221 (review)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAMOA3YYLT46J3SF23MVAGLRVYXNHANCNFSM4M5LJNAA> . |
pero el dict no está fallando:
Esta fallando pospell 🤔 |
clacri commentedJun 14, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
creo que al arreglarte los conflictos del diccionario he introducido duplicados, pero igualmente tienes también muchas palabras que fallan en el pospell |
como hago para quitarlas? las añado al dict? …On Sun, Jun 14, 2020, 1:35 PM Claudia Millán ***@***.***> wrote: creo que al arreglarte los conflictos del diccionario he introducido duplicados, pero igualmente tienes también muchas palabras que fallan en el pospell: $ pospell -p dict -l es_AR -l es_ES **/ *.po library/typing.po:33:linters library/typing.po:43:fundamenteales library/typing.po:245:subíndice library/typing.po:410:Compárese library/typing.po:443:Subtipado library/typing.po:548:covariantes library/typing.po:548:contravariantes library/typing.po:589:subtipado library/typing.po:625:covariante library/typing.po:629:covariante library/typing.po:695:covariante library/typing.po:703:covariantes library/typing.po:892:contravariante library/typing.po:892:covariante library/typing.po:926:ReturnType library/typing.po:926:contravariante library/typing.po:1014:namedtuple library/typing.po:1083:via library/typing.po:1096:TypedDict library/typing.po:1104:TypedDict library/typing.po:1104:point library/typing.po:1171:globals library/typing.po:1171:Optional library/typing.po:1233:compárese library/typing.po:1239:sobreescribir library/typing.po:1263:superclases library/typing.po:1322:one library/typing.po:1322:trick library/typing.po:1322:ponies library/typing.po:1366:p library/typing.po:1375:p library/typing.po:1379:p library/typing.po:1383:p library/typing.po:1387:p library/typing.po:1409:Optional library/typing.po:1438:Tuple library/typing.po:1459:p library/typing.po:1469:Callable library/typing.po:1475:subscripción library/typing.po:1527:ClassVar The command "pospell -p dict -l es_AR -l es_ES **/*.po" exited with 255. 0.01s$ make dict_dups if [[ $(cat dict| sort | uniq -dc) ]]; then echo -e "\n #######################\n" echo "duplicated lines in the dict file" sort dict | uniq -dc |sort -h exit 1 else echo "no duplicated lines" exit 0 fi ####################### duplicated lines in the dict file 2 kernel 2 Latin 2 octales 2 option Makefile:103: recipe for target 'dict_dups' failed make: *** [dict_dups] Error 1 The command "make dict_dups" exited with 2. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#221 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAMOA3ZGO7ILCNRIQ4YM7JDRWSYYFANCNFSM4M5LJNAA> . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
para mi si no ha cambiado desde la primera revisión (más allá de lo del dict y eso) aprobada :) hago el merge ya?
Errores de mezcla resueltos, por favor mezclen |
Uh oh!
There was an error while loading.Please reload this page.
Traduccion parcial de library/typing
Como es un texto largo y complejo se entrega el primer tercio para ir revisando, así cualquier sugerenecia se puede aplicar a todo el texto.
Se incluyen algunas decisiones tomadas en cuanto a términos.
Hay bastantes fuzzies, será necesario revisarlas en contexto para que tengan sentido.
Closes#195