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

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
humitos merged 41 commits into3.8fromclaudia_finish_functions
May 22, 2020
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
41 commits
Select commitHold shift + click to select a range
af08197
translated filter
clacriMay 13, 2020
ee72c14
completed float
clacriMay 13, 2020
4cd3ede
solved conflict in dict and spell correction
clacriMay 14, 2020
87d6835
Merge branch '3.8' of https://github.com/PyCampES/python-docs-es into…
clacriMay 14, 2020
aeac0a7
Merge branch '3.8' of https://github.com/PyCampES/python-docs-es into…
clacriMay 14, 2020
bfca466
bytearray, bytes and callable translated
clacriMay 14, 2020
7fbcc1d
included format and frozenset
clacriMay 15, 2020
8570979
a few more functions on attributes, help, hex, id
clacriMay 15, 2020
d396207
it is too late. a few more translations
clacriMay 16, 2020
645ed8e
included compile
clacriMay 16, 2020
3d5a682
included a new script for percentage in library and the function divmod
clacriMay 16, 2020
0d47e45
solving conflicts in dict after pulling
clacriMay 17, 2020
293e184
completed a few more functions
clacriMay 17, 2020
43bc864
tryng to solve build error message
clacriMay 18, 2020
a3f510a
tryng to solve build error message
clacriMay 18, 2020
39a08de
Merge branch '3.8' into claudia_finish_functions
clacriMay 20, 2020
25be159
Update library/functions.po
clacriMay 21, 2020
8815992
Update library/functions.po
clacriMay 21, 2020
8d08792
Update library/functions.po
clacriMay 21, 2020
e75af86
Update library/functions.po
clacriMay 21, 2020
6874df2
Update library/functions.po
clacriMay 21, 2020
3b8bc18
Update library/functions.po
clacriMay 21, 2020
0294066
Update library/functions.po
clacriMay 21, 2020
afc783a
Update library/functions.po
clacriMay 21, 2020
8145d39
Update library/functions.po
clacriMay 21, 2020
a82dcb5
Update library/functions.po
clacriMay 21, 2020
7f40efc
Update library/functions.po
clacriMay 21, 2020
2d96ac5
Update library/functions.po
clacriMay 21, 2020
2066f07
Update library/functions.po
clacriMay 21, 2020
67777da
Update library/functions.po
clacriMay 21, 2020
aa55e52
Update library/functions.po
clacriMay 21, 2020
96503bd
Merge branch '3.8' into claudia_finish_functions
clacriMay 21, 2020
f5efe2b
Update library/functions.po
clacriMay 21, 2020
a65cc7d
Update library/functions.po
clacriMay 21, 2020
96c2ea7
Update library/functions.po
clacriMay 21, 2020
b1b6d57
added a few terms to memory and some corrections
clacriMay 21, 2020
729b8a9
Merge branch 'claudia_finish_functions' of https://github.com/PyCampE…
clacriMay 21, 2020
9f45960
tryng to solve build
clacriMay 22, 2020
bbb6f18
Update library/functions.po
clacriMay 22, 2020
17fa9cf
Remove duplicated entries that do not exist in the original
humitosMay 22, 2020
664cc5d
Update library/functions.po from English source
humitosMay 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
PrevPrevious commit
NextNext commit
included a new script for percentage in library and the function divmod
  • Loading branch information
@clacri
clacri committedMay 16, 2020
commit3d5a6828b7359ff1406c4c9bcbf98ff6ad214f2c
3 changes: 3 additions & 0 deletionsdict
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -143,6 +143,7 @@ command
compilada
computacionalmente
consolelib
conversor
corrutina
corrutinas
criptográficamente
Expand DownExpand Up@@ -221,6 +222,7 @@ invocable
invocables
iterador
iteradores
j
json
l
letter
Expand DownExpand Up@@ -250,6 +252,7 @@ ncurses
nonlocal
object
onexit
operandos
option
or
os
Expand Down
38 changes: 36 additions & 2 deletionslibrary/functions.po
View file
Open in desktop
Original file line numberDiff line numberDiff 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-16 18:26+0200\n"
"PO-Revision-Date: 2020-05-16 18:50+0200\n"
"Last-Translator: \n"
"Language: es\n"
"Language-Team: python-doc-esMIME-Version: 1.0\n"
Expand DownExpand Up@@ -807,6 +807,14 @@ msgid ""
"conversion like :class:`int` and :class:`float`. If both arguments are "
"omitted, returns ``0j``."
msgstr ""
"Devuelve el número complejo con el valor *real* + *imag*\\*1j o convierte "
"una cadena o un número a un número complejo. Si el primer parámetro es una "
"cadena, será interpretada como un número complejo y la función debe ser "
"llamada sin un segundo parámetro. El segundo parámetro nunca puede ser una "
"cadena. Cada argumento puede ser de cualquier tipo numérico (incluyendo "
"*complex*). Si se omite *imag*, su valor por defecto es cero y el "
"constructor sirve como un conversor numérico como :class:`int` y :class:"
"`float`. Si ambos argumentos son omitidos, devuelve ``0j``."

