Skip to content

Commit b466fe0

Browse files
committed
35%: métodos de la clase Connection: create_aggregate, create_collation, interrupt, set_authorizer, + issue travis.
1 parent e4d39c1 commit b466fe0

File tree

1 file changed

+38
-4
lines changed

1 file changed

+38
-4
lines changed

library/sqlite3.po

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version: Python 3.8\n"
1212
"Report-Msgid-Bugs-To: \n"
1313
"POT-Creation-Date: 2020-05-05 12:54+0200\n"
14-
"PO-Revision-Date: 2020-08-29 17:53-0500\n"
14+
"PO-Revision-Date: 2020-09-16 21:45-0500\n"
1515
"Language-Team: python-doc-es\n"
1616
"MIME-Version: 1.0\n"
1717
"Content-Type: text/plain; charset=UTF-8\n"
@@ -20,7 +20,7 @@ msgstr ""
2020
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
2121
"Last-Translator: \n"
2222
"Language: es\n"
23-
"X-Generator: Poedit 2.4\n"
23+
"X-Generator: Poedit 2.4.1\n"
2424

2525
#: ../Doc/library/sqlite3.rst:2
2626
msgid ":mod:`sqlite3` --- DB-API 2.0 interface for SQLite databases"
@@ -437,7 +437,7 @@ msgid ""
437437
"transactions` for a more detailed explanation."
438438
msgstr ""
439439
"Obtener o configurar el actual nivel de insolación. :const:`None` para modo *autocommit* "
440-
"o uno de \"DEFERRED\", \"IMMEDIATE\" o \"EXCLUSIVO\". Ver sección :ref: `sqlite3-"
440+
"o uno de \"DEFERRED\", \"IMMEDIATE\" o \"EXCLUSIVO\". Ver sección :ref:`sqlite3-"
441441
"controlling-transactions` para una explicación detallada."
442442

443443
#: ../Doc/library/sqlite3.rst:293
@@ -553,20 +553,26 @@ msgstr "Ejemplo:"
553553

554554
#: ../Doc/library/sqlite3.rst:368
555555
msgid "Creates a user-defined aggregate function."
556-
msgstr ""
556+
msgstr "Crea una función agregada definida por el usuario."
557557

558558
#: ../Doc/library/sqlite3.rst:370
559559
msgid ""
560560
"The aggregate class must implement a ``step`` method, which accepts the number of "
561561
"parameters *num_params* (if *num_params* is -1, the function may take any number of "
562562
"arguments), and a ``finalize`` method which will return the final result of the aggregate."
563563
msgstr ""
564+
"La clase agregada debe implementar un método ``step``, el cual acepta el número de "
565+
"parámetros *num_params* (si *num_params* es -1, la función puede tomar cualquier número "
566+
"de argumentos), y un método ``finalize`` el cual retornará el resultado final del "
567+
"agregado."
564568

565569
#: ../Doc/library/sqlite3.rst:375
566570
msgid ""
567571
"The ``finalize`` method can return any of the types supported by SQLite: bytes, str, int, "
568572
"float and ``None``."
569573
msgstr ""
574+
"El método ``finalize`` puede retornar cualquiera de los tipos soportados por SQLite: "
575+
"bytes, str, int, float and ``None``."
570576

571577
#: ../Doc/library/sqlite3.rst:385
572578
msgid ""
@@ -576,27 +582,40 @@ msgid ""
576582
"that this controls sorting (ORDER BY in SQL) so your comparisons don't affect other SQL "
577583
"operations."
578584
msgstr ""
585+
"Crea una *collation* con el *name* y *callable* especificado. El invocable será pasado "
586+
"con dos cadenas de texto como argumentos. Se retornará -1 si el primero esta ordenado "
587+
"menor que el segundo, 0 si están ordenados igual y 1 si el primero está ordenado mayor "
588+
"que el segundo. Nótese que esto controla la ordenación (ORDER BY en SQL) por lo tanto sus "
589+
"comparaciones no afectan otras comparaciones SQL."
579590

