-
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 1 commit
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
gedarafi 6ccede0
Update library/sqlite3.po
gedarafi 98af293
Update library/sqlite3.po
gedarafi 2e0e84a
Update library/sqlite3.po
gedarafi aa29ade
Update library/sqlite3.po
gedarafi d07a55f
Update library/sqlite3.po
gedarafi fe006af
Update library/sqlite3.po
gedarafi 22e267f
Update library/sqlite3.po
gedarafi b0b5246
Update library/sqlite3.po
gedarafi c9cadc5
Update library/sqlite3.po
gedarafi 87c0fa3
Update library/sqlite3.po
gedarafi 77bc1f4
Update library/sqlite3.po
gedarafi 0c43455
Update library/sqlite3.po
gedarafi 832ade3
Update library/sqlite3.po
gedarafi a765ada
Update library/sqlite3.po
gedarafi 9f5b6f4
Update library/sqlite3.po
gedarafi 13f709c
Update library/sqlite3.po
gedarafi 58bfd38
Update library/sqlite3.po
gedarafi 1e4d1ee
Update library/sqlite3.po
gedarafi e6a57cd
Update library/sqlite3.po
gedarafi 6aba76b
Agregando recomendaciones del draft pull request
2eeef71
Update library/sqlite3.po
gedarafi c3d7398
Update library/sqlite3.po
gedarafi b9596cd
Update library/sqlite3.po
gedarafi badb699
Update library/sqlite3.po
gedarafi 694e1c6
Update library/sqlite3.po
gedarafi 1fb3409
Update library/sqlite3.po
gedarafi 1fe0317
Update library/sqlite3.po
gedarafi f9ddbe2
Update library/sqlite3.po
gedarafi f9e5c21
Update library/sqlite3.po
gedarafi 1018280
Update library/sqlite3.po
gedarafi ce65895
Update library/sqlite3.po
gedarafi 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…
gedarafi b466fe0
35%: métodos de la clase Connection: create_aggregate, create_collati…
gedarafi 79733c3
Resolver issue travis
gedarafi 8e29d02
40%: Métodos de la clase connection: set_progress_handler, set_trace_…
gedarafi f31e4bf
Corrección errores
gedarafi 7fe3a62
40%: Método de la clase connection: row_factory
gedarafi 9fb9e31
Corrección errores travis
gedarafi 096701c
Palabras que rompen la compilación
gedarafi a95f158
47% Últimos métodos de la clase Connection: text_factory, total_chang…
gedarafi acc2f46
Se cambia palabra mandatorio por obligatorio, apesar de que mandatori…
gedarafi 57ac065
50%: Objetos de la clase cursor: execute
gedarafi 366e9ee
Corrección de indentación con powrap en mobaXterm sobre Windows
gedarafi caa3611
60%: Objetos de la clase cursor: execute, executemany, executescript,…
gedarafi d368fbc
64%: Clase Row, método keys
gedarafi fe1680c
68%: Excepciones: Warning, Error, DatabaseError, IntegrityError, Prog…
gedarafi b05e959
77%: Tipos de Python y SQLite
gedarafi 7a20a72
78%: Usando adaptadores para almacenar tipos adicionales de Python en…
gedarafi 6618d0f
80%: Adaptadores auto adaptables
gedarafi 30bec25
93%: Controlando transacciones
gedarafi 48cb6a1
94%: Usando métodos atajo
gedarafi cecab43
96%: Accediendo a las columnas por nombre enlugar de índice
gedarafi 6dcaef2
100%: Problemas comunes
gedarafi ee2654c
Update library/sqlite3.po
gedarafi ad74ee8
Update library/sqlite3.po
gedarafi 55263e8
Update library/sqlite3.po
gedarafi d219bd3
Update library/sqlite3.po
gedarafi 1e10dec
Update library/sqlite3.po
gedarafi 9005f1c
Update library/sqlite3.po
gedarafi 14849a3
Update library/sqlite3.po
gedarafi 6fccf12
Update library/sqlite3.po
gedarafi 8921584
Update library/sqlite3.po
gedarafi b698936
Update library/sqlite3.po
gedarafi 3fcc69b
Update library/sqlite3.po
gedarafi 6d6762c
Update library/sqlite3.po
gedarafi cb07fa6
Update library/sqlite3.po
gedarafi 60a9214
Update library/sqlite3.po
gedarafi 107a8ab
Update library/sqlite3.po
gedarafi 6d7e49c
Update library/sqlite3.po
gedarafi b05bab1
Update library/sqlite3.po
gedarafi 464f9a7
Update library/sqlite3.po
gedarafi 666ce49
Update library/sqlite3.po
gedarafi 146be31
Update library/sqlite3.po
gedarafi 26be357
Apply suggestions from code review
gedarafi e94ec4c
Se agrega palabra commit
gedarafi 364848e
Solucionar problema powrap en Windows
gedarafi 9655f1b
Apply suggestions from code review
gedarafi 600d659
Update library/sqlite3.po
gedarafi c780054
Corregir powrap - 100% terminado con revisión par completa
gedarafi ddb2f63
Travis me marca error en esa línea, pero no veo el error :/ cpython/D…
gedarafi b938776
Travis me marca error en esa línea, pero no veo el error :/ cpython/D…
gedarafi 75b2aa7
Apply suggestions from code review
gedarafi 6bc3103
Se agregan palabras collation, backend, sobrecoste, arraysize, rowid …
gedarafi b63c58b
Se corrige formato de archivo powrap
gedarafi 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
93%: Controlando transacciones
- Loading branch information
commit 30bec25153c848b6ac17e8ba85508260e0ad8053
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 |
---|---|---|
|
@@ -11,7 +11,7 @@ msgstr "" | |
"Project-Id-Version: Python 3.8\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2020-05-05 12:54+0200\n" | ||
"PO-Revision-Date: 2020-10-07 16:14-0500\n" | ||
"PO-Revision-Date: 2020-10-16 19:36-0500\n" | ||
"Language-Team: python-doc-es\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
|
@@ -1394,7 +1394,7 @@ msgstr "" | |
|
||
#: ../Doc/library/sqlite3.rst:896 | ||
msgid "depends on :attr:`~Connection.text_factory`, :class:`str` by default" | ||
msgstr "depende de :attr:`~Connection.text_factory`, por defecto :class:`str` " | ||
msgstr "depende de :attr:`~Connection.text_factory`, por defecto :class:`str`" | ||
|
||
#: ../Doc/library/sqlite3.rst:902 | ||
msgid "" | ||
|
@@ -1444,7 +1444,7 @@ msgid "" | |
"This is a good approach if you write the class yourself. Let's suppose you " | ||
"have a class like this::" | ||
msgstr "" | ||
"Este es un buen enfoque si uno mismo escríbe la clase. Vamos a suponer que " | ||
"Este es un buen enfoque si uno mismo escribe la clase. Vamos a suponer que " | ||
"se tiene una clas 8000 e como esta::" | ||
|
||
#: ../Doc/library/sqlite3.rst:930 | ||
|
@@ -1465,14 +1465,17 @@ msgstr "" | |
|
||
#: ../Doc/library/sqlite3.rst:940 | ||
msgid "Registering an adapter callable" | ||
msgstr "" | ||
msgstr "Registrando un adaptador invocable" | ||
|
||
#: ../Doc/library/sqlite3.rst:942 | ||
msgid "" | ||
"The other possibility is to create a function that converts the type to the " | ||
"string representation and register the function with :meth:" | ||
"`register_adapter`." | ||
msgstr "" | ||
"La otra posibilidad es crear una función que convierta el tipo a " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"representación de cadena de texto y registre la función con :meth:" | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"`register_adapter`." | ||
|
||
#: ../Doc/library/sqlite3.rst:947 | ||
msgid "" | ||
|
@@ -1481,109 +1484,141 @@ msgid "" | |
"suppose we want to store :class:`datetime.datetime` objects not in ISO " | ||
"representation, but as a Unix timestamp." | ||
msgstr "" | ||
"El módulo :mod:`sqlite3` tiene dos adaptadores por defecto para Python " | ||
"integrado :class:`datetime.date` y tipos :class:`datetime.datetime`. Ahora " | ||
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. Esta traducción sé que necesita una revisión, pero creo que ya el vicio de la lectura no me deja percibirla. Queda pendiente. 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. ok |
||
"vamos a suponer que queremos almacenar objetos :class:`datetime.datetime` no " | ||
"en representación ISO, sino como una marca de tiempo Unix." | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/library/sqlite3.rst:956 | ||
msgid "Converting SQLite values to custom Python types" | ||
msgstr "" | ||
msgstr "Convertir valores SQLite a tipos de Python personalizados" | ||
|
||
#: ../Doc/library/sqlite3.rst:958 | ||
msgid "" | ||
"Writing an adapter lets you send custom Python types to SQLite. But to make " | ||
"it really useful we need to make the Python to SQLite to Python roundtrip " | ||
"work." | ||
msgstr "" | ||
"Escribiendo un adaptador que permita enviar tipos personalizados de Python a " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"SQLite. Pero para hacer esto realmente útil, tenemos que hace el flujo " | ||
"Python a SQLite a Python." | ||
|
||
#: ../Doc/library/sqlite3.rst:961 | ||
msgid "Enter converters." | ||
msgstr "" | ||
msgstr "Ingresar convertidores." | ||
|
||
#: ../Doc/library/sqlite3.rst:963 | ||
msgid "" | ||
"Let's go back to the :class:`Point` class. We stored the x and y coordinates " | ||
"separated via semicolons as strings in SQLite." | ||
msgstr "" | ||
"Regresemos a la clase :class:`Point`. Se almacena las coordenadas x y y de " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"forma separada por punto y coma como una cadena de texto en SQLite." | ||
|
||
#: ../Doc/library/sqlite3.rst:966 | ||
msgid "" | ||
"First, we'll define a converter function that accepts the string as a " | ||
"parameter and constructs a :class:`Point` object from it." | ||
msgstr "" | ||
"Primero, se define una función convertidora que acepta la cadena de texto " | ||
"como un parámetro y construye un objeto :class:`Point` de ahí." | ||
|
||
#: ../Doc/library/sqlite3.rst:971 | ||
msgid "" | ||
"Converter functions **always** get called with a :class:`bytes` object, no " | ||
"matter under which data type you sent the value to SQLite." | ||
msgstr "" | ||
"Las funciones convertidoras **always** se llamaran con un objeto :class:" | ||
"`bytes`, no importa bajo que tipo de dato se envío el valor a SQLite." | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/library/sqlite3.rst:980 | ||
msgid "" | ||
"Now you need to make the :mod:`sqlite3` module know that what you select " | ||
"from the database is actually a point. There are two ways of doing this:" | ||
msgstr "" | ||
"Ahora se necesita hacer que el módulo :mod:`sqlite3` conozca que lo que tu " | ||
"seleccionaste de la base de datos es de hecho un punto. Hay dos formas de " | ||
"hacer esto:" | ||
|
||
#: ../Doc/library/sqlite3.rst:983 | ||
msgid "Implicitly via the declared type" | ||
msgstr "" | ||
msgstr "Implícito vía el tipo declarado" | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/library/sqlite3.rst:985 | ||
msgid "Explicitly via the column name" | ||
msgstr "" | ||
msgstr "Explícito vía el nombre de la columna" | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/library/sqlite3.rst:987 | ||
msgid "" | ||
"Both ways are described in section :ref:`sqlite3-module-contents`, in the " | ||
"entries for the constants :const:`PARSE_DECLTYPES` and :const:" | ||
"`PARSE_COLNAMES`." | ||
msgstr "" | ||
"Ambas formas están descritas en la sección :ref:`sqlite3-module-contents`, " | ||
"en las entradas para las constantes :const:`PARSE_DECLTYPES` y :const:" | ||
"`PARSE_COLNAMES`." | ||
|
||
#: ../Doc/library/sqlite3.rst:990 | ||
msgid "The following example illustrates both approaches." | ||
msgstr "" | ||
msgstr "El siguiente ejemplo ilustra ambos enfoques." | ||
|
||
#: ../Doc/library/sqlite3.rst:996 | ||
msgid "Default adapters and converters" | ||
msgstr "" | ||
msgstr "Adaptadores y convertidores por defecto" | ||
|
||
#: ../Doc/library/sqlite3.rst:998 | ||
msgid "" | ||
"There are default adapters for the date and datetime types in the datetime " | ||
"module. They will be sent as ISO dates/ISO timestamps to SQLite." | ||
msgstr "" | ||
"Hay adaptadores por defecto para los tipos *date* y *datetime* en el módulo " | ||
"*datetime* Ellos serán enviados como *dates* ISO / *timestamps* ISO a SQLite." | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/library/sqlite3.rst:1001 | ||
msgid "" | ||
"The default converters are registered under the name \"date\" for :class:" | ||
"`datetime.date` and under the name \"timestamp\" for :class:`datetime." | ||
"datetime`." | ||
msgstr "" | ||
"Los convertidores por default están registrados bajo el nombre \"date\" " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"para :class:`datetime.date` y bajo el mismo nombre para \"timestamp\" para :" | ||
"class:`datetime.datetime`." | ||
|
||
#: ../Doc/library/sqlite3.rst:1005 | ||
msgid "" | ||
"This way, you can use date/timestamps from Python without any additional " | ||
"fiddling in most cases. The format of the adapters is also compatible with " | ||
"the experimental SQLite date/time functions." | ||
msgstr "" | ||
"De esta forma, se puede usar *date*/*timestamps* para Python sin adicional " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"ajuste en la mayoría de los casos. El formato de los adaptadores también es " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"compatible con las funciones experimentales de SQLite *date*/*time*." | ||
|
||
#: ../Doc/library/sqlite3.rst:1009 | ||
msgid "The following example demonstrates this." | ||
msgstr "" | ||
msgstr "El siguiente ejemplo demuestra esto." | ||
|
||
#: ../Doc/library/sqlite3.rst:1013 | ||
msgid "" | ||
"If a timestamp stored in SQLite has a fractional part longer than 6 numbers, " | ||
"its value will be truncated to microsecond precision by the timestamp " | ||
"converter." | ||
msgstr "" | ||
"Si un *timestamp* almacenado en SQLite tiene una parte fraccional mayor a 6 " | ||
"números, este valor será truncado a microsegundos de precisión por el " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"convertidor de *timestamp*." | ||
|
||
#: ../Doc/library/sqlite3.rst:1021 | ||
msgid "Controlling Transactions" | ||
msgstr "" | ||
msgstr "Controlando transacciones" | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
#: ../Doc/library/sqlite3.rst:1023 | ||
msgid "" | ||
"The underlying ``sqlite3`` library operates in ``autocommit`` mode by " | ||
"default, but the Python :mod:`sqlite3` module by default does not." | ||
msgstr "" | ||
"La librería subyacente ``sqlite3`` por defecto opera en modo ``autocommit``, " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"pero el módulo de Python :mod:`sqlite3` no." | ||
|
||
#: ../Doc/library/sqlite3.rst:1026 | ||
msgid "" | ||
|
@@ -1592,13 +1627,21 @@ msgid "" | |
"``autocommit`` mode, and a ``COMMIT``, a ``ROLLBACK``, or a ``RELEASE`` that " | ||
"ends the outermost transaction, turns ``autocommit`` mode back on." | ||
msgstr "" | ||
"El modo ``autocommit`` significa que la sentencias que modifican la base de " | ||
"datos toman efecto de forma inmediata. Una sentencia ``BEGIN`` o " | ||
"``SAVEPOINT`` deshabilitan el modo ``autocommit``, y un ``COMMIT``, un " | ||
"``ROLLBACK``, o un ``RELEASE`` que terminan la transacción más externa, " | ||
"habilitan de nuevo el modo ``autocommit``." | ||
|
||
#: ../Doc/library/sqlite3.rst:1031 | ||
msgid "" | ||
"The Python :mod:`sqlite3` module by default issues a ``BEGIN`` statement " | ||
"implicitly before a Data Modification Language (DML) statement (i.e. " | ||
"``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." | ||
msgstr "" | ||
"El módulo de Python :mod:`sqlite3` por defecto emite una sentencia ``BEGIN`` " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"implícita antes de una sentencia tipo Lenguaje Manipulación de Datos (DML) " | ||
"(es decir ``INSERT``/``UPDATE``/``DELETE``/``REPLACE``)." | ||
|
||
#: ../Doc/library/sqlite3.rst:1035 | ||
msgid "" | ||
|
@@ -1609,6 +1652,12 @@ msgid E1E5 "" | |
"specifying ``DEFERRED``. Other possible values are ``IMMEDIATE`` and " | ||
"``EXCLUSIVE``." | ||
msgstr "" | ||
"Se puede controlar en que tipo de sentencias ``BEGIN`` :mod:`sqlite3` " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"implícitamente ejecuta vía el parámetro *insolation_level* a la función de " | ||
"llamada :func:`connect`, o vía las propiedades de conexión :attr:" | ||
"`isolation_level`. Si no se especifica *isolation_level*, se usa un plano " | ||
"``BEGIN``, el cuál es equivalente a especificar ``DEFERRED``. Otros posibles " | ||
"valores son ``IMMEDIATE`` and ``EXCLUSIVE``." | ||
|
||
#: ../Doc/library/sqlite3.rst:1042 | ||
msgid "" | ||
|
@@ -1619,12 +1668,20 @@ msgid "" | |
"``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, and ``RELEASE`` statements in your " | ||
"code." | ||
msgstr "" | ||
"Se puede deshabilitar el gestión implícita de transacciones del módulo :mod:" | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"`sqlite3` con la configuración :attr:`isolation_level` a ``None``. Esto " | ||
"dejará la subyacente biblioteca operando en modo ``autocommit``. Se puede " | ||
"controlar completamente le estado de la transacción emitiendo explícitamente " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"sentencias ``BEGIN``, ``ROLLBACK``, ``SAVEPOINT``, y ``RELEASE`` en el " | ||
"código." | ||
|
||
#: ../Doc/library/sqlite3.rst:1048 | ||
msgid "" | ||
":mod:`sqlite3` used to implicitly commit an open transaction before DDL " | ||
"statements. This is no longer the case." | ||
msgstr "" | ||
":mod:`sqlite3` utilizaba implícitamente *commit* en transacciones antes de " | ||
gedarafi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"sentencias DDL. Este ya no es el caso." | ||
|
||
#: ../Doc/library/sqlite3.rst:1054 | ||
msgid "Using :mod:`sqlite3` efficiently" | ||
|
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.