From 75181391c9b0629ad54940163daa1672735d8f6e Mon Sep 17 00:00:00 2001 From: David-Lor <17401854+David-Lor@users.noreply.github.com> Date: Mon, 12 Oct 2020 19:36:13 +0200 Subject: [PATCH 1/4] Traducido archivo library/msilib.po (57% - fuzzy) --- library/msilib.po | 208 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 189 insertions(+), 19 deletions(-) diff --git a/library/msilib.po b/library/msilib.po index 7c5c95d44b..3b3500618a 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -1,31 +1,35 @@ # Copyright (C) 2001-2020, Python Software Foundation # This file is distributed under the same license as the Python package. -# Maintained by the python-doc-es workteam. +# Maintained by the python-doc-es workteam. # docs-es@python.org / https://mail.python.org/mailman3/lists/docs-es.python.org/ # Check https://github.com/python/python-docs-es/blob/3.8/TRANSLATORS to get the list of volunteers # -#, fuzzy msgid "" msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"Last-Translator: FULL NAME \n" +"PO-Revision-Date: 2020-10-12 19:35+0200\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Last-Translator: \n" +"Language: es\n" +"X-Generator: Poedit 2.4.1\n" #: ../Doc/library/msilib.rst:2 msgid ":mod:`msilib` --- Read and write Microsoft Installer files" -msgstr "" +msgstr ":mod:`msilib` --- Leer y escribir archivos Microsoft Installer" #: ../Doc/library/msilib.rst:11 msgid "**Source code:** :source:`Lib/msilib/__init__.py`" -msgstr "" +msgstr "**Código fuente:** :source:`Lib/msilib/__init__.py`" +# La última frase es rara #: ../Doc/library/msilib.rst:17 +#, fuzzy msgid "" "The :mod:`msilib` supports the creation of Microsoft Installer (``.msi``) " "files. Because these files often contain an embedded \"cabinet\" file (``." @@ -33,6 +37,11 @@ msgid "" "cab`` files is currently not implemented; read support for the ``.msi`` " "database is possible." msgstr "" +"El :mod:`msilib` soporta la creación de archivos Microsoft Installer (``." +"msi``). Como estos archivos a menudo contienen archivos *cabinet* (``.cab``) " +"embebidos, se expone también una API para crear archivos CAB. El soporte " +"para leer archivos ``.cab`` todavía no está implementado; el soporte a " +"lectura de base de datos ``.msi`` es posible." #: ../Doc/library/msilib.rst:22 msgid "" @@ -42,6 +51,11 @@ msgid "" "creation of Python installer package itself (although that currently uses a " "different version of ``msilib``)." msgstr "" +"Este paquete se centra en proveer acceso completo a todas las tablas de un " +"archivo ``.msi``, por lo que se puede considerar una API de bajo nivel. Dos " +"aplicaciones principales de este paquete son el comando ``bdist_msi`` de :" +"mod:`distutils`, y la creación del propio paquete instalador de Python " +"(aunque utiliza una versión diferente de ``msilib``)." #: ../Doc/library/msilib.rst:28 msgid "" @@ -49,6 +63,9 @@ msgid "" "routines, low-level MSI routines, higher-level MSI routines, and standard " "table structures." msgstr "" +"El contenido del paquete se puede dividir en cuatro partes: rutinas CAB de " +"bajo nivel, rutinas MSI de bajo nivel, rutinas MSI de alto nivel, y " +"estructuras de tabla estándar." #: ../Doc/library/msilib.rst:35 msgid "" @@ -56,6 +73,9 @@ msgid "" "each containing the name of the file on disk, and the name of the file " "inside the CAB file." msgstr "" +"Crea un nuevo archivo CAB llamado *cabname*. *files* debe ser una lista de " +"tuplas, donde cada una contiene el nombre del archivo en disco, y el nombre " +"del archivo dentro del archivo CAB." #: ../Doc/library/msilib.rst:39 msgid "" @@ -63,18 +83,26 @@ msgid "" "All files are added into a single CAB file, using the MSZIP compression " "algorithm." msgstr "" +"Los archivos son añadidos al archivo CAB en el orden en el cual aparecen en " +"la lista. Todos los archivos son añadidos a un sólo archivo CAB, utilizando " +"el algoritmo de compresión MSZIP." #: ../Doc/library/msilib.rst:42 msgid "" "Callbacks to Python for the various steps of MSI creation are currently not " "exposed." msgstr "" +"Las retrollamadas a Python para los diferentes pasos de la creación de MSI " +"no están actualmente expuestas." #: ../Doc/library/msilib.rst:48 msgid "" "Return the string representation of a new unique identifier. This wraps the " "Windows API functions :c:func:`UuidCreate` and :c:func:`UuidToString`." msgstr "" +"Retorna la representación de un nuevo identificador único como cadena de " +"caracteres. Esto envuelve las funciones :c:func:`UuidCreate` y :c:func:" +"`UuidToString` de la API de Windows." #: ../Doc/library/msilib.rst:54 msgid "" @@ -86,12 +114,21 @@ msgid "" "these flags; depending on the flags, an existing database is opened, or a " "new one created." msgstr "" +"Retorna una nueva base de datos llamando a MsiOpenDatabase. *path* es el " +"nombre del archivo MSI; *persist* puede ser una de las constantes " +"``MSIDBOPEN_CREATEDIRECT``, ``MSIDBOPEN_CREATE``, ``MSIDBOPEN_DIRECT``, " +"``MSIDBOPEN_READONLY`` o ``MSIDBOPEN_TRANSACT``, y puede incluir la bandera " +"``MSIDBOPEN_PATCHFILE``. El significado de estas banderas se puede consultar " +"en la documentación de Microsoft; dependiendo de las banderas, se abrirá una " +"base de datos existente, o se creará una nueva." #: ../Doc/library/msilib.rst:65 msgid "" "Return a new record object by calling :c:func:`MSICreateRecord`. *count* is " "the number of fields of the record." msgstr "" +"Retorna un nuevo objeto de registro llamando a :c:func:`MSICreateRecord`. " +"*count* es el número de campos del registro." #: ../Doc/library/msilib.rst:71 msgid "" @@ -99,6 +136,9 @@ msgid "" "set the properties *ProductName*, *ProductCode*, *ProductVersion*, and " "*Manufacturer*." msgstr "" +"Crea y retorna una nueva base de datos *name*, la inicializa con *schema*, y " +"establece las propiedades *ProductName*, *ProductCode*, *ProductVersion* y " +"*Manufacturer*." #: ../Doc/library/msilib.rst:75 msgid "" @@ -106,16 +146,20 @@ msgid "" "``_Validation_records`` attributes; typically, :mod:`msilib.schema` should " "be used." msgstr "" +"*schema* debe ser un objeto módulo que contenga los atributos ``tables`` y " +"``_Validation_records``; normalmente se debería usar :mod:`msilib.schema`." #: ../Doc/library/msilib.rst:79 msgid "" "The database will contain just the schema and the validation records when " "this function returns." msgstr "" +"La base de datos contendrá únicamente el esquema y los registros de " +"validación cuando esta función retorne." #: ../Doc/library/msilib.rst:85 msgid "Add all *records* to the table named *table* in *database*." -msgstr "" +msgstr "Añade todos los *records* de la tabla llamada *table* a *database*." #: ../Doc/library/msilib.rst:87 msgid "" @@ -123,6 +167,9 @@ msgid "" "e.g. ``'Feature'``, ``'File'``, ``'Component'``, ``'Dialog'``, " "``'Control'``, etc." msgstr "" +"El argumento *table* debe ser una de las tablas predefinidas en el esquema " +"MSI, como ``'Feature'``, ``'File'``, ``'Component'``, ``'Dialog'``, " +"``'Control'``, etc." #: ../Doc/library/msilib.rst:91 msgid "" @@ -130,16 +177,23 @@ msgid "" "record according to the schema of the table. For optional fields, ``None`` " "can be passed." msgstr "" +"*records* debería ser una lista de tuplas, donde cada una contenga todos los " +"campos de un registro, acorde al esquema de la tabla. Para los campos " +"opcionales se puede asignar ``None``." #: ../Doc/library/msilib.rst:95 msgid "Field values can be ints, strings, or instances of the Binary class." msgstr "" +"Los valores de los campos pueden ser enteros, cadenas de caracteres o " +"instancias de la clase Binary." #: ../Doc/library/msilib.rst:100 msgid "" "Represents entries in the Binary table; inserting such an object using :func:" "`add_data` reads the file named *filename* into the table." msgstr "" +"Representa entradas en la tabla Binary; insertar un objeto así utilizando :" +"func:`add_data` lee el archivo llamado **filename** en la tabla." #: ../Doc/library/msilib.rst:106 msgid "" @@ -147,22 +201,30 @@ msgid "" "attribute *tables* listing all tables for which content should be added, and " "one attribute per table that has the actual content." msgstr "" +"Añade todos los contenidos de la tabla de *module* a *database*. *module* " +"debe contener un atributo *tables*, que liste todas las tablas cuyos " +"contenidos deban ser añadidos, y un atributo por tabla que contenga el " +"propio contenido." #: ../Doc/library/msilib.rst:110 msgid "This is typically used to install the sequence tables." -msgstr "" +msgstr "Esto suele utilizarse para instalar las tablas secuenciales." #: ../Doc/library/msilib.rst:115 msgid "" "Add the file *path* into the ``_Stream`` table of *database*, with the " "stream name *name*." msgstr "" +"Añade el archivo *path* en la tabla ``_Stream`` de *database*, con el nombre " +"del flujo *name*." #: ../Doc/library/msilib.rst:121 msgid "" "Return a new UUID, in the format that MSI typically requires (i.e. in curly " "braces, and with all hexdigits in upper-case)." msgstr "" +"Retorna un nuevo UUID, en el formato que MSI suele requerir (entre llaves, " +"con todos los dígitos hexadecimales en mayúsculas)." #: ../Doc/library/msilib.rst:127 msgid "" @@ -171,32 +233,48 @@ msgid "" "aa379205.aspx>`_ `UuidToString `_" msgstr "" +"`FCICreate `_ " +"`UuidCreate `_ `UuidToString `_" +# ¿Traducir "database" o poner en cursiva? +# (ver contexto) #: ../Doc/library/msilib.rst:134 +#, fuzzy msgid "Database Objects" -msgstr "" +msgstr "Objetos Database" #: ../Doc/library/msilib.rst:139 msgid "" "Return a view object, by calling :c:func:`MSIDatabaseOpenView`. *sql* is the " "SQL statement to execute." msgstr "" +"Returna un objeto de vista, llamando a :c:func:`MSIDatabaseOpenView`. *sql* " +"es la sentencia SQL a ejecutar." +# ¿commit=persistir? #: ../Doc/library/msilib.rst:145 +#, fuzzy msgid "" "Commit the changes pending in the current transaction, by calling :c:func:" "`MSIDatabaseCommit`." msgstr "" +"Persiste los cambios pendientes en la transacción actual, llamando a :c:func:" +"`MSIDatabaseCommit`." #: ../Doc/library/msilib.rst:151 msgid "" "Return a new summary information object, by calling :c:func:" "`MsiGetSummaryInformation`. *count* is the maximum number of updated values." msgstr "" +"Retorna un nuevo objeto de información resumida, llamando a :c:func:" +"`MsiGetSummaryInformation`. *count* es el número máximo de valores " +"actualizados." #: ../Doc/library/msilib.rst:157 msgid "Close the database object, through :c:func:`MsiCloseHandle`." -msgstr "" +msgstr "Cierra el objeto de base de datos, mediante :c:func:`MsiCloseHandle`." #: ../Doc/library/msilib.rst:163 msgid "" @@ -207,10 +285,19 @@ msgid "" "`MsiCloseHandle `_" msgstr "" +"`MSIDatabaseOpenView `_ `MSIDatabaseCommit `_ `MSIGetSummaryInformation " +"`_ " +"`MsiCloseHandle `_" +# ¿Traducir "view" o poner en cursiva? +# (ver contexto) #: ../Doc/library/msilib.rst:171 +#, fuzzy msgid "View Objects" -msgstr "" +msgstr "Objetos View" #: ../Doc/library/msilib.rst:176 msgid "" @@ -218,6 +305,9 @@ msgid "" "*params* is not ``None``, it is a record describing actual values of the " "parameter tokens in the query." msgstr "" +"Ejecuta la consulta SQL de la vista, mediante :c:func:`MSIViewExecute`. Si " +"*params* no es ``None``, es un registro que describe los valores actuales de " +"los *tokens* del parámetro en la consulta." #: ../Doc/library/msilib.rst:183 msgid "" @@ -225,11 +315,16 @@ msgid "" "`MsiViewGetColumnInfo`. *kind* can be either ``MSICOLINFO_NAMES`` or " "``MSICOLINFO_TYPES``." msgstr "" +"Retorna un registro que describe las columnas de la vista, llamando a :c:" +"func:`MsiViewGetColumnInfo`. *kind* puede ser ``MSICOLINFO_NAMES`` o " +"``MSICOLINFO_TYPES``." #: ../Doc/library/msilib.rst:190 msgid "" "Return a result record of the query, through calling :c:func:`MsiViewFetch`." msgstr "" +"Retorna un registro de resultado de la consulta, llamando a :c:func:" +"`MsiViewFetch`." #: ../Doc/library/msilib.rst:195 msgid "" @@ -240,14 +335,20 @@ msgid "" "``MSIMODIFY_VALIDATE``, ``MSIMODIFY_VALIDATE_NEW``, " "``MSIMODIFY_VALIDATE_FIELD``, or ``MSIMODIFY_VALIDATE_DELETE``." msgstr "" +"Modifica la vista, llamando a :c:func:`MsiViewModify`. *kind* puede ser " +"``MSIMODIFY_SEEK``, ``MSIMODIFY_REFRESH``, ``MSIMODIFY_INSERT``, " +"``MSIMODIFY_UPDATE``, ``MSIMODIFY_ASSIGN``, ``MSIMODIFY_REPLACE``, " +"``MSIMODIFY_MERGE``, ``MSIMODIFY_DELETE``, ``MSIMODIFY_INSERT_TEMPORARY``, " +"``MSIMODIFY_VALIDATE``, ``MSIMODIFY_VALIDATE_NEW``, " +"``MSIMODIFY_VALIDATE_FIELD`` o ``MSIMODIFY_VALIDATE_DELETE``." #: ../Doc/library/msilib.rst:202 msgid "*data* must be a record describing the new data." -msgstr "" +msgstr "*data* debe ser un registro que describa los nuevos datos." #: ../Doc/library/msilib.rst:207 msgid "Close the view, through :c:func:`MsiViewClose`." -msgstr "" +msgstr "Cierra la vista, mediante :c:func:`MsiViewClose`." #: ../Doc/library/msilib.rst:212 msgid "" @@ -259,10 +360,19 @@ msgid "" "`MsiViewClose `_" msgstr "" +"`MsiViewExecute `_ `MSIViewGetColumnInfo `_ `MsiViewFetch `_ `MsiViewModify " +"`_ " +"`MsiViewClose `_" +# ¿Traducir "summary information"? (ver contexto) #: ../Doc/library/msilib.rst:221 +#, fuzzy msgid "Summary Information Objects" -msgstr "" +msgstr "Objetos Summary Information" #: ../Doc/library/msilib.rst:226 msgid "" @@ -274,12 +384,21 @@ msgid "" "``PID_CREATE_DTM``, ``PID_LASTSAVE_DTM``, ``PID_PAGECOUNT``, " "``PID_WORDCOUNT``, ``PID_CHARCOUNT``, ``PID_APPNAME``, or ``PID_SECURITY``." msgstr "" +"Retorna una propiedad del resumen, mediante :c:func:" +"`MsiSummaryInfoGetProperty`. *field* es el nombre de la propiedad, y puede " +"ser una de las constantes: ``PID_CODEPAGE``, ``PID_TITLE``, ``PID_SUBJECT``, " +"``PID_AUTHOR``, ``PID_KEYWORDS``, ``PID_COMMENTS``, ``PID_TEMPLATE``, " +"``PID_LASTAUTHOR``, ``PID_REVNUMBER``, ``PID_LASTPRINTED``, " +"``PID_CREATE_DTM``, ``PID_LASTSAVE_DTM``, ``PID_PAGECOUNT``, " +"``PID_WORDCOUNT``, ``PID_CHARCOUNT``, ``PID_APPNAME`` o ``PID_SECURITY``." #: ../Doc/library/msilib.rst:237 msgid "" "Return the number of summary properties, through :c:func:" "`MsiSummaryInfoGetPropertyCount`." msgstr "" +"Retorna el número de propiedades del resumen, mediante :c:func:" +"`MsiSummaryInfoGetPropertyCount`." #: ../Doc/library/msilib.rst:243 msgid "" @@ -287,12 +406,18 @@ msgid "" "the same values as in :meth:`GetProperty`, *value* is the new value of the " "property. Possible value types are integer and string." msgstr "" +"Establece una propiedad mediante :c:func:`MsiSummaryInfoSetProperty`. " +"*field* puede tener los mismos valores que en :meth:`GetProperty`; *value* " +"es el nuevo valor de la propiedad. Los tipos de los valores pueden ser " +"enteros o cadenas de caracteres." #: ../Doc/library/msilib.rst:250 msgid "" "Write the modified properties to the summary information stream, using :c:" "func:`MsiSummaryInfoPersist`." msgstr "" +"Escribe las propiedades modificadas al flujo de información resumida, " +"mediante :c:func:`MsiSummaryInfoPersist`." #: ../Doc/library/msilib.rst:256 msgid "" @@ -303,51 +428,74 @@ msgid "" "desktop/aa370491.aspx>`_ `MsiSummaryInfoPersist `_" msgstr "" +"`MsiSummaryInfoGetProperty `_ `MsiSummaryInfoGetPropertyCount `_ " +"`MsiSummaryInfoSetProperty `_ `MsiSummaryInfoPersist `_" +# ¿Traducir "record"? #: ../Doc/library/msilib.rst:264 +#, fuzzy msgid "Record Objects" -msgstr "" +msgstr "Objetos Record" #: ../Doc/library/msilib.rst:269 msgid "" "Return the number of fields of the record, through :c:func:" "`MsiRecordGetFieldCount`." msgstr "" +"Retorna el número de campos del registro, mediante :c:func:" +"`MsiRecordGetFieldCount`." #: ../Doc/library/msilib.rst:275 msgid "" "Return the value of *field* as an integer where possible. *field* must be " "an integer." msgstr "" +"Retorna el valor de *field* como entero cuando sea posible. *field* debe ser " +"un entero." #: ../Doc/library/msilib.rst:281 msgid "" "Return the value of *field* as a string where possible. *field* must be an " "integer." msgstr "" +"Retorna el valor de *field* como una cadena de caracteres cuando sea " +"posible. *field* debe ser un entero." #: ../Doc/library/msilib.rst:287 msgid "" "Set *field* to *value* through :c:func:`MsiRecordSetString`. *field* must be " "an integer; *value* a string." msgstr "" +"Establece *field* a *value* mediante :c:func:`MsiRecordSetString`. *field* " +"debe ser un entero; *value* una cadena de caracteres." #: ../Doc/library/msilib.rst:293 msgid "" "Set *field* to the contents of the file named *value*, through :c:func:" "`MsiRecordSetStream`. *field* must be an integer; *value* a string." msgstr "" +"Establece *field* al contenido del archivo llamado *value*, mediante :c:func:" +"`MsiRecordSetStream`. *field* debe ser un entero; *value* una cadena de " +"caracteres." #: ../Doc/library/msilib.rst:299 msgid "" "Set *field* to *value* through :c:func:`MsiRecordSetInteger`. Both *field* " "and *value* must be an integer." msgstr "" +"Establece *field* a *value* mediante :c:func:`MsiRecordSetInteger`. *field* " +"y *value* deben ser enteros." #: ../Doc/library/msilib.rst:305 msgid "" "Set all fields of the record to 0, through :c:func:`MsiRecordClearData`." msgstr "" +"Establece todos los campos del registro a 0, mediante :c:func:" +"`MsiRecordClearData`." #: ../Doc/library/msilib.rst:310 msgid "" @@ -359,20 +507,29 @@ msgid "" "desktop/aa370371.aspx>`_ `MsiRecordClearData `_" msgstr "" +"`MsiRecordGetFieldCount `_ `MsiRecordSetString `_ `MsiRecordSetStream `_ " +"`MsiRecordSetInteger `_ `MsiRecordClearData `_" #: ../Doc/library/msilib.rst:319 msgid "Errors" -msgstr "" +msgstr "Errores" #: ../Doc/library/msilib.rst:321 msgid "" "All wrappers around MSI functions raise :exc:`MSIError`; the string inside " "the exception will contain more detail." msgstr "" +"Todos los *wrappers* sobre funciones MSI lanzan :exc:`MSIError`; la cadena " +"de caracteres dentro de la excepción contendrá más detalles." #: ../Doc/library/msilib.rst:328 msgid "CAB Objects" -msgstr "" +msgstr "Objetos CAB" #: ../Doc/library/msilib.rst:333 msgid "" @@ -381,10 +538,14 @@ msgid "" "Then, when all files have been added, the CAB file can be written, then " "added to the MSI file." msgstr "" +"La clase :class:`CAB` representa un archivo CAB. Durante la construcción del " +"MSI, los archivos se añadirán simultáneamente a la table ``Files``, y a un " +"archivo CAB. Después, cuando todos los archivos sean añadidos, el archivo " +"CAB puede ser sobreescrito, y finalmente añadido al archivo MSI." #: ../Doc/library/msilib.rst:338 msgid "*name* is the name of the CAB file in the MSI file." -msgstr "" +msgstr "*name* es el nombre del archivo CAB dentro del archivo MSI." #: ../Doc/library/msilib.rst:343 msgid "" @@ -392,22 +553,31 @@ msgid "" "*logical*. If there is already a file named *logical*, a new file name is " "created." msgstr "" +"Añade el archivo con la ruta *full* al archivo CAB, bajo el nombre " +"*logical*. Si ya existe algún archivo llamado *logical*, se creará un nuevo " +"archivo." #: ../Doc/library/msilib.rst:347 msgid "" "Return the index of the file in the CAB file, and the new name of the file " "inside the CAB file." msgstr "" +"Retorna el índice del archivo dentro del archivo CAB, y el nuevo nombre del " +"archivo dentro del archivo CAB." #: ../Doc/library/msilib.rst:353 msgid "" "Generate a CAB file, add it as a stream to the MSI file, put it into the " "``Media`` table, and remove the generated file from the disk." msgstr "" +"Genera un archivo CAB, lo añade como un flujo al archivo MSI, lo añade a la " +"tabla ``Media``, y elimina el archivo generado del disco." +# *¿Traducir "directory"? #: ../Doc/library/msilib.rst:360 +#, fuzzy msgid "Directory Objects" -msgstr "" +msgstr "Objetos Directory" #: ../Doc/library/msilib.rst:365 msgid "" From 46a2a3adff50129541e83fc739748e7bc2d0a1f9 Mon Sep 17 00:00:00 2001 From: David-Lor <17401854+David-Lor@users.noreply.github.com> Date: Tue, 13 Oct 2020 20:37:09 +0200 Subject: [PATCH 2/4] Traducido archivo library/msilib.po (100% + fuzzy) --- library/msilib.po | 123 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 101 insertions(+), 22 deletions(-) diff --git a/library/msilib.po b/library/msilib.po index 3b3500618a..dff0c2e520 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: 2020-10-12 19:35+0200\n" +"PO-Revision-Date: 2020-10-17 16:54+0200\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,7 +21,7 @@ msgstr "" #: ../Doc/library/msilib.rst:2 msgid ":mod:`msilib` --- Read and write Microsoft Installer files" -msgstr ":mod:`msilib` --- Leer y escribir archivos Microsoft Installer" +msgstr ":mod:`msilib` --- Leer y escribir archivos *Microsoft Installer*" #: ../Doc/library/msilib.rst:11 msgid "**Source code:** :source:`Lib/msilib/__init__.py`" @@ -29,7 +29,6 @@ msgstr "**Código fuente:** :source:`Lib/msilib/__init__.py`" # La última frase es rara #: ../Doc/library/msilib.rst:17 -#, fuzzy msgid "" "The :mod:`msilib` supports the creation of Microsoft Installer (``.msi``) " "files. Because these files often contain an embedded \"cabinet\" file (``." @@ -37,7 +36,7 @@ msgid "" "cab`` files is currently not implemented; read support for the ``.msi`` " "database is possible." msgstr "" -"El :mod:`msilib` soporta la creación de archivos Microsoft Installer (``." +"El :mod:`msilib` soporta la creación de archivos *Microsoft Installer* (``." "msi``). Como estos archivos a menudo contienen archivos *cabinet* (``.cab``) " "embebidos, se expone también una API para crear archivos CAB. El soporte " "para leer archivos ``.cab`` todavía no está implementado; el soporte a " @@ -84,7 +83,7 @@ msgid "" "algorithm." msgstr "" "Los archivos son añadidos al archivo CAB en el orden en el cual aparecen en " -"la lista. Todos los archivos son añadidos a un sólo archivo CAB, utilizando " +"la lista. Todos los archivos son añadidos a un solo archivo CAB, utilizando " "el algoritmo de compresión MSZIP." #: ../Doc/library/msilib.rst:42 @@ -238,8 +237,7 @@ msgstr "" "aa379205.aspx>`_ `UuidToString `_" -# ¿Traducir "database" o poner en cursiva? -# (ver contexto) +# Estas traducciones corresponden a encabezados, pero no sé si debería traducir los nombres de los objetos. Yo no lo haría porque es como se definen en Python. La traducción en japonés parece que los traduce (es la única traducción disponible para esta página) #: ../Doc/library/msilib.rst:134 #, fuzzy msgid "Database Objects" @@ -250,7 +248,7 @@ msgid "" "Return a view object, by calling :c:func:`MSIDatabaseOpenView`. *sql* is the " "SQL statement to execute." msgstr "" -"Returna un objeto de vista, llamando a :c:func:`MSIDatabaseOpenView`. *sql* " +"Retorna un objeto de vista, llamando a :c:func:`MSIDatabaseOpenView`. *sql* " "es la sentencia SQL a ejecutar." # ¿commit=persistir? @@ -573,7 +571,7 @@ msgstr "" "Genera un archivo CAB, lo añade como un flujo al archivo MSI, lo añade a la " "tabla ``Media``, y elimina el archivo generado del disco." -# *¿Traducir "directory"? +# ¿Traducir "directory"? #: ../Doc/library/msilib.rst:360 #, fuzzy msgid "Directory Objects" @@ -590,6 +588,15 @@ msgid "" "directory name. *default* specifies the DefaultDir slot in the directory " "table. *componentflags* specifies the default flags that new components get." msgstr "" +"Crea un nuevo directorio en la tabla *Directory*. Hay un componente actual " +"en cada punto temporal para el directorio, el cual es, o bien explícitamente " +"creado mediante :meth:`start_component`, o bien implícito cuando los " +"archivos se añaden por primera vez. Los archivos son añadidos en el " +"componente actual, y al archivo CAB. Para crear un directorio, un objeto de " +"directorio base tiene que ser especificado (puede ser ``None``), la ruta al " +"directorio físico, y un nombre de directorio lógico. *default* especifica el " +"zócalo *DefaultDir* en la table de directorio. *componentflags* especifica " +"las banderas por defecto que obtendrán los nuevos componentes." #: ../Doc/library/msilib.rst:377 msgid "" @@ -599,6 +606,12 @@ msgid "" "*flags* are given, the directory's default flags are used. If no *keyfile* " "is given, the KeyPath is left null in the Component table." msgstr "" +"Añade una entrada a la tabla *Component*, y hace este componente el actual " +"componente para este directorio. Si no se especifica ningún nombre de " +"componente, se usará el nombre del directorio. Si no se especifica ninguna " +"*feature*, se usará la característica actual. Si no se especifican *flags*, " +"se usarán las banderas por defecto del directorio. Si no se especifica " +"ningún *keyfile*, el *KeyPath* quedará nulo en la tabla *Component*." #: ../Doc/library/msilib.rst:386 msgid "" @@ -608,16 +621,25 @@ msgid "" "interpreted relative to the current directory. Optionally, a *version* and a " "*language* can be specified for the entry in the File table." msgstr "" +"Añade el archivo al componente actual del directorio, inicializando uno " +"nuevo si no existe un componente actual. Por defecto, el nombre del archivo " +"en el origen y la tabla del archivo serán idénticos. Si se especifica el " +"archivo *src*, se interpretará como relativo al directorio actual. " +"Opcionalmente, se pueden especificar una *version* y un *language* para la " +"entrada en la tabla *File*." #: ../Doc/library/msilib.rst:395 msgid "" "Add a list of files to the current component as specified in the glob " "pattern. Individual files can be excluded in the *exclude* list." msgstr "" +"Añade una lista de archivos al componente actual, como se especifica en el " +"patrón *glob*. Se pueden excluir archivos individualmente en la lista " +"*exclude*." #: ../Doc/library/msilib.rst:401 msgid "Remove ``.pyc`` files on uninstall." -msgstr "" +msgstr "Elimina los archivos ``.pyc`` al desinstalar." #: ../Doc/library/msilib.rst:406 msgid "" @@ -627,10 +649,17 @@ msgid "" "com/en-us/library/windows/desktop/aa368007.aspx>`_ `FeatureComponents Table " "`_" msgstr "" +"`Directory Table `_ `File Table `_ `Component Table `_ `FeatureComponents Table " +"`_" +# ¿Traducir "features"? #: ../Doc/library/msilib.rst:414 +#, fuzzy msgid "Features" -msgstr "" +msgstr "Features" #: ../Doc/library/msilib.rst:419 msgid "" @@ -639,6 +668,10 @@ msgid "" "resulting feature object can be passed to the :meth:`start_component` method " "of :class:`Directory`." msgstr "" +"Añade un nuevo registro a la tabla ``Feature``, usando los valores *id*, " +"*parent.id*, *title*, *desc*, *display*, *level*, *directory* y " +"*attributes*. El objeto de característica resultante se le puede dar al " +"método :meth:`start_component` de :class:`Directory`." #: ../Doc/library/msilib.rst:427 msgid "" @@ -646,16 +679,22 @@ msgid "" "automatically added to the default feature, unless a feature is explicitly " "specified." msgstr "" +"Establece esta característica como la actual característica de :mod:" +"`msilib`. Los nuevos componentes serán añadidos automáticamente a la " +"característica por defecto, a no ser que se especifique explícitamente una " +"característica." #: ../Doc/library/msilib.rst:434 msgid "" "`Feature Table `_" msgstr "" +"`Feature Table `_" #: ../Doc/library/msilib.rst:439 msgid "GUI classes" -msgstr "" +msgstr "Clases GUI" #: ../Doc/library/msilib.rst:441 msgid "" @@ -664,30 +703,39 @@ msgid "" "`~distutils.command.bdist_msi` to create MSI files with a user-interface for " "installing Python packages." msgstr "" +":mod:`msilib` dispone de varias clases que envuelven a las tablas GUI en una " +"base de datos MSI. Sin embargo, no se dispone de ninguna interfaz de usuario " +"estándar; se puede usar :mod:`~distutils.command.bdist_msi` para crear " +"archivos MSI con una interfaz de usuario para instalar paquetes Python." #: ../Doc/library/msilib.rst:449 msgid "" "Base class of the dialog controls. *dlg* is the dialog object the control " "belongs to, and *name* is the control's name." msgstr "" +"Clase base de los controles de diálogo. *dlg* es el objeto de diálogo al que " +"pertenece el control, y *name* es el nombre del control." #: ../Doc/library/msilib.rst:455 msgid "Make an entry into the ``ControlEvent`` table for this control." -msgstr "" +msgstr "Crea una entrada en la tabla ``ControlEvent`` para este control." #: ../Doc/library/msilib.rst:460 msgid "Make an entry into the ``EventMapping`` table for this control." -msgstr "" +msgstr "Crea una entrada en la tabla ``EventMapping`` para este control." #: ../Doc/library/msilib.rst:465 msgid "Make an entry into the ``ControlCondition`` table for this control." -msgstr "" +msgstr "Crea una entrada en la tabla ``ControlCondition`` para este control." #: ../Doc/library/msilib.rst:470 msgid "" "Create a radio button control named *name*. *property* is the installer " "property that gets set when a radio button is selected." msgstr "" +"Crea un control de botón de selección llamado *name*. *property* es la " +"propiedad del instalador que se establece cuando un botón de selección es " +"seleccionado." #: ../Doc/library/msilib.rst:476 msgid "" @@ -695,6 +743,9 @@ msgid "" "*width*, *height*, and with the label *text*. If *value* is ``None``, it " "defaults to *name*." msgstr "" +"Añade un botón de selección llamado *name* al grupo, en las coordenadas *x*, " +"*y*, *width*, *height*, con la etiqueta *text*. Si *value* es ``None``, se " +"establecerá por defecto a *name*." #: ../Doc/library/msilib.rst:483 msgid "" @@ -702,42 +753,50 @@ msgid "" "made, with the specified coordinates, dialog attributes, title, name of the " "first, default, and cancel controls." msgstr "" +"Retorna un nuevo objeto :class:`Dialog`. Se creará una entrada en la tabla " +"``Dialog`` con las coordenadas, atributos de diálogo y título especificados, " +"así como los nombres del primer control y los controles por defecto y de " +"cancelación." #: ../Doc/library/msilib.rst:490 msgid "" "Return a new :class:`Control` object. An entry in the ``Control`` table is " "made with the specified parameters." msgstr "" +"Retorna un nuevo objeto :class:`Control`. Se creará una entrada en la tabla " +"``Control`` con los parámetros especificados." #: ../Doc/library/msilib.rst:493 msgid "" "This is a generic method; for specific types, specialized methods are " "provided." msgstr "" +"Este es un método genérico; para tipos específicos hay métodos " +"especializados disponibles." #: ../Doc/library/msilib.rst:499 msgid "Add and return a ``Text`` control." -msgstr "" +msgstr "Añade y retorna un control ``Text``." #: ../Doc/library/msilib.rst:504 msgid "Add and return a ``Bitmap`` control." -msgstr "" +msgstr "Añade y retorna un control ``Bitmap``." #: ../Doc/library/msilib.rst:509 msgid "Add and return a ``Line`` control." -msgstr "" +msgstr "Añade y retorna un control ``Line``." #: ../Doc/library/msilib.rst:514 msgid "Add and return a ``PushButton`` control." -msgstr "" +msgstr "Añade y retorna un control ``PushButton``." #: ../Doc/library/msilib.rst:519 msgid "Add and return a ``RadioButtonGroup`` control." -msgstr "" +msgstr "Añade y retorna un control ``RadioButtonGroup``." #: ../Doc/library/msilib.rst:524 msgid "Add and return a ``CheckBox`` control." -msgstr "" +msgstr "Añade y retorna un control ``CheckBox``." #: ../Doc/library/msilib.rst:529 msgid "" @@ -751,16 +810,28 @@ msgid "" "us/library/windows/desktop/aa368559.aspx>`_ `RadioButton Table `_" msgstr "" +"`Dialog Table `_ `Control Table `_ `Control Types `_ `ControlCondition Table " +"`_ " +"`ControlEvent Table `_ `EventMapping Table `_ `RadioButton Table `_" #: ../Doc/library/msilib.rst:540 msgid "Precomputed tables" -msgstr "" +msgstr "Tablas pre-calculadas" #: ../Doc/library/msilib.rst:542 msgid "" ":mod:`msilib` provides a few subpackages that contain only schema and table " "definitions. Currently, these definitions are based on MSI version 2.0." msgstr "" +":mod:`msilib` proporciona algunos subpaquetes que contienen únicamente " +"definiciones de esquema y tabla. Actualmente, estas definiciones están " +"basadas en la versión 2.0 de MSI." #: ../Doc/library/msilib.rst:548 msgid "" @@ -768,6 +839,9 @@ msgid "" "providing a list of table definitions, and *_Validation_records* providing " "the data for MSI validation." msgstr "" +"Este es el esquema estándar MSI para MSI 2.0, con la variable *tables* " +"proporcionando una lista de definición de tablas, y *_Validation_records* " +"proporcionando la información para la validación MSI." #: ../Doc/library/msilib.rst:555 msgid "" @@ -775,9 +849,14 @@ msgid "" "*AdminExecuteSequence*, *AdminUISequence*, *AdvtExecuteSequence*, " "*InstallExecuteSequence*, and *InstallUISequence*." msgstr "" +"Este módulo alberga los contenidos de la tabla para las tablas de secuencia " +"estándar: *AdminExecuteSequence*, *AdminUISequence*, *AdvtExecuteSequence*, " +"*InstallExecuteSequence*, and *InstallUISequence*." #: ../Doc/library/msilib.rst:562 msgid "" "This module contains definitions for the UIText and ActionText tables, for " "the standard installer actions." msgstr "" +"Este módulo contiene definiciones para las tablas *UIText* y *ActionText*, " +"para las acciones estándar del instalador." From 7593dfb7cda0f8a1f100d10a65fd31b775c75555 Mon Sep 17 00:00:00 2001 From: David-Lor <17401854+david-lor@users.noreply.github.com> Date: Sat, 17 Oct 2020 16:55:05 +0200 Subject: [PATCH 3/4] =?UTF-8?q?Actualizar=20diccionario=20para=20traducci?= =?UTF-8?q?=C3=B3n=20library/msilib.po?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dictionaries/library_msilib.txt | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 dictionaries/library_msilib.txt diff --git a/dictionaries/library_msilib.txt b/dictionaries/library_msilib.txt new file mode 100644 index 0000000000..63842add94 --- /dev/null +++ b/dictionaries/library_msilib.txt @@ -0,0 +1,6 @@ +Database +View +Summary +Information +Record +Directory From 8446c3914e6abab2146e3a9405799c217d56cf87 Mon Sep 17 00:00:00 2001 From: David-Lor <17401854+david-lor@users.noreply.github.com> Date: Sat, 21 Nov 2020 22:55:18 +0100 Subject: [PATCH 4/4] Referencia a "commit" sin traducir; quitar marcas fuzzy y comentarios --- library/msilib.po | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/library/msilib.po b/library/msilib.po index dff0c2e520..6e9967d3bf 100644 --- a/library/msilib.po +++ b/library/msilib.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2019-05-06 11:59-0400\n" -"PO-Revision-Date: 2020-10-17 16:54+0200\n" +"PO-Revision-Date: 2020-11-21 22:54+0100\n" "Language-Team: python-doc-es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -237,9 +237,7 @@ msgstr "" "aa379205.aspx>`_ `UuidToString `_" -# Estas traducciones corresponden a encabezados, pero no sé si debería traducir los nombres de los objetos. Yo no lo haría porque es como se definen en Python. La traducción en japonés parece que los traduce (es la única traducción disponible para esta página) #: ../Doc/library/msilib.rst:134 -#, fuzzy msgid "Database Objects" msgstr "Objetos Database" @@ -251,15 +249,13 @@ msgstr "" "Retorna un objeto de vista, llamando a :c:func:`MSIDatabaseOpenView`. *sql* " "es la sentencia SQL a ejecutar." -# ¿commit=persistir? #: ../Doc/library/msilib.rst:145 -#, fuzzy msgid "" "Commit the changes pending in the current transaction, by calling :c:func:" "`MSIDatabaseCommit`." msgstr "" -"Persiste los cambios pendientes en la transacción actual, llamando a :c:func:" -"`MSIDatabaseCommit`." +"Persiste (**commit**) los cambios pendientes en la transacción actual, " +"llamando a :c:func:`MSIDatabaseCommit`." #: ../Doc/library/msilib.rst:151 msgid "" @@ -290,10 +286,7 @@ msgstr "" "`MsiCloseHandle `_" -# ¿Traducir "view" o poner en cursiva? -# (ver contexto) #: ../Doc/library/msilib.rst:171 -#, fuzzy msgid "View Objects" msgstr "Objetos View" @@ -366,9 +359,7 @@ msgstr "" "`MsiViewClose `_" -# ¿Traducir "summary information"? (ver contexto) #: ../Doc/library/msilib.rst:221 -#, fuzzy msgid "Summary Information Objects" msgstr "Objetos Summary Information" @@ -433,9 +424,7 @@ msgstr "" "desktop/aa370491.aspx>`_ `MsiSummaryInfoPersist `_" -# ¿Traducir "record"? #: ../Doc/library/msilib.rst:264 -#, fuzzy msgid "Record Objects" msgstr "Objetos Record" @@ -571,9 +560,7 @@ msgstr "" "Genera un archivo CAB, lo añade como un flujo al archivo MSI, lo añade a la " "tabla ``Media``, y elimina el archivo generado del disco." -# ¿Traducir "directory"? #: ../Doc/library/msilib.rst:360 -#, fuzzy msgid "Directory Objects" msgstr "Objetos Directory" @@ -655,9 +642,7 @@ msgstr "" "com/en-us/library/windows/desktop/aa368007.aspx>`_ `FeatureComponents Table " "`_" -# ¿Traducir "features"? #: ../Doc/library/msilib.rst:414 -#, fuzzy msgid "Features" msgstr "Features"