From 59ce8f9cdb0b5eb9f6f08299211455f5065da139 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Crist=C3=B3bal=20Herreros?= <diecristher@gmail.com> Date: Sat, 9 Oct 2021 12:18:17 +0200 Subject: [PATCH 1/3] Doc: translate sys.po --- library/sys.po | 51 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 46 insertions(+), 5 deletions(-) diff --git a/library/sys.po b/library/sys.po index 99006694e3..462b232314 100644 --- a/library/sys.po +++ b/library/sys.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-19 11:16+0100\n" -"PO-Revision-Date: 2020-09-17 03:18+0200\n" -"Last-Translator: \n" +"PO-Revision-Date: 2021-10-09 12:17+0200\n" +"Last-Translator: Diego Cristóbal Herreros\n" "Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.8.0\n" +"X-Generator: Poedit 3.0\n" #: ../Doc/library/sys.rst:2 msgid ":mod:`sys` --- System-specific parameters and functions" @@ -150,12 +151,20 @@ msgid "" "given event are considered a public and stable API and should not be " "modified between releases." msgstr "" +"Activar un evento de auditoría y activar cualquier disparador de auditoría " +"activo. *event* es una cadena que identifica el evento, y *args* puede " +"contener argumentos opcionales con más información sobre el evento. El " +"número y los tipos de argumentos para un evento determinado se consideran " +"una API pública y estable y no deberían modificarse entre versiones." #: ../Doc/library/sys.rst:94 msgid "" "For example, one auditing event is named ``os.chdir``. This event has one " "argument called *path* that will contain the requested new working directory." msgstr "" +"Por ejemplo, un evento de auditoría se llama ``os.chdir``. Este evento tiene " +"un argumento llamado *ruta* que contendrá el nuevo directorio de trabajo " +"solicitado." #: ../Doc/library/sys.rst:98 msgid "" @@ -166,6 +175,13 @@ msgid "" "implementations to decide how to respond to particular events: they can " "merely log the event or abort the operation by raising an exception." msgstr "" +":func:`sys.audit` llamará a los ganchos de auditoría existentes, pasando el " +"nombre del evento y los argumentos, y volverá a lanzar la primera excepción " +"de cualquier disparador. En general, si se lanza una excepción, no debería " +"ser manejada y el proceso debería terminar lo más rápidamente posible. Esto " +"permite que las implementaciones de los disparadores decidan cómo responder " +"a determinados eventos: pueden limitarse a registrar el evento o abortar la " +"operación lanzando una excepción." #: ../Doc/library/sys.rst:106 msgid "" @@ -864,7 +880,7 @@ msgstr ":const:`dev_mode`" #: ../Doc/library/sys.rst:464 msgid ":option:`-X dev <-X>` (:ref:`Python Development Mode <devmode>`)" -msgstr "" +msgstr ":option:`-X dev <-X>` (:ref:`Modo de desarrollo de Python <devmode>`)" #: ../Doc/library/sys.rst:465 msgid ":const:`utf8_mode`" @@ -945,7 +961,7 @@ msgstr "" #: ../Doc/library/sys.rst:503 msgid "See also :func:`math.ulp`." -msgstr "" +msgstr "Vea también :func:`math.ulp`." #: ../Doc/library/sys.rst:505 msgid ":const:`dig`" @@ -1040,6 +1056,8 @@ msgid "" "Use :func:`math.ulp(0.0) <math.ulp>` to get the smallest positive " "*denormalized* representable float." msgstr "" +"Usa :func:`math.ulp(0.0) <math.ulp>` para obtener el menor flotante positivo " +"*denormalizado* representable." #: ../Doc/library/sys.rst:525 msgid ":const:`min_exp`" @@ -2181,6 +2199,9 @@ msgid "" "Name of the platform-specific library directory. It is used to build the " "path of standard library and the paths of installed extension modules." msgstr "" +"Nombre del directorio de la biblioteca específica de la plataforma. Se " +"utiliza para construir la ruta de la biblioteca estándar y las rutas de los " +"módulos de extensión instalados." #: ../Doc/library/sys.rst:1161 msgid "" @@ -2188,12 +2209,17 @@ msgid "" "equal to ``\"lib64\"`` on 64-bit platforms which gives the following ``sys." "path`` paths (where ``X.Y`` is the Python ``major.minor`` version):" msgstr "" +"Es igual a ``\"lib\"`` en la mayoría de las plataformas. En Fedora y SuSE, " +"es igual a ``\"lib64\"`` en plataformas de 64 bits, lo que da las siguientes " +"rutas ``sys.path`` (donde ``X.Y`` es la versión ``mayor.menor`` de Python):" #: ../Doc/library/sys.rst:1165 msgid "" "``/usr/lib64/pythonX.Y/``: Standard library (like ``os.py`` of the :mod:`os` " "module)" msgstr "" +"``/usr/lib64/pythonX.Y/``: Biblioteca estándar (como ``os.py`` del módulo :" +"mod:`os`)" #: ../Doc/library/sys.rst:1167 msgid "" @@ -2201,18 +2227,25 @@ msgid "" "library (like the :mod:`errno` module, the exact filename is platform " "specific)" msgstr "" +"``/usr/lib64/pythonX.Y/lib-dynload/``: Módulos de extensión C de la " +"biblioteca estándar (como el módulo :mod:`errno`, el nombre exacto del " +"archivo es específico de la plataforma)" #: ../Doc/library/sys.rst:1170 msgid "" "``/usr/lib/pythonX.Y/site-packages/`` (always use ``lib``, not :data:`sys." "platlibdir`): Third-party modules" msgstr "" +"``/usr/lib/pythonX.Y/site-packages/`` (utilice siempre ``lib``, no :data:" +"`sys.platlibdir`): Módulos de terceros" #: ../Doc/library/sys.rst:1172 msgid "" "``/usr/lib64/pythonX.Y/site-packages/``: C extension modules of third-party " "packages" msgstr "" +"``/usr/lib64/pythonX.Y/site-packages/``: Módulos de extensión C de paquetes " +"de terceros" #: ../Doc/library/sys.rst:1180 msgid "" @@ -2845,11 +2878,19 @@ msgid "" "the :option:`-u` command-line option or setting the :envvar:" "`PYTHONUNBUFFERED` environment variable." msgstr "" +"Cuando es interactivo, el flujo de ``stdout`` se almacena en búfer de línea. " +"En caso contrario, se almacena en búfer de bloque como los archivos de texto " +"normales. El flujo ``stderr`` tiene un búfer de línea en ambos casos. " +"Puede hacer que ambos flujos no tengan búfer pasando la opción de línea de " +"comandos :option:`-u` o estableciendo la variable de entorno :envvar:" +"`PYTHONUNBUFFERED`." #: ../Doc/library/sys.rst:1501 msgid "" "Non-interactive ``stderr`` is now line-buffered instead of fully buffered." msgstr "" +"Ahora, ``stderr`` no interactivo tiene búfer de línea en lugar de búfer " +"completo." #: ../Doc/library/sys.rst:1507 msgid "" From 8f4d0e27da652e018ccc6eb1037ab9f89d9c4943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Crist=C3=B3bal=20Herreros?= <diecristher@gmail.com> Date: Mon, 11 Oct 2021 14:36:57 +0200 Subject: [PATCH 2/3] Fix: change disparador --- library/sys.po | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/library/sys.po b/library/sys.po index 462b232314..9615c19b8b 100644 --- a/library/sys.po +++ b/library/sys.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-19 11:16+0100\n" -"PO-Revision-Date: 2021-10-09 12:17+0200\n" +"PO-Revision-Date: 2021-10-11 14:36+0200\n" "Last-Translator: Diego Cristóbal Herreros\n" "Language: es\n" "Language-Team: python-doc-es\n" @@ -151,11 +151,11 @@ msgid "" "given event are considered a public and stable API and should not be " "modified between releases." msgstr "" -"Activar un evento de auditoría y activar cualquier disparador de auditoría " -"activo. *event* es una cadena que identifica el evento, y *args* puede " -"contener argumentos opcionales con más información sobre el evento. El " -"número y los tipos de argumentos para un evento determinado se consideran " -"una API pública y estable y no deberían modificarse entre versiones." +"Activar un evento de auditoría y activar cualquier hook de auditoría activo. " +"*event* es una cadena que identifica el evento, y *args* puede contener " +"argumentos opcionales con más información sobre el evento. El número y los " +"tipos de argumentos para un evento determinado se consideran una API pública " +"y estable y no deberían modificarse entre versiones." #: ../Doc/library/sys.rst:94 msgid "" @@ -177,10 +177,10 @@ msgid "" msgstr "" ":func:`sys.audit` llamará a los ganchos de auditoría existentes, pasando el " "nombre del evento y los argumentos, y volverá a lanzar la primera excepción " -"de cualquier disparador. En general, si se lanza una excepción, no debería " -"ser manejada y el proceso debería terminar lo más rápidamente posible. Esto " -"permite que las implementaciones de los disparadores decidan cómo responder " -"a determinados eventos: pueden limitarse a registrar el evento o abortar la " +"de cualquier hook. En general, si se lanza una excepción, no debería ser " +"manejada y el proceso debería terminar lo más rápidamente posible. Esto " +"permite que las implementaciones de los hook decidan cómo responder a " +"determinados eventos: pueden limitarse a registrar el evento o abortar la " "operación lanzando una excepción." #: ../Doc/library/sys.rst:106 From 39cab76b4e8cbc3c360cb69d947b4a361a6918b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Crist=C3=B3bal=20Herreros?= <diecristher@gmail.com> Date: Mon, 11 Oct 2021 14:40:38 +0200 Subject: [PATCH 3/3] Fix: change ruta to path --- library/sys.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/sys.po b/library/sys.po index 9615c19b8b..70a0f600ce 100644 --- a/library/sys.po +++ b/library/sys.po @@ -11,7 +11,7 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-03-19 11:16+0100\n" -"PO-Revision-Date: 2021-10-11 14:36+0200\n" +"PO-Revision-Date: 2021-10-11 14:39+0200\n" "Last-Translator: Diego Cristóbal Herreros\n" "Language: es\n" "Language-Team: python-doc-es\n" @@ -163,7 +163,7 @@ msgid "" "argument called *path* that will contain the requested new working directory." msgstr "" "Por ejemplo, un evento de auditoría se llama ``os.chdir``. Este evento tiene " -"un argumento llamado *ruta* que contendrá el nuevo directorio de trabajo " +"un argumento llamado *path* que contendrá el nuevo directorio de trabajo " "solicitado." #: ../Doc/library/sys.rst:98