Skip to content

Traducido c-api/unicode #145

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 4 commits into from
May 24, 2020
Merged

Traducido c-api/unicode #145

merged 4 commits into from
May 24, 2020

Conversation

cmaureir
Copy link
Collaborator

@cmaureir cmaureir commented May 9, 2020

Esto tendrá muchos errores, pero quiero ver el problema de las palabras sueltas primero para ver si tengo que agregar excepciones al dict.

Closes #137

raulcd
raulcd previously requested changes May 9, 2020
Copy link
Collaborator

@raulcd raulcd left a comment

Choose a reason for hiding this comment

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

Se le debería dar un repaso a pospell:

The command "powrap --check --quiet **/*.po" exited with 0.
92.39s$ pospell -p dict -l es_AR -l es_ES **/*.po
<rst-doc>:1: (WARNING/2) Inline literal start-string without end-string.
<rst-doc>:1: (WARNING/2) Inline literal start-string without end-string. while parsing: Rellena una cadena con un carácter: escriba *fill_char* en ``unicode[inicio:inicio+longitud] ``.
c-api/unicode.po:27:Códecs
c-api/unicode.po:225:PyUnicode
c-api/unicode.po:432:imprimibles
c-api/unicode.po:432:imprimibles
c-api/unicode.po:546:redimensionar
c-api/unicode.po:892:formateador
c-api/unicode.po:892:formateador
c-api/unicode.po:907:especificadores
c-api/unicode.po:907:ld
c-api/unicode.po:907:li
c-api/unicode.po:907:lu
c-api/unicode.po:907:lld
c-api/unicode.po:907:lli
c-api/unicode.po:907:llu
c-api/unicode.po:907:zd
c-api/unicode.po:907:zi
c-api/unicode.po:907:zu
c-api/unicode.po:907:i
c-api/unicode.po:925:formateadores
c-api/unicode.po:934:Identico
c-api/unicode.po:991:unicode
c-api/unicode.po:1046:subcadena
c-api/unicode.po:1250:Android
c-api/unicode.po:1283:Android
c-api/unicode.po:1303:Android
c-api/unicode.po:1331:Android
c-api/unicode.po:1365:ParseTuple
c-api/unicode.po:1394:ParseTuple
c-api/unicode.po:1394:objetosobtenidos
c-api/unicode.po:1394:interfaza
c-api/unicode.po:1443:c
c-api/unicode.po:1443:c
c-api/unicode.po:1562:Códecs
c-api/unicode.po:1566:códecs
c-api/unicode.po:1566:códecs
c-api/unicode.po:1604:códec
c-api/unicode.po:1604:códecs
c-api/unicode.po:1604:strict
c-api/unicode.po:1615:códecs
c-api/unicode.po:1623:Códecs
c-api/unicode.po:1623:genericos
c-api/unicode.po:1627:códecs
c-api/unicode.po:1627:genericos
c-api/unicode.po:1631:códec
c-api/unicode.po:1631:códec
c-api/unicode.po:1631:códec
c-api/unicode.po:1645:códec
c-api/unicode.po:1645:códec
c-api/unicode.po:1645:códec
c-api/unicode.po:1659:códec
c-api/unicode.po:1659:códec
c-api/unicode.po:1659:códec
c-api/unicode.po:1681:Códecs
c-api/unicode.po:1685:códec
c-api/unicode.po:1689:códec
c-api/unicode.po:1709:strict
c-api/unicode.po:1709:códec
c-api/unicode.po:1741:desasignar
c-api/unicode.po:1759:códec
c-api/unicode.po:1779:Códecs
c-api/unicode.po:1783:códecs
c-api/unicode.po:1787:strict
c-api/unicode.po:1826:códec
c-api/unicode.po:1831:códec
c-api/unicode.po:1851:strict
c-api/unicode.po:1851:códec
c-api/unicode.po:1896:Códecs
c-api/unicode.po:1900:códecs
c-api/unicode.po:1904:strict
c-api/unicode.po:1945:strict
c-api/unicode.po:1945:códec
c-api/unicode.po:1983:Códecs
c-api/unicode.po:1987:códec
c-api/unicode.po:1991:códec
c-api/unicode.po:2011:códec
c-api/unicode.po:2021:códec
c-api/unicode.po:2021:utf
c-api/unicode.po:2033:Códecs
c-api/unicode.po:2037:códecs
c-api/unicode.po:2041:códec
c-api/unicode.po:2050:códec
c-api/unicode.po:2060:códec
c-api/unicode.po:2078:Códecs
c-api/unicode.po:2082:códec
c-api/unicode.po:2087:códec
c-api/unicode.po:2096:códec
c-api/unicode.po:2106:códec
c-api/unicode.po:2126:Códecs
c-api/unicode.po:2126:Latin
c-api/unicode.po:2130:códec
c-api/unicode.po:2130:Latin
c-api/unicode.po:2130:Latin
c-api/unicode.po:2130:códecs
c-api/unicode.po:2139:latin
c-api/unicode.po:2139:códec
c-api/unicode.po:2148:Latin
c-api/unicode.po:2148:códec
c-api/unicode.po:2158:Latin
c-api/unicode.po:2158:códec
c-api/unicode.po:2177:Códecs
c-api/unicode.po:2181:códec
c-api/unicode.po:2189:códec
c-api/unicode.po:2197:códec
c-api/unicode.po:2207:códec
c-api/unicode.po:2225:Códecs
c-api/unicode.po:2229:códec
c-api/unicode.po:2229:códecs
c-api/unicode.po:2229:códecs
c-api/unicode.po:2229:códec
c-api/unicode.po:2245:códec
c-api/unicode.po:2249:códec
c-api/unicode.po:2259:Latin
c-api/unicode.po:2276:códec
c-api/unicode.po:2299:códec
c-api/unicode.po:2318:códec
c-api/unicode.po:2322:códec
c-api/unicode.po:2345:códec
c-api/unicode.po:2365:Códecs
c-api/unicode.po:2369:códec
c-api/unicode.po:2369:Win
c-api/unicode.po:2369:códec
c-api/unicode.po:2382:códec
c-api/unicode.po:2402:códec
c-api/unicode.po:2412:códec
c-api/unicode.po:2423:códec
c-api/unicode.po:2470:subcadenas
c-api/unicode.po:2523:códecs
The command "pospell -p dict -l es_AR -l es_ES **/*.po" exited with 255.