580591
#: ../Doc/library/sqlite3.rst:391
581592
msgid ""
582593
"Note that the callable will get its parameters as Python bytestrings, which will normally "
583594
"be encoded in UTF-8."
584595
msgstr ""
596+
"Note que el invocable obtiene sus parámetros como Python bytestrings, lo cual normalmente "
597+
"será codificado en UTF-8."
585598

586599
#: ../Doc/library/sqlite3.rst:394
587600
msgid "The following example shows a custom collation that sorts \"the wrong way\":"
588601
msgstr ""
602+
"El siguiente ejemplo muestra una collation personalizada que ordena \"La forma incorrecta"
603+
"\":"
589604

590605
#: ../Doc/library/sqlite3.rst:398
591606
msgid "To remove a collation, call ``create_collation`` with ``None`` as callable::"
592607
msgstr ""
608+
"Para remover una collation, llama ``create_collation`` con ``None`` como invocable::"
593609

594610
#: ../Doc/library/sqlite3.rst:405
595611
msgid ""
596612
"You can call this method from a different thread to abort any queries that might be "
597613
"executing on the connection. The query will then abort and the caller will get an "
598614
"exception."
599615
msgstr ""
616+
"Se puede llamar este método desde un hilo diferente para abortar cualquier consulta que "
617+
"pueda estar ejecutándose en la conexión. La consulta será abortada y quien realiza la "
618+
"llamada obtendrá una excepción."
600619

601620
#: ../Doc/library/sqlite3.rst:412
602621
msgid ""
@@ -606,6 +625,12 @@ msgid ""
606625
"with an error and :const:`SQLITE_IGNORE` if the column should be treated as a NULL value. "
607626
"These constants are available in the :mod:`sqlite3` module."
608627
msgstr ""
628+
"Esta rutina registra un *callback*. El *callback* es invocado para cada intento de acceso "
629+
"a un columna de una tabla en la base de datos. El *callback* deberá regresar :const:"
630+
"`SQLITE_OK` si el acceso esta permitido, :const:`SQLITE_DENY` si la completa declaración "
631+
"SQL deberá ser abortada con un error y :const:`SQLITE_IGNORE` si la columna deberá ser "
632+
"tratada como un valor NULL. Estas constantes están disponibles en el módulo :mod:"
633+
"`sqlite3`."
609634

610635
#: ../Doc/library/sqlite3.rst:419
611636
msgid ""
@@ -616,13 +641,22 @@ msgid ""
616641
"responsible for the access attempt or :const:`None` if this access attempt is directly "
617642
"from input SQL code."
618643
msgstr ""
644+
"El primer argumento del *callback* significa que tipo de operación será autorizada. El "
645+
"segundo y tercer argumento serán argumentos o :const:`None` dependiendo del primer "
646+
"argumento. El cuarto argumento es el nombre de la base de datos (\"main\", \"temp\", "
647+
"etc.) si aplica. El quinto argumento es el nombre del disparador más interno o vista que "
648+
"es responsable por los intentos de acceso o :const:`None` si este intento de acceso es "
649+
"directo desde el código SQL de entrada."
619650

620651
#: ../Doc/library/sqlite3.rst:426
621652
msgid ""
622653
"Please consult the SQLite documentation about the possible values for the first argument "
623654
"and the meaning of the second and third argument depending on the first one. All "
624655
"necessary constants are available in the :mod:`sqlite3` module."
625656
msgstr ""
657+
"Por favor consulte la documentación de SQLite sobre los posibles valores para el primer "
658+
"argumento y el significado del segundo y tercer argumento dependiendo del primero. Todas "
659+
"las constantes necesarias están disponibles en el módulo :mod:`sqlite3`."
626660

627661
#: ../Doc/library/sqlite3.rst:433
628662
msgid ""

0 commit comments

Comments
 (0)