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

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

Merged
clacri merged 22 commits intopython:3.8fromhectorcanto:traducir_library_typing#195
Jun 25, 2020
Merged

Traducir library typing#195#221

clacri merged 22 commits intopython:3.8fromhectorcanto:traducir_library_typing#195
Jun 25, 2020

Conversation

hectorcanto
Copy link
Contributor

@hectorcantohectorcanto commentedMay 10, 2020
edited by humitos
Loading

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

Copy link
Collaborator

@humitoshumitos left a 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.


#: ../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. "
Copy link
Collaborator

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?

hectorcanto reacted with eyes emoji
Copy link
Contributor

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é)

hectorcanto reacted with eyes emoji
Copy link
ContributorAuthor

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.

Copy link
Contributor

@clacriclacri left a 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 :)

hectorcanto reacted with thumbs up emoji

#: ../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. "
Copy link
Contributor

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é)

hectorcanto reacted with eyes emoji
@@ -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 "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
"*equivalentes* entre sí.Haciendo que ``Alias = Original`` provocará que el"
"*equivalentes* entre sí.Hacer ``Alias = Original`` provocará que el"

@@ -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. "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
"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

Copy link
ContributorAuthor

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?


#: ../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 "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Suggested change
"Unconstrucción especial para tipado que indica a los validadores de tipo"
"Unconstructo especial para tipado que indica a los validadores de tipo"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

no esconstructor?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

"Un constructor especial"

Copy link
Contributor

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.

Copy link
Collaborator

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 🤷‍♂️

Copy link
ContributorAuthor

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.

@hectorcanto
Copy link
ContributorAuthor

Me pongo a incorporar sus indicaciones, gracias@humitos y@clacri

humitos reacted with rocket emoji

@hectorcantohectorcanto marked this pull request as ready for reviewMay 23, 2020 18:28
@hectorcanto
Copy link
ContributorAuthor

closes#195

@hectorcanto
Copy link
ContributorAuthor

esta PR esta contra la rama 3.8, es necesario mezclar contra la 3.8.3?@humitos

@raulcd
Copy link
Collaborator

La rama 3.8.3 no tiene ningún cambio que falte en la 3.8. Yo creo que esa rama se puede borrar.

@cmaureir
Copy link
Collaborator

solo hay problemas con eldict, yo creo que si agregas un par de palabras ya estamos :)

hectorcanto reacted with thumbs up emoji

@hectorcanto
Copy link
ContributorAuthor

@cmaureir como miro/genero el dict?

@hectorcanto
Copy link
ContributorAuthor

He quitado todos los duplicados y el build se hace pare lo considera erroneo, que falta?

Copy link
Collaborator

@raulcdraulcd left a 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.```

@hectorcanto
Copy link
ContributorAuthor

hectorcanto commentedJun 9, 2020 via email

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> .

@raulcd
Copy link
Collaborator

pero el dict no está fallando:

$ make dict_dupsif [[ $(cat dict| sort | uniq -dc) ]]; thenecho -e "\n #######################\n"echo "duplicated lines in the dict file"sort dict | uniq -dc |sort -hexit 1elseecho "no duplicated lines"exit 0fino duplicated linesThe command "make dict_dups" exited with 0.

Esta fallando pospell 🤔

@clacri
Copy link
Contributor

clacri commentedJun 14, 2020
edited
Loading

creo que al arreglarte los conflictos del diccionario he introducido duplicados, pero igualmente tienes también muchas palabras que fallan en el pospell

@hectorcanto
Copy link
ContributorAuthor

hectorcanto commentedJun 14, 2020 via email

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> .

@hectorcanto
Copy link
ContributorAuthor

@raulcd@clacri todos los problemas solucionados, se aprueba?

Copy link
Contributor

@clacriclacri left a 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?

@hectorcanto
Copy link
ContributorAuthor

Errores de mezcla resueltos, por favor mezclen

@clacriclacri merged commit431f291 intopython:3.8Jun 25, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@humitoshumitoshumitos left review comments

@raulcdraulcdraulcd left review comments

@clacriclacriclacri approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Translatelibrary/typing.po
5 participants
@hectorcanto@raulcd@cmaureir@clacri@humitos

[8]ページ先頭

©2009-2025 Movatter.jp