8000 Traduccion library/sqlite3 by gedarafi · Pull Request #430 · python/python-docs-es · GitHub
[go: up one dir, main page]

Skip to content

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 99 commits into from
Nov 21, 2020
Merged
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
ce99ee4
Iniciando.
May 24, 2020
3fb419a
Create a database in disk or in memory
May 24, 2020
a01739c
Inicio con métodos y constantes
May 25, 2020
9adf6f5
12%
May 27, 2020
793473f
15%
May 27, 2020
45ca2ce
19% Finishing Class connect, i. e. latin expression used in spanish too
Jun 13, 2020
a2a021b
21%
Jun 19, 2020
8c02d2f
Update library/sqlite3.po
gedarafi Jun 29, 2020
6ccede0
Update library/sqlite3.po
gedarafi Jun 29, 2020
98af293
Update library/sqlite3.po
gedarafi Jun 29, 2020
2e0e84a
Update library/sqlite3.po
gedarafi Jun 29, 2020
aa29ade
Update library/sqlite3.po
gedarafi Jun 29, 2020
d07a55f
Update library/sqlite3.po
gedarafi Jun 29, 2020
fe006af
Update library/sqlite3.po
gedarafi Jun 29, 2020
22e267f
Update library/sqlite3.po
gedarafi Jun 29, 2020
b0b5246
Update library/sqlite3.po
gedarafi Jun 29, 2020
c9cadc5
Update library/sqlite3.po
gedarafi Jun 29, 2020
87c0fa3
Update library/sqlite3.po
gedarafi Jun 29, 2020
77bc1f4
Update library/sqlite3.po
gedarafi Jun 29, 2020
0c43455
Update library/sqlite3.po
gedarafi Jun 29, 2020
832ade3
Update library/sqlite3.po
gedarafi Jul 3, 2020
a765ada
Update library/sqlite3.po
gedarafi Jul 3, 2020
9f5b6f4
Update library/sqlite3.po
gedarafi Jul 3, 2020
13f709c
Update library/sqlite3.po
gedarafi Jul 3, 2020
58bfd38
Update library/sqlite3.po
gedarafi Jul 3, 2020
1e4d1ee
Update library/sqlite3.po
gedarafi Jul 3, 2020
e6a57cd
Update library/sqlite3.po
gedarafi Jul 3, 2020
6aba76b
Agregando recomendaciones del draft pull request
Aug 16, 2020
2eeef71
Update library/sqlite3.po
gedarafi Aug 16, 2020
c3d7398
Update library/sqlite3.po
gedarafi Aug 16, 2020
b9596cd
Update library/sqlite3.po
gedarafi Aug 16, 2020
badb699
Update library/sqlite3.po
gedarafi Aug 16, 2020
694e1c6
Update library/sqlite3.po
gedarafi Aug 16, 2020
1fb3409
Update library/sqlite3.po
gedarafi Aug 16, 2020
1fe0317
Update library/sqlite3.po
gedarafi Aug 22, 2020
f9ddbe2
Update library/sqlite3.po
gedarafi Aug 22, 2020
f9e5c21
Update library/sqlite3.po
gedarafi Aug 22, 2020
1018280
Update library/sqlite3.po
gedarafi Aug 22, 2020
ce65895
Update library/sqlite3.po
gedarafi Aug 22, 2020
3603a91
Actualizar local con draft request feedback
Aug 22, 2020
4279d6a
Se agregan exclusiones para archivos segundarios de vim
Aug 22, 2020
22f480e
Se aplican cambios según feedback de draft pull request
Aug 22, 2020
4a10eee
24%, se excluye modificación al archivo .gitignore y se agrega en ot…
Aug 22, 2020
0b581a5
Merge branch 'traduccion-sqlite3' of github.com:G0erman/python-docs-e…
Aug 25, 2020
0e8aed3
Merge branch '3.8' of https://github.com/python/python-docs-es into t…
Aug 29, 2020
e4d39c1
30%
Aug 29, 2020
578766f
35%: métodos de la clase Connection: create_aggregate, create_collati…
gedarafi Sep 17, 2020
b466fe0
35%: métodos de la clase Connection: create_aggregate, create_collati…
gedarafi Sep 17, 2020
79733c3
Resolver issue travis
gedarafi Sep 17, 2020
8e29d02
40%: Métodos de la clase connection: set_progress_handler, set_trace_…
gedarafi Sep 24, 2020
f31e4bf
Corrección errores
gedarafi Sep 24, 2020
7fe3a62
40%: Método de la clase connection: row_factory
gedarafi Oct 2, 2020
9fb9e31
Corrección errores travis
gedarafi Oct 2, 2020
096701c
Palabras que rompen la compilación
gedarafi Oct 3, 2020
a95f158
47% Últimos métodos de la clase Connection: text_factory, total_chang…
gedarafi Oct 3, 2020
acc2f46
Se cambia palabra mandatorio por obligatorio, apesar de que mandatori…
gedarafi Oct 3, 2020
57ac065
50%: Objetos de la clase cursor: execute
gedarafi Oct 5, 2020
366e9ee
Corrección de indentación con powrap en mobaXterm sobre Windows
gedarafi Oct 5, 2020
caa3611
60%: Objetos de la clase cursor: execute, executemany, executescript,…
gedarafi Oct 6, 2020
d368fbc
64%: Clase Row, método keys
gedarafi Oct 6, 2020
fe1680c
68%: Excepciones: Warning, Error, DatabaseError, IntegrityError, Prog…
gedarafi Oct 7, 2020
b05e959
77%: Tipos de Python y SQLite
gedarafi Oct 7, 2020
7a20a72
78%: Usando adaptadores para almacenar tipos adicionales de Python en…
gedarafi Oct 7, 2020
6618d0f
80%: Adaptadores auto adaptables
gedarafi Oct 7, 2020
30bec25
93%: Controlando transacciones
gedarafi Oct 17, 2020
48cb6a1
94%: Usando métodos atajo
gedarafi Oct 17, 2020
cecab43
96%: Accediendo a las columnas por nombre enlugar de índice
gedarafi Oct 17, 2020
6dcaef2
100%: Problemas comunes
gedarafi Oct 17, 2020
ee2654c
Update library/sqlite3.po
gedarafi Oct 18, 2020
ad74ee8
Update library/sqlite3.po
gedarafi Oct 18, 2020
55263e8
Update library/sqlite3.po
gedarafi Oct 19, 2020
d219bd3
Update library/sqlite3.po
gedarafi Oct 19, 2020
1e10dec
Update library/sqlite3.po
gedarafi Oct 19, 2020
9005f1c
Update library/sqlite3.po
gedarafi Oct 19, 2020
14849a3
Update library/sqlite3.po
gedarafi Oct 19, 2020
6fccf12
Update library/sqlite3.po
gedarafi Oct 19, 2020
8921584
Update library/sqlite3.po
gedarafi Oct 19, 2020
b698936
Update library/sqlite3.po
gedarafi Oct 19, 2020
3fcc69b
Update library/sqlite3.po
gedarafi Oct 20, 2020
6d6762c
Update library/sqlite3.po
gedarafi Oct 20, 2020
cb07fa6
Update library/sqlite3.po
gedarafi Oct 20, 2020
60a9214
Update library/sqlite3.po
gedarafi Oct 20, 2020
107a8ab
Update library/sqlite3.po
gedarafi Oct 20, 2020
6d7e49c
Update library/sqlite3.po
gedarafi Oct 20, 2020
b05bab1
Update library/sqlite3.po
gedarafi Oct 20, 2020
464f9a7
Update library/sqlite3.po
gedarafi Oct 20, 2020
666ce49
Update library/sqlite3.po
gedarafi Oct 20, 2020
146be31
Update library/sqlite3.po
gedarafi Oct 20, 2020
26be357
Apply suggestions from code review
gedarafi Oct 20, 2020
e94ec4c
Se agrega palabra commit
gedarafi Oct 20, 2020
364848e
Solucionar problema powrap en Windows
gedarafi Oct 20, 2020
9655f1b
Apply suggestions from code review
gedarafi Oct 24, 2020
600d659
Update library/sqlite3.po
gedarafi Oct 24, 2020
c780054
Corregir powrap - 100% terminado con revisión par completa
gedarafi Oct 30, 2020
ddb2f63
Travis me marca error en esa línea, pero no veo el error :/ cpython/D…
gedarafi Oct 30, 2020
b938776
Travis me marca error en esa línea, pero no veo el error :/ cpython/D…
gedarafi Oct 30, 2020
75b2aa7
Apply suggestions from code review
gedarafi Nov 13, 2020
6bc3103
Se agregan palabras collation, backend, sobrecoste, arraysize, rowid …
gedarafi Nov 14, 2020
b63c58b
Se corrige formato de archivo powrap
gedarafi Nov 14, 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
93%: Controlando transacciones
  • Loading branch information
