-
Notifications
You must be signed in to change notification settings - Fork 397
Traduccion library/sqlite3 #430
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
Changes from 12 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
ce99ee4
Iniciando.
3fb419a
Create a database in disk or in memory
a01739c
Inicio con métodos y constantes
9adf6f5
12%
793473f
15%
45ca2ce
19% Finishing Class connect, i. e. latin expression used in spanish too
a2a021b
21%
8c02d2f
Update library/sqlite3.po
G0erman 6ccede0
Update library/sqlite3.po
G0erman 98af293
Update library/sqlite3.po
G0erman 2e0e84a
Update library/sqlite3.po
G0erman aa29ade
Update library/sqlite3.po
G0erman d07a55f
Update library/sqlite3.po
G0erman fe006af
Update library/sqlite3.po
G0erman 22e267f
Update library/sqlite3.po
G0erman b0b5246
Update library/sqlite3.po
G0erman c9cadc5
Update library/sqlite3.po
G0erman 87c0fa3
Update library/sqlite3.po
G0erman 77bc1f4
Update library/sqlite3.po
G0erman 0c43455
Update library/sqlite3.po
G0erman 832ade3
Update library/sqlite3.po
G0erman a765ada
Update library/sqlite3.po
G0erman 9f5b6f4
Update library/sqlite3.po
G0erman 13f709c
Update library/sqlite3.po
G0erman 58bfd38
Update library/sqlite3.po
G0erman 1e4d1ee
Update library/sqlite3.po
G0erman e6a57cd
Update library/sqlite3.po
G0erman 6aba76b
Agregando recomendaciones del draft pull request
2eeef71
Update library/sqlite3.po
G0erman c3d7398
Update library/sqlite3.po
G0erman b9596cd
Update library/sqlite3.po
G0erman badb699
Update library/sqlite3.po
G0erman 694e1c6
Update library/sqlite3.po
G0erman 1fb3409
Update library/sqlite3.po
G0erman 1fe0317
Update library/sqlite3.po
G0erman f9ddbe2
Update library/sqlite3.po
G0erman f9e5c21
Update library/sqlite3.po
G0erman 1018280
Update library/sqlite3.po
G0erman ce65895
Update library/sqlite3.po
G0erman 3603a91
Actualizar local con draft request feedback
4279d6a
Se agregan exclusiones para archivos segundarios de vim
22f480e
Se aplican cambios según feedback de draft pull request
4a10eee
24%, se excluye modificación al archivo .gitignore y se agrega en ot…
0b581a5
Merge branch 'traduccion-sqlite3' of github.com:G0erman/python-docs-e…
0e8aed3
Merge branch '3.8' of https://github.com/python/python-docs-es into t…
e4d39c1
30%
578766f
35%: métodos de la clase Connection: create_aggregate, create_collati…
G0erman b466fe0
35%: métodos de la clase Connection: create_aggregate, create_collati…
G0erman 79733c3
Resolver issue travis
G0erman 8e29d02
40%: Métodos de la clase connection: set_progress_handler, set_trace_…
G0erman f31e4bf
Corrección errores
G0erman 7fe3a62
40%: Método de la clase connection: row_factory
G0erman 9fb9e31
Corrección errores travis
G0erman 096701c
Palabras que rompen la compilación
G0erman a95f158
47% Últimos métodos de la clase Connection: text_factory, total_chang…
G0erman acc2f46
Se cambia palabra mandatorio por obligatorio, apesar de que mandatori…
G0erman 57ac065
50%: Objetos de la clase cursor: execute
G0erman 366e9ee
Corrección de indentación con powrap en mobaXterm sobre Windows
G0erman caa3611
60%: Objetos de la clase cursor: execute, executemany, executescript,…
G0erman d368fbc
64%: Clase Row, método keys
G0erman fe1680c
68%: Excepciones: Warning, Error, DatabaseError, IntegrityError, Prog…
G0erman b05e959
77%: Tipos de Python y SQLite
G0erman 7a20a72
78%: Usando adaptadores para almacenar tipos adicionales de Python en…
G0erman 6618d0f
80%: Adaptadores auto adaptables
G0erman 30bec25
93%: Controlando transacciones
G0erman 48cb6a1
94%: Usando métodos atajo
G0erman cecab43
96%: Accediendo a las columnas por nombre enlugar de índice
G0erman 6dcaef2
100%: Problemas comunes
G0erman ee2654c
Update library/sqlite3.po
G0erman ad74ee8
Update library/sqlite3.po
G0erman 55263e8
Update library/sqlite3.po
G0erman d219bd3
Update library/sqlite3.po
G0erman 1e10dec
Update library/sqlite3.po
G0erman 9005f1c
Update library/sqlite3.po
G0erman 14849a3
Update library/sqlite3.po
G0erman 6fccf12
Update library/sqlite3.po
G0erman 8921584
Update library/sqlite3.po
G0erman b698936
Update library/sqlite3.po
G0erman 3fcc69b
Update library/sqlite3.po
G0erman 6d6762c
Update library/sqlite3.po
G0erman cb07fa6
Update library/sqlite3.po
G0erman 60a9214
Update library/sqlite3.po
G0erman 107a8ab
Update library/sqlite3.po
G0erman 6d7e49c
Update library/sqlite3.po
G0erman b05bab1
Update library/sqlite3.po
G0erman 464f9a7
Update library/sqlite3.po
G0erman 666ce49
Update library/sqlite3.po
G0erman 146be31
Update library/sqlite3.po
G0erman 26be357
Apply suggestions from code review
G0erman e94ec4c
Se agrega palabra commit
G0erman 364848e
Solucionar problema powrap en Windows
G0erman 9655f1b
Apply suggestions from code review
G0erman 600d659
Update library/sqlite3.po
G0erman c780054
Corregir powrap - 100% terminado con revisión par completa
G0erman ddb2f63
Travis me marca error en esa línea, pero no veo el error :/ cpython/D…
G0erman b938776
Travis me marca error en esa línea, pero no veo el error :/ cpython/D…
G0erman 75b2aa7
Apply suggestions from code review
G0erman 6bc3103
Se agregan palabras collation, backend, sobrecoste, arraysize, rowid …
G0erman b63c58b
Se corrige formato de archivo powrap
G0erman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -223,33 +223,35 @@ msgid "" | |||||||||||||
"will parse out everything until the first ``'['`` for the column name and strip the " | ||||||||||||||
"preceeding space: the column name would simply be \"Expiration date\"." | ||||||||||||||
msgstr "" | ||||||||||||||
"Configurar esto hace que la interfaz de SQLite analice el nombre para cada columna que " | ||||||||||||||
"devuelve, buscara una cadena de caracteres [mytype], y decidirá cual 'mytype' es el tipo " | ||||||||||||||
"de la columna. Tratará de encontrar una entrada 'mytype' en el diccionario de " | ||||||||||||||
"conversiones y luego usar la función de conversión encontrada allí y devolver el valor. " | ||||||||||||||
"El nombre de la columna encontrada en :attr:`Cursor.description` no incluye el tipo, i. " | ||||||||||||||
"e. si se usa algo como ``'as ''Expiration date [datetime]\"'`` en el SQL, entonces " | ||||||||||||||
"analizará todo lo demás hasta el primer ``'['`` para el nombre de la columna y eliminará " | ||||||||||||||
"el espacio anterior: el nombre de la columna sería: \"Expiration date\"." | ||||||||||||||
"Configurar esto hace que la interfaz de SQLite analice el nombre para cada " | ||||||||||||||
"columna que devuelve, buscara un *string* [mytype], y decidirá cual 'mytype' " | ||||||||||||||
G0erman marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
"es el tipo de la columna. Tratará de encontrar una entrada 'mytype' en el " | ||||||||||||||
"diccionario de conversiones y luego usar la función de conversión encontrada " | ||||||||||||||
"allí y devolver el valor. El nombre de la columna encontrada en :attr:" | ||||||||||||||
G0erman marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
"`Cursor.description` no incluye el tipo, en otras palabras, si se usa algo como ``'as " | ||||||||||||||
"''Expiration date [datetime]\"'`` en el SQL, entonces analizará todo lo " | ||||||||||||||
"demás hasta el primer ``'['`` para el nombre de la columna y eliminará el " | ||||||||||||||
"espacio anterior: el nombre de la columna sería: \"Expiration date\"." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:176 | ||||||||||||||
msgid "" | ||||||||||||||
"Opens a connection to the SQLite database file *database*. By default returns a :class:" | ||||||||||||||
"`Connection` object, unless a custom *factory* is given." | ||||||||||||||
msgstr "" | ||||||||||||||
"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto regresa un " | ||||||||||||||
"objeto :class:`Connection`, a menos que se indique un *factory* personalizado." | ||||||||||||||
"Abre una conexión al archivo de base de datos SQLite *database*. Por defecto " | ||||||||||||||
"retorna un objeto :class:`Connection`, a menos que se indique un *factory* " | ||||||||||||||
"personalizado." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:179 | ||||||||||||||
msgid "" | ||||||||||||||
"*database* is a :term:`path-like object` giving the pathname (absolute or relative to the " | ||||||||||||||
"current working directory) of the database file to be opened. You can use ``\":memory:" | ||||||||||||||
"\"`` to open a database connection to a database that resides in RAM instead of on disk." | ||||||||||||||
msgstr "" | ||||||||||||||
"*database* es un :term:`path-like object` indicando el nombre de ruta (absoluta o " | ||||||||||||||
"relativa al directorio de trabajo actual) del archivo de base de datos abierto. Se puede " | ||||||||||||||
"usar ``\":memory:\"`` para abrir una conexión a base de datos a una base de datos que " | ||||||||||||||
"reside en memoria RAM en lugar que disco." | ||||||||||||||
"*database* es un :term:`path-like object` indicando el nombre de ruta " | ||||||||||||||
"(absoluta o relativa al directorio de trabajo actual) del archivo de base de " | ||||||||||||||
"datos abierto. Se puede usar ``\":memory:\"`` para abrir una conexión de base " | ||||||||||||||
"de datos a una base de datos que reside en memoria RAM en lugar que disco." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:184 | ||||||||||||||
msgid "" | ||||||||||||||
|
@@ -314,10 +316,10 @@ msgid "" | |||||||||||||
"call. You can, however, subclass the :class:`Connection` class and make :func:`connect` " | ||||||||||||||
"use your class instead by providing your class for the *factory* parameter." | ||||||||||||||
msgstr "" | ||||||||||||||
"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` para la " | ||||||||||||||
"llamada de conexión. Sin embargo se puede crear una subclase de :class:`Connection` y " | ||||||||||||||
"hacer que :func:`connect` use su clase en lugar de proveer su clase para el parámetro " | ||||||||||||||
"*factory*." | ||||||||||||||
"Por defecto el módulo :mod:`sqlite3` utiliza su propia clase :class:`Connection` " | ||||||||||||||
"para la llamada de conexión. Sin embargo se puede crear una subclase de :class:" | ||||||||||||||
"`Connection` y hacer que :func:`connect` use su clase en lugar de proveer su " | ||||||||||||||
"clase en el parámetro *factory*." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:212 | ||||||||||||||
msgid "Consult the section :ref:`sqlite3-types` of this manual for details." | ||||||||||||||
|
@@ -330,10 +332,11 @@ msgid "" | |||||||||||||
"connection, you can set the *cached_statements* parameter. The currently implemented " | ||||||||||||||
"default is to cache 100 statements." | ||||||||||||||
msgstr "" | ||||||||||||||
"El módulo :mod:`sqlite3` internamente usa declaración caché para evitar un análisis SQL " | ||||||||||||||
"costoso. Si se desea especificar el número de sentencias que estarán en memoria caché " | ||||||||||||||
"para la conexión, se puede configurar el parámetro *cached_statements*. Por defecto están " | ||||||||||||||
"configurado para 100 sentencias en memoria caché." | ||||||||||||||
"El módulo :mod:`sqlite3` internamente usa *statement cache* para evitar un " | ||||||||||||||
G0erman marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
"análisis SQL costoso. Si se desea especificar el número de sentencias que " | ||||||||||||||
"estarán en memoria caché para la conexión, se puede configurar el parámetro " | ||||||||||||||
"*cached_statements*. Por defecto están configurado para 100 sentencias en " | ||||||||||||||
"memoria caché." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:219 | ||||||||||||||
#, fuzzy | ||||||||||||||
|
@@ -361,7 +364,7 @@ msgstr "" | |||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:230 | ||||||||||||||
msgid "Added the *uri* parameter." | ||||||||||||||
msgstr "Agrega el parámetro *uri*." | ||||||||||||||
msgstr "Agregado el parámetro *uri*" | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:233 | ||||||||||||||
msgid "*database* can now also be a :term:`path-like object`, not only a string." | ||||||||||||||
|
@@ -370,40 +373,42 @@ msgstr "" | |||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:239 | ||||||||||||||
msgid "" | ||||||||||||||
Comment on lines
407
to
408
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
"Registers a callable to convert a bytestring from the database into a custom Python type. " | ||||||||||||||
"The callable will be invoked for all database values that are of the type *typename*. " | ||||||||||||||
"Confer the parameter *detect_types* of the :func:`connect` function for how the type " | ||||||||||||||
"detection works. Note that *typename* and the name of the type in your query are matched " | ||||||||||||||
"in case-insensitive manner." | ||||||||||||||
msgstr "" | ||||||||||||||
"Registra un invocable para convertir un *bytestring* de la base de datos en un tipo " | ||||||||||||||
"python personalizado. El invocable será invocado por todos los valores de la base de " | ||||||||||||||
"datos que son del tipo *typename*. Conceder el parámetro *detect_types* de la función :" | ||||||||||||||
"func:`connect` para el funcionamiento de la detección de tipo. Se debe notar que " | ||||||||||||||
"*typename* y el nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas " | ||||||||||||||
"y minúsculas." | ||||||||||||||
"Registers a callable to convert a bytestring from the database into a custom " | ||||||||||||||
"Python type. The callable will be invoked for all database values that are " | ||||||||||||||
"of the type *typename*. Confer the parameter *detect_types* of the :func:" | ||||||||||||||
"`connect` function for how the type detection works. Note that *typename* " | ||||||||||||||
"and the name of the type in your query are matched in case-insensitive " | ||||||||||||||
"manner." | ||||||||||||||
msgstr "" | ||||||||||||||
"Registra un invocable para convertir un *bytestring* de la base de datos en " | ||||||||||||||
"un tipo Python personalizado. El invocable será invocado por todos los " | ||||||||||||||
"valores de la base de datos que son del tipo *typename*. Conceder el " | ||||||||||||||
"parámetro *detect_types* de la función :func:`connect` para el " | ||||||||||||||
"funcionamiento de la detección de tipo. Se debe notar que *typename* y el " | ||||||||||||||
"nombre del tipo en la consulta son cotejados insensiblemente a mayúsculas y " | ||||||||||||||
G0erman marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||||||||
"minúsculas." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:248 | ||||||||||||||
msgid "" | ||||||||||||||
"Registers a callable to convert the custom Python type *type* into one of SQLite's " | ||||||||||||||
"supported types. The callable *callable* accepts as single parameter the Python value, " | ||||||||||||||
"and must return a value of the following types: int, float, str or bytes." | ||||||||||||||
msgstr "" | ||||||||||||||
"Registra un invocable para convertir el tipo Python personalizado a uno de los tipos " | ||||||||||||||
"soportados por SQLite's. El invocable *callable* acepta un único parámetro de valor " | ||||||||||||||
"Python, y debe regresar un valor de los siguientes tipos: *int*, *float*, *str* or " | ||||||||||||||
"*bytes*." | ||||||||||||||
"Registra un invocable para convertir el tipo Python personalizado *type* a uno de " | ||||||||||||||
"los tipos soportados por SQLite's. El invocable *callable* acepta un único " | ||||||||||||||
"parámetro de valor Python, y debe retornar un valor de los siguientes tipos: " | ||||||||||||||
"*int*, *float*, *str* or *bytes*." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:256 | ||||||||||||||
msgid "" | ||||||||||||||
"Returns :const:`True` if the string *sql* contains one or more complete SQL statements " | ||||||||||||||
"terminated by semicolons. It does not verify that the SQL is syntactically correct, only " | ||||||||||||||
"that there are no unclosed string literals and the statement is terminated by a semicolon." | ||||||||||||||
msgstr "" | ||||||||||||||
"Regresa :const:`True` si la cadena *sql* contiene una o más sentencias SQL completas " | ||||||||||||||
"terminadas con punto y coma. No se verifica que la sentencia SQL sea sintácticamente " | ||||||||||||||
"correcta, solo que no existan literales de cadenas no cerradas y que la sentencia termine " | ||||||||||||||
"por un punto y coma." | ||||||||||||||
"Retorna :const:`True` si la cadena *sql* contiene una o más sentencias SQL " | ||||||||||||||
"completas terminadas con punto y coma. No se verifica que la sentencia SQL " | ||||||||||||||
"sea sintácticamente correcta, solo que no existan literales de cadenas no " | ||||||||||||||
"cerradas y que la sentencia termine por un punto y coma." | ||||||||||||||
|
||||||||||||||
#: ../Doc/library/sqlite3.rst:261 | ||||||||||||||
msgid "This can be used to build a shell for SQLite, as in the following example:" | ||||||||||||||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.