Skip to content

Completing the built-in functions file (library/functions.po) #254

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 41 commits into from
May 22, 2020
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
af08197
translated filter
clacri May 13, 2020
ee72c14
completed float
clacri May 13, 2020
4cd3ede
solved conflict in dict and spell correction
clacri May 14, 2020
87d6835
Merge branch '3.8' of https://github.com/PyCampES/python-docs-es into…
clacri May 14, 2020
aeac0a7
Merge branch '3.8' of https://github.com/PyCampES/python-docs-es into…
clacri May 14, 2020
bfca466
bytearray, bytes and callable translated
clacri May 14, 2020
7fbcc1d
included format and frozenset
clacri May 15, 2020
8570979
a few more functions on attributes, help, hex, id
clacri May 15, 2020
d396207
it is too late. a few more translations
clacri May 16, 2020
645ed8e
included compile
clacri May 16, 2020
3d5a682
included a new script for percentage in library and the function divmod
clacri May 16, 2020
0d47e45
solving conflicts in dict after pulling
clacri May 17, 2020
293e184
completed a few more functions
clacri May 17, 2020
43bc864
tryng to solve build error message
clacri May 18, 2020
a3f510a
tryng to solve build error message
clacri May 18, 2020
39a08de
Merge branch '3.8' into claudia_finish_functions
clacri May 20, 2020
25be159
Update library/functions.po
clacri May 21, 2020
8815992
Update library/functions.po
clacri May 21, 2020
8d08792
Update library/functions.po
clacri May 21, 2020
e75af86
Update library/functions.po
clacri May 21, 2020
6874df2
Update library/functions.po
clacri May 21, 2020
3b8bc18
Update library/functions.po
clacri May 21, 2020
0294066
Update library/functions.po
clacri May 21, 2020
afc783a
Update library/functions.po
clacri May 21, 2020
8145d39
Update library/functions.po
clacri May 21, 2020
a82dcb5
Update library/functions.po
clacri May 21, 2020
7f40efc
Update library/functions.po
clacri May 21, 2020
2d96ac5
Update library/functions.po
clacri May 21, 2020
2066f07
Update library/functions.po
clacri May 21, 2020
67777da
Update library/functions.po
clacri May 21, 2020
aa55e52
Update library/functions.po
clacri May 21, 2020
96503bd
Merge branch '3.8' into claudia_finish_functions
clacri May 21, 2020
f5efe2b
Update library/functions.po
clacri May 21, 2020
a65cc7d
Update library/functions.po
clacri May 21, 2020
96c2ea7
Update library/functions.po
clacri May 21, 2020
b1b6d57
added a few terms to memory and some corrections
clacri May 21, 2020
729b8a9
Merge branch 'claudia_finish_functions' of https://github.com/PyCampE…
clacri May 21, 2020
9f45960
tryng to solve build
clacri May 22, 2020
bbb6f18
Update library/functions.po
clacri May 22, 2020
17fa9cf
Remove duplicated entries that do not exist in the original
humitos May 22, 2020
664cc5d
Update library/functions.po from English source
humitos May 22, 2020
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
a few more functions on attributes, help, hex, id
  • Loading branch information
clacri committed May 15, 2020
commit 8570979f7bf202e1ae03641a7d0d8379307a8ec9
59 changes: 58 additions & 1 deletion library/functions.po
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Python 3.8\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-07 14:37+0200\n"
"PO-Revision-Date: 2020-05-15 18:57+0200\n"
"PO-Revision-Date: 2020-05-16 01:49+0200\n"
"Last-Translator: \n"
"Language: es\n"
"Language-Team: python-doc-esMIME-Version: 1.0\n"
Expand Down Expand Up @@ -1233,6 +1233,12 @@ msgid ""
"exist, *default* is returned if provided, otherwise :exc:`AttributeError` is "
"raised."
msgstr ""
"Devuelve el valor del atributo nombrado de *object*. *name* debe ser una "
"cadena. Si la cadena es el nombre de uno de los atributos del objeto, el "
"resultado es el valor de ese atributo. Por ejemplo, ``getattr(x, ‘foobar’)`` "
"es equivalente a ``x.foobar``. Si el atributo nombrado no existe, se "
"devuelve *default* si ha sido proporcionado como argumento, y sino se lanza "
"una excepción :exc:`AttributeError`."

#: ../Doc/library/functions.rst:682
msgid ""
Expand All @@ -1241,6 +1247,9 @@ msgid ""
"this is the module where it is defined, not the module from which it is "
"called)."
msgstr ""
"Devuelve un diccionario que representa la tabla global de símbolos. Es "
"siempre el diccionario del módulo actual (dentro de una función o método, "
"este es el módulo donde está definida, no el módulo desde el que es llamada)."

#: ../Doc/library/functions.rst:689
msgid ""
Expand All @@ -1249,21 +1258,37 @@ msgid ""
"(This is implemented by calling ``getattr(object, name)`` and seeing whether "
"it raises an :exc:`AttributeError` or not.)"
msgstr ""
"Los argumentos son un objeto y una cadena. El resultado es ``True`` si la "
"cadena es el nombre de uno de los atributos del objeto, y ``False`` en caso "
"contrario. (Está implementado mediante una llamada a ``getattr(object, "
"name)`` que comprueba si se lanza una excepción :exc:`AttributeError` o no)."