gedarafi committed Oct 17, 2020
commit 30bec25153c848b6ac17e8ba85508260e0ad8053
81 changes: 69 additions & 12 deletions library/sqlite3.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-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"
Expand Down Expand Up @@ -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 ""
Expand Down Expand Up @@ -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
Expand All @@ -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 "
"representación de cadena de texto y registre la función con :meth:"
"`register_adapter`."

#: ../Doc/library/sqlite3.rst:947
msgid ""
Expand All @@ -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 "
Copy link
Contributor

Choose a reason for hiding this comment

The 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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The 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."

#: ../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 "
"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 "
"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."

#: ../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"

#: ../Doc/library/sqlite3.rst:985
msgid "Explicitly via the column name"
msgstr ""
msgstr "Explícito vía el nombre de la columna"

#: ../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."

#: ../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\" "
"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 "
"ajuste en la mayoría de los casos. El formato de los adaptadores también es "
"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 "
"convertidor de *timestamp*."

#: ../Doc/library/sqlite3.rst:1021
msgid "Controlling Transactions"
msgstr ""
msgstr "Controlando transacciones"

#: ../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``, "
"pero el módulo de Python :mod:`sqlite3` no."

#: ../Doc/library/sqlite3.rst:1026
msgid ""
Expand All @@ -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`` "
"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 ""
Expand All @@ -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` "
"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 ""
Expand All @@ -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:"
"`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 "
"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 "
"sentencias DDL. Este ya no es el caso."

#: ../Doc/library/sqlite3.rst:1054
msgid "Using :mod:`sqlite3` efficiently"
Expand Down
0