Copy link
Contributor

@hectorcanto hectorcanto left a comment

Choose a reason for hiding this comment

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

He hecho una revisión intensa de este fichero. En general está muy bien conseguido y solo he visto problemas en algunos conceptos ultraprofundos, y otros menores.


#: ../Doc/c-api/unicode.rst:57
msgid ""
"This is a typedef of :c:type:`wchar_t`, which is a 16-bit type or 32-bit "
"type depending on the platform."
msgstr ""
"Este es una definición de tipo (*typedef*) de :c:type:`wchar_t`, que es un "
"tipo de 16 bits o de 32 bits dependiendo de la plataforma."
Copy link
Contributor

Choose a reason for hiding this comment

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

quizá: coma antes de "dependiendo de la plataforma" (es una aclaración)

Comment on lines +498 to +520
msgstr "Estas API se pueden usar para trabajar con sustitutos:"

#: ../Doc/c-api/unicode.rst:366
msgid "Check if *ch* is a surrogate (``0xD800 <= ch <= 0xDFFF``)."
msgstr ""
msgstr "Comprueba si *ch* es un sustituto (``0xD800 <= ch <= 0xDFFF``)."

#: ../Doc/c-api/unicode.rst:370
msgid "Check if *ch* is a high surrogate (``0xD800 <= ch <= 0xDBFF``)."
msgstr ""
msgstr "Comprueba si *ch* es un sustituto alto (``0xD800 <= ch <= 0xDFFF``)."

#: ../Doc/c-api/unicode.rst:374
msgid "Check if *ch* is a low surrogate (``0xDC00 <= ch <= 0xDFFF``)."
msgstr ""
msgstr "Comprueba si *ch* es un sustituto bajo (``0xD800 <= ch <= 0xDFFF``)."

#: ../Doc/c-api/unicode.rst:378
msgid ""
"Join two surrogate characters and return a single Py_UCS4 value. *high* and "
"*low* are respectively the leading and trailing surrogates in a surrogate "
"pair."
msgstr ""
"Une dos caracteres sustitutos y retorna un solo valor Py_UCS4. *high* y "
"*low* son respectivamente los sustitutos iniciales y finales en un par "
"sustituto."
Copy link
Contributor

Choose a reason for hiding this comment

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

Según la wikipedia, [pair subrotages] es pares subrogados: https://www.wikiwand.com/es/UTF-16#/Pares_subrogados
Por la tanto, se debería substituír y añadir a la memoria de traduccion (.overrides/translation_memory.rst)

@cmaureir
Copy link
Collaborator Author

cmaureir commented May 9, 2020

wua! muchas gracias por sus comentarios. Me esperaba muchas cosas mal con este archivo porque era muy largo y me dediqué casi todo un día en hacerlo...con lo que voy a intentar mergear los otros PR antes de volver a este.

Co-authored-by: Héctor Canto <hectorcanto@gmail.com>
@cmaureir cmaureir force-pushed the traduccion-unicode branch from 327c745 to d887857 Compare May 23, 2020 15:13
@gilgamezh gilgamezh dismissed raulcd’s stale review May 24, 2020 18:03

pospell está ok ahora y el build pasa :-)

Copy link
Collaborator

@gilgamezh gilgamezh left a comment

Choose a reason for hiding this comment

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

gracias!

@gilgamezh gilgamezh merged commit ecf7f1e into python:3.8 May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Translate c-api/unicode.po
4 participants