# no estoy segura de si valor hash es correcto, pero es uno de esos términos que me suenan mejor en inglés
#: ../Doc/library/functions.rst:697
#, fuzzy
msgid ""
"Return the hash value of the object (if it has one). Hash values are "
"integers. They are used to quickly compare dictionary keys during a "
"dictionary lookup. Numeric values that compare equal have the same hash "
"value (even if they are of different types, as is the case for 1 and 1.0)."
msgstr ""
"Devuelve el valor hash del objeto (si tiene uno). Los valores has son "
"enteros. Se usan para comparar de forma rápida claves de diccionarios "
"durante las operaciones de búsqueda. Valores numéricos que son iguales "
"tienen el mismo valor has (incluso si son de tipos diferentes, como es el "
"caso para 1 y 1.0)."

# tasa de bits…. creo que es el término correcto por lo que he buscado. Máquina anfitriona tengo serias dudas, pero host me resultaba demasiado spanglish…
#: ../Doc/library/functions.rst:704
#, fuzzy
msgid ""
"For objects with custom :meth:`__hash__` methods, note that :func:`hash` "
"truncates the return value based on the bit width of the host machine. See :"
"meth:`__hash__` for details."
msgstr ""
"Para objetos que implementan métodos :meth:`__hash__`, ten en cuenta que :"
"func:`hash` trunca el valor de retorno en base a la tasa de bits de la "
"máquina anfitriona. Ver :meth:`__hash__` para más detalles."

#: ../Doc/library/functions.rst:710
msgid ""
Expand All @@ -1274,6 +1299,13 @@ msgid ""
"documentation topic, and a help page is printed on the console. If the "
"argument is any other kind of object, a help page on the object is generated."
msgstr ""
"Invoca el sistema de ayuda integrado (built-in). (Esta función está indicada "
"para su uso interactivo). Si no se le da argumento, el sistema interactivo "
"de ayuda se inicia en la consola del intérprete. Si el argumento es una "
"cadena, entonces es buscada como nombre de un módulo, función, clase, "
"método, palabra clave o tema de documentación, y una página de ayuda es "
"impresa en la consola. Si el argumento es cualquier otro tipo de objeto, una "
"página de ayuda sobre el objeto es generada."

#: ../Doc/library/functions.rst:717
msgid ""
Expand All @@ -1282,43 +1314,64 @@ msgid ""
"positional-only. For more info, see :ref:`the FAQ entry on positional-only "
"parameters <faq-positional-only-arguments>`."
msgstr ""
"Ten en cuenta que si una barra(/) aparece en la lista de parámetros de una "
"función, al invocar :func:`help` significa que los parámetros anteriores a "
"la barra son solo posicionales. Para más información, puedes ver :ref:`the "
"FAQ entry on positional-only parameters <faq-positional-only-arguments>`."

#: ../Doc/library/functions.rst:722
msgid ""
"This function is added to the built-in namespace by the :mod:`site` module."
msgstr ""
"Esta función se añade al espacio de nombres built-in a través del módulo :"
"mod:`site`."

# no estoy muy segura de lo de callables por invocables
#: ../Doc/library/functions.rst:724
#, fuzzy
msgid ""
"Changes to :mod:`pydoc` and :mod:`inspect` mean that the reported signatures "
"for callables are now more comprehensive and consistent."
msgstr ""
"Cambios a los módulos :mod:`pydoc` y :mod:`inspect` implican que las firmas "
"reportadas para objetos invocables son más completas y consistentes."

#: ../Doc/library/functions.rst:731
msgid ""
"Convert an integer number to a lowercase hexadecimal string prefixed with "
"\"0x\". If *x* is not a Python :class:`int` object, it has to define an :"
"meth:`__index__` method that returns an integer. Some examples:"
msgstr ""
"Convierte un número entero a una cadena hexadecimal de minúsculas con el "
"prefijo “0x”. Si *x* no es un objeto de la clase Python :class:`int`, tiene "
"que definir un método :meth:`__index__` que devuelva un entero. Algunos "
"ejemplos:"

#: ../Doc/library/functions.rst:740
msgid ""
"If you want to convert an integer number to an uppercase or lower "
"hexadecimal string with prefix or not, you can use either of the following "
"ways:"
msgstr ""
"Si quieres convertir un número entero a una cadena hexadecimal de mayúsculas "
"o minúsculas con prefijo o sin el, puedes usar cualquiera de las siguientes "
"formas:"

#: ../Doc/library/functions.rst:752
msgid ""
"See also :func:`int` for converting a hexadecimal string to an integer using "
"a base of 16."
msgstr ""
"Ver también :func:`int` para convertir una cadena hexadecimal a un entero "
"usando una base de 16."

#: ../Doc/library/functions.rst:757
msgid ""
"To obtain a hexadecimal string representation for a float, use the :meth:"
"`float.hex` method."
msgstr ""
"Para obtener una cadena hexadecimal que represente un punto flotante, "
"utiliza el método :meth:`float.hex`."

#: ../Doc/library/functions.rst:763
msgid ""
Expand All @@ -1327,6 +1380,10 @@ msgid ""
"Two objects with non-overlapping lifetimes may have the same :func:`id` "
"value."
msgstr ""
"Devuelve la “identidad” de un objeto. Esto es un entero que está garantizado "
"que es único y constante para este objeto durante toda su existencia. Dos "
"objetos con existencias en el tiempo que no coincidan pueden tener el mismo "
"valor de :func:`id`."

#: ../Doc/library/functions.rst:773
msgid ""
Expand Down