#: ../Doc/library/functions.rst:323
msgid ""
Expand All@@ -815,28 +823,40 @@ msgid ""
"meth:`__float__`. If ``__float__()`` is not defined then it falls back to :"
"meth:`__index__`."
msgstr ""
"Para un objeto general de Python ``x``, ``complex(x)`` delega a ``x."
"__complex__()``. Si ``__complex__()`` no está definida entonces llama a :"
"meth:`__float__`. Si ``__float__()`` no está definida entonces llama a :"
"meth:`__index__`."

#: ../Doc/library/functions.rst:330
msgid ""
"When converting from a string, the string must not contain whitespace around "
"the central ``+`` or ``-`` operator. For example, ``complex('1+2j')`` is "
"fine, but ``complex('1 + 2j')`` raises :exc:`ValueError`."
msgstr ""
"Cuando se convierte desde una cadena, la cadena no debe contener espacios en "
"blanco alrededor de los operadores centrales ``+`` or ``-``. Por ejemplo, "
"``complex(‘1+2j’)`` es correcto, pero ``complex(‘1 + 2j’)`` lanza :exc:"
"`ValueError`."

#: ../Doc/library/functions.rst:335
msgid "The complex type is described in :ref:`typesnumeric`."
msgstr ""
msgstr "El tipo complejo está descrito en :ref:`typesnumeric`."

#: ../Doc/library/functions.rst:337 ../Doc/library/functions.rst:622
#: ../Doc/library/functions.rst:829
msgid "Grouping digits with underscores as in code literals is allowed."
msgstr ""
"Agrupar dígitos con guiones bajos como en los literales de código está "
"permitido."

#: ../Doc/library/functions.rst:340
msgid ""
"Falls back to :meth:`__index__` if :meth:`__complex__` and :meth:`__float__` "
"are not defined."
msgstr ""
"Recurre a :meth:`__index__` si :meth:`__complex__` y :meth:`__float__` no "
"están definidos."

#: ../Doc/library/functions.rst:347
msgid ""
Expand All@@ -845,6 +865,11 @@ msgid ""
"function deletes the named attribute, provided the object allows it. For "
"example, ``delattr(x, 'foobar')`` is equivalent to ``del x.foobar``."
msgstr ""
"Esta función está emparentada con :func:`setattr`. Los argumentos son un "
"objeto y una cadena. La cadena debe ser el mismo nombre que alguno de los "
"atributos del objeto. La función elimina el atributo nombrado, si es que el "
"objeto lo permite. Por ejemplo ``delattr(x, ‘foobar’)`` es equivalente a "
"``del x.foobar``."

#: ../Doc/library/functions.rst:359
msgid ""
Expand DownExpand Up@@ -965,6 +990,15 @@ msgid ""
"is very close to *a*, if ``a % b`` is non-zero it has the same sign as *b*, "
"and ``0 <= abs(a % b) < abs(b)``."
msgstr ""
"Toma dos números (no complejos) como argumentos y devuelve un par de números "
"consistente en su cociente y su resto al emplear división de enteros. Con "
"operandos de tipos diferentes, se aplican las reglas de los operadores "
"aritméticos binarios. Para enteros, el resultado es el mismo que ``(a // b, "
"a % b)``. Para números de punto flotante el resultado es ``(q, a % b)``, "
"donde *q* normalmente es ``math.floor(a / b)`` pero puede ser uno menos que "
"eso. En cualquier caso ``q * b + a % b`` es muy cercano a *a*, si ``a % b`` "
"es distinto de cero y tiene el mismo signo que *b*, y ``0 <= abs(a % b) < "
"abs(b)``."

#: ../Doc/library/functions.rst:436
msgid ""
Expand Down
23 changes: 23 additions & 0 deletionsscripts/print_percentage_library.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env python

import glob
import os

import polib # fades

PO_DIR = os.path.abspath(
os.path.join(
os.path.dirname(__file__),
'..',
))


def main():
for pofilename in sorted(glob.glob(PO_DIR + '**/library/*.po')):
po = polib.pofile(pofilename)
file_per = po.percent_translated()
print(f"{pofilename} ::: {file_per}%")


if __name__ == "__main__":
main()

[8]ページ先頭

©2009-2025 Movatter.jp