From cfff16b150285b0d12bd89777ec21c4941c865d7 Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Sat, 5 Nov 2022 13:52:39 -0300 Subject: [PATCH 1/9] translate faq/library --- faq/library.po | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/faq/library.po b/faq/library.po index 84ddd66dba..c5b2516df9 100644 --- a/faq/library.po +++ b/faq/library.po @@ -11,15 +11,16 @@ msgstr "" "Project-Id-Version: Python 3.8\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" -"PO-Revision-Date: 2021-08-02 11:09+0200\n" +"PO-Revision-Date: 2022-11-05 13:47-0300\n" "Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" "Language-Team: python-doc-es\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Language: 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" "Generated-By: Babel 2.10.3\n" +"X-Generator: Poedit 3.2\n" #: ../Doc/faq/library.rst:5 msgid "Library and Extension FAQ" @@ -337,7 +338,6 @@ msgid "How do I create documentation from doc strings?" msgstr "¿Cómo creo documentación a partir de los docstrings?" #: ../Doc/faq/library.rst:181 -#, fuzzy msgid "" "The :mod:`pydoc` module can create HTML from the doc strings in your Python " "source code. An alternative for creating API documentation purely from " @@ -717,11 +717,19 @@ msgid "" "The :mod:`shutil` module contains a :func:`~shutil.copyfile` function. Note " "that on Windows NTFS volumes, it does not copy `alternate data streams " "`_ nor " -"`resource forks `__ on macOS " -"HFS+ volumes, though both are now rarely used. It also doesn't copy file " +"`resource forks `__ on macOS HFS" +"+ volumes, though both are now rarely used. It also doesn't copy file " "permissions and metadata, though using :func:`shutil.copy2` instead will " "preserve most (though not all) of it." msgstr "" +"El módulo :mod:`shutil` contiene una función :func:`~shutil.copyfile`. " +"Nótese que en volúmenes de Windows NTFS, no copia los `flujos alternativos " +"de datos *(ADS)* `_ ni " +"las `bifurcaciones de recursos *(resource forks)*`__ en los volúmenes macOS HFS+, aunque ahora ambos rara " +"vez son utilizados. Además tampoco copia los permisos ni metadatos de los " +"archivos, pero si se usa :func:`shutil.copy2` en su lugar, se preservará la " +"mayor parte (aunque no todo)." #: ../Doc/faq/library.rst:497 msgid "How do I read (or write) binary data?" @@ -772,8 +780,8 @@ msgid "" "will return :class:`str` objects rather than :class:`bytes` objects." msgstr "" "Para leer y escribir datos binarios, es obligatorio abrir el fichero en modo " -"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa " -"``\"r\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " +"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa ``\"r" +"\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " "retornará objetos :class:`str` en vez de objetos :class:`bytes`." #: ../Doc/faq/library.rst:529 @@ -801,11 +809,11 @@ msgstr "¿Cómo accedo al puerto serial (RS232)?" #: ../Doc/faq/library.rst:620 msgid "For Win32, OSX, Linux, BSD, Jython, IronPython:" -msgstr "" +msgstr "Para Win32, OSX, Linux, BSD, Jython, IronPython:" #: ../Doc/faq/library.rst:622 msgid "https://pypi.org/project/pyserial/" -msgstr "" +msgstr "https://pypi.org/project/pyserial/" #: ../Doc/faq/library.rst:624 msgid "For Unix, see a Usenet post by Mitch Chapman:" @@ -897,14 +905,14 @@ msgstr "" "wiki.python.org/moin/WebProgramming\\ ." #: ../Doc/faq/library.rst:672 -#, fuzzy msgid "" "Cameron Laird maintains a useful set of pages about Python web technologies " "at https://web.archive.org/web/20210224183619/http://phaseit.net/claird/comp." "lang.python/web_python." msgstr "" "Cameron Laird mantiene un conjunto útil de páginas sobre tecnologías web " -"Python en http://phaseit.net/claird/comp.lang.python/web_python." +"Python en https://web.archive.org/web/20210224183619/http://phaseit.net/" +"claird/comp.lang.python/web_python." #: ../Doc/faq/library.rst:677 msgid "How can I mimic CGI form submission (METHOD=POST)?" From c735c0f9603d5c8c3df426de0004fb3133708397 Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Sat, 5 Nov 2022 13:54:08 -0300 Subject: [PATCH 2/9] manual changes in faq/library --- faq/library.po | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/faq/library.po b/faq/library.po index c5b2516df9..b7c76bf331 100644 --- a/faq/library.po +++ b/faq/library.po @@ -12,7 +12,7 @@ msgstr "" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2022-10-25 19:47+0200\n" "PO-Revision-Date: 2022-11-05 13:47-0300\n" -"Last-Translator: Cristián Maureira-Fredes \n" +"Last-Translator: Sofía Denner \n" "Language-Team: python-doc-es\n" "Language: es\n" "MIME-Version: 1.0\n" @@ -1155,31 +1155,3 @@ msgid "" msgstr "" "También hay una clase ``Random`` que usted puede instanciar para crear " "múltiples generadores independientes de valores aleatorios." - -#~ msgid "" -#~ "For Windows: use `the consolelib module `_." -#~ msgstr "" -#~ "Para Windows: use `el módulo consolelib `_." - -#~ msgid "" -#~ "Aahz has a set of slides from his threading tutorial that are helpful; " -#~ "see http://www.pythoncraft.com/OSCON2001/." -#~ msgstr "" -#~ "Aahz tiene un conjunto de transparencias en su tutorial de hilos que " -#~ "resulta útil: vea http://www.pythoncraft.com/OSCON2001/." - -#~ msgid "" -#~ "The :mod:`shutil` module contains a :func:`~shutil.copyfile` function. " -#~ "Note that on MacOS 9 it doesn't copy the resource fork and Finder info." -#~ msgstr "" -#~ "El módulo :mod:`shutil` contiene una función :func:`~shutil.copyfile`. " -#~ "Nótese que en MacOS 9 no copia el fork del recurso ni la información de " -#~ "Finder." - -#~ msgid "For Win32, POSIX (Linux, BSD, etc.), Jython:" -#~ msgstr "Para *Win32*, POSIX (Linux, BSD, etc.), Jython:" - -#~ msgid "http://pyserial.sourceforge.net" -#~ msgstr "http://pyserial.sourceforge.net" From e008dd42141343b14b4102133453391faf2faf34 Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Sat, 5 Nov 2022 15:56:36 -0300 Subject: [PATCH 3/9] fix powrap --- faq/library.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faq/library.po b/faq/library.po index b7c76bf331..a48a0707cf 100644 --- a/faq/library.po +++ b/faq/library.po @@ -717,8 +717,8 @@ msgid "" "The :mod:`shutil` module contains a :func:`~shutil.copyfile` function. Note " "that on Windows NTFS volumes, it does not copy `alternate data streams " "`_ nor " -"`resource forks `__ on macOS HFS" -"+ volumes, though both are now rarely used. It also doesn't copy file " +"`resource forks `__ on macOS " +"HFS+ volumes, though both are now rarely used. It also doesn't copy file " "permissions and metadata, though using :func:`shutil.copy2` instead will " "preserve most (though not all) of it." msgstr "" @@ -780,8 +780,8 @@ msgid "" "will return :class:`str` objects rather than :class:`bytes` objects." msgstr "" "Para leer y escribir datos binarios, es obligatorio abrir el fichero en modo " -"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa ``\"r" -"\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " +"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa " +"``\"r\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " "retornará objetos :class:`str` en vez de objetos :class:`bytes`." #: ../Doc/faq/library.rst:529 From d75729fd05375facc4f5400cb2846ce502bd88a1 Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Sun, 6 Nov 2022 11:41:48 -0300 Subject: [PATCH 4/9] powrap 2nd attempt --- faq/library.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faq/library.po b/faq/library.po index a48a0707cf..b7c76bf331 100644 --- a/faq/library.po +++ b/faq/library.po @@ -717,8 +717,8 @@ msgid "" "The :mod:`shutil` module contains a :func:`~shutil.copyfile` function. Note " "that on Windows NTFS volumes, it does not copy `alternate data streams " "`_ nor " -"`resource forks `__ on macOS " -"HFS+ volumes, though both are now rarely used. It also doesn't copy file " +"`resource forks `__ on macOS HFS" +"+ volumes, though both are now rarely used. It also doesn't copy file " "permissions and metadata, though using :func:`shutil.copy2` instead will " "preserve most (though not all) of it." msgstr "" @@ -780,8 +780,8 @@ msgid "" "will return :class:`str` objects rather than :class:`bytes` objects." msgstr "" "Para leer y escribir datos binarios, es obligatorio abrir el fichero en modo " -"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa " -"``\"r\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " +"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa ``\"r" +"\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " "retornará objetos :class:`str` en vez de objetos :class:`bytes`." #: ../Doc/faq/library.rst:529 From 64e3d956e21babcc2d0d9fb2aa4cafca43385e8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= Date: Sun, 6 Nov 2022 20:50:05 +0100 Subject: [PATCH 5/9] powrap --- faq/library.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faq/library.po b/faq/library.po index b7c76bf331..a48a0707cf 100644 --- a/faq/library.po +++ b/faq/library.po @@ -717,8 +717,8 @@ msgid "" "The :mod:`shutil` module contains a :func:`~shutil.copyfile` function. Note " "that on Windows NTFS volumes, it does not copy `alternate data streams " "`_ nor " -"`resource forks `__ on macOS HFS" -"+ volumes, though both are now rarely used. It also doesn't copy file " +"`resource forks `__ on macOS " +"HFS+ volumes, though both are now rarely used. It also doesn't copy file " "permissions and metadata, though using :func:`shutil.copy2` instead will " "preserve most (though not all) of it." msgstr "" @@ -780,8 +780,8 @@ msgid "" "will return :class:`str` objects rather than :class:`bytes` objects." msgstr "" "Para leer y escribir datos binarios, es obligatorio abrir el fichero en modo " -"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa ``\"r" -"\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " +"binario (aquí, pasando ``\"rb\"`` a :func:`open`). Si, en cambio, usa " +"``\"r\"`` (por defecto), el fichero se abrirá en modo texto y ``f.read()`` " "retornará objetos :class:`str` en vez de objetos :class:`bytes`." #: ../Doc/faq/library.rst:529 From 6981d67ff1b8457ff72657db49b9654574282804 Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Fri, 11 Nov 2022 15:21:11 -0300 Subject: [PATCH 6/9] fix hyperlinks --- faq/library.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/faq/library.po b/faq/library.po index a48a0707cf..e49b924de2 100644 --- a/faq/library.po +++ b/faq/library.po @@ -724,9 +724,9 @@ msgid "" msgstr "" "El módulo :mod:`shutil` contiene una función :func:`~shutil.copyfile`. " "Nótese que en volúmenes de Windows NTFS, no copia los `flujos alternativos " -"de datos *(ADS)* `_ ni " -"las `bifurcaciones de recursos *(resource forks)*`__ en los volúmenes macOS HFS+, aunque ahora ambos rara " +"de datos **(ADS)** `_ ni " +"las `bifurcaciones de recursos **(resource forks)** `_ en los volúmenes macOS HFS+, aunque ahora ambos rara " "vez son utilizados. Además tampoco copia los permisos ni metadatos de los " "archivos, pero si se usa :func:`shutil.copy2` en su lugar, se preservará la " "mayor parte (aunque no todo)." From a642634ec1881ed6ed158e8f4e1a1dba491166bf Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Fri, 11 Nov 2022 15:28:19 -0300 Subject: [PATCH 7/9] attempt to fix powrap --- faq/library.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/faq/library.po b/faq/library.po index e49b924de2..13803e7f0f 100644 --- a/faq/library.po +++ b/faq/library.po @@ -724,12 +724,12 @@ msgid "" msgstr "" "El módulo :mod:`shutil` contiene una función :func:`~shutil.copyfile`. " "Nótese que en volúmenes de Windows NTFS, no copia los `flujos alternativos " -"de datos **(ADS)** `_ ni " -"las `bifurcaciones de recursos **(resource forks)** `_ en los volúmenes macOS HFS+, aunque ahora ambos rara " -"vez son utilizados. Además tampoco copia los permisos ni metadatos de los " -"archivos, pero si se usa :func:`shutil.copy2` en su lugar, se preservará la " -"mayor parte (aunque no todo)." +"de datos **(ADS)** `_ " +"ni las `bifurcaciones de recursos **(resource forks)** `_ en los volúmenes macOS HFS+, aunque ahora ambos " +"rara vez son utilizados. Además tampoco copia los permisos ni metadatos de " +"los archivos, pero si se usa :func:`shutil.copy2` en su lugar, se preservará " +"la mayor parte (aunque no todo)." #: ../Doc/faq/library.rst:497 msgid "How do I read (or write) binary data?" From af689d24f7b03b091eebce98d66c9b50f65fd0ad Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Fri, 11 Nov 2022 15:44:07 -0300 Subject: [PATCH 8/9] remove * from links --- faq/library.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/faq/library.po b/faq/library.po index 13803e7f0f..b0c53bc14f 100644 --- a/faq/library.po +++ b/faq/library.po @@ -724,8 +724,8 @@ msgid "" msgstr "" "El módulo :mod:`shutil` contiene una función :func:`~shutil.copyfile`. " "Nótese que en volúmenes de Windows NTFS, no copia los `flujos alternativos " -"de datos **(ADS)** `_ " -"ni las `bifurcaciones de recursos **(resource forks)** `_ " +"ni las `bifurcaciones de recursos (resource forks) `_ en los volúmenes macOS HFS+, aunque ahora ambos " "rara vez son utilizados. Además tampoco copia los permisos ni metadatos de " "los archivos, pero si se usa :func:`shutil.copy2` en su lugar, se preservará " From b36a7dd4aa8eac93872e7828f6c37213480e7073 Mon Sep 17 00:00:00 2001 From: Sofia Denner Date: Fri, 11 Nov 2022 15:52:16 -0300 Subject: [PATCH 9/9] attempt to fix powrap --- faq/library.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/faq/library.po b/faq/library.po index b0c53bc14f..b394a63176 100644 --- a/faq/library.po +++ b/faq/library.po @@ -724,12 +724,12 @@ msgid "" msgstr "" "El módulo :mod:`shutil` contiene una función :func:`~shutil.copyfile`. " "Nótese que en volúmenes de Windows NTFS, no copia los `flujos alternativos " -"de datos (ADS) `_ " -"ni las `bifurcaciones de recursos (resource forks) `_ en los volúmenes macOS HFS+, aunque ahora ambos " -"rara vez son utilizados. Además tampoco copia los permisos ni metadatos de " -"los archivos, pero si se usa :func:`shutil.copy2` en su lugar, se preservará " -"la mayor parte (aunque no todo)." +"de datos (ADS) `_ ni " +"las `bifurcaciones de recursos (resource forks) `_ en los volúmenes macOS HFS+, aunque ahora ambos rara " +"vez son utilizados. Además tampoco copia los permisos ni metadatos de los " +"archivos, pero si se usa :func:`shutil.copy2` en su lugar, se preservará la " +"mayor parte (aunque no todo)." #: ../Doc/faq/library.rst:497 msgid "How do I read (or write) binary data?"