From c6aff481a3ff2bd325913900636bd4ee2e6a2ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Mart=C3=ADnez?= <104402745+igmtz@users.noreply.github.com> Date: Mon, 7 Aug 2023 15:58:40 -0600 Subject: [PATCH 1/4] Traducido archivo c-api/type.po (#2370) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2053 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: Andrea Alegre Co-authored-by: Cristián Maureira-Fredes --- TRANSLATORS | 1 + c-api/type.po | 41 +++++++++++++++++++++------------- dictionaries/whatsnew_3.11.txt | 7 ++++++ 3 files changed, 34 insertions(+), 15 deletions(-) diff --git a/TRANSLATORS b/TRANSLATORS index e90ad3b6fc..5c595cbd18 100644 --- a/TRANSLATORS +++ b/TRANSLATORS @@ -94,6 +94,7 @@ Gibran Herrera (@gibranhl) Ginés Salar Ibáñez (@Ibnmardanis24) gmdeluca Gonzalo Delgado (@gonzalodelgado) +Gonzalo Martínez (@igmtz) Gonzalo Tixilima (@javoweb) Gustavo Adolfo Huarcaya Delgado (@diavolo) Héctor Canto (@hectorcanto) diff --git a/c-api/type.po b/c-api/type.po index 7b386ef717..67b45360e6 100644 --- a/c-api/type.po +++ b/c-api/type.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 01:37+0200\n" -"Last-Translator: Cristián Maureira-Fredes \n" -"Language: es\n" +"PO-Revision-Date: 2023-04-12 00:54-0600\n" +"Last-Translator: Gonzalo Martinez \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.2\n" #: ../Doc/c-api/type.rst:6 msgid "Type Objects" @@ -66,7 +67,6 @@ msgstr "" "versión actual." #: ../Doc/c-api/type.rst:42 -#, fuzzy msgid "" "Return the :c:member:`~PyTypeObject.tp_flags` member of *type*. This " "function is primarily meant for use with ``Py_LIMITED_API``; the individual " @@ -75,9 +75,9 @@ msgid "" msgstr "" "Retorna el miembro :c:member:`~PyTypeObject.tp_flags` de *type*. Esta " "función está destinada principalmente para su uso con `Py_LIMITED_API`; se " -"garantiza que los bits de bandera (*flag*) individuales serán estables en " -"las versiones de Python, pero el acceso a :c:member:`~PyTypeObject.tp_flags` " -"en sí mismo no forma parte de la API limitada." +"garantiza que los bits de bandera individuales serán estables en las " +"versiones de Python, pero el acceso a :c:member:`~PyTypeObject.tp_flags` en " +"sí mismo no forma parte de la API limitada." #: ../Doc/c-api/type.rst:49 msgid "The return type is now ``unsigned long`` rather than ``long``." @@ -179,12 +179,16 @@ msgid "" "Return the type's name. Equivalent to getting the type's ``__name__`` " "attribute." msgstr "" +"Retorna el nombre del tipo. Equivalente a obtener el atributo ``__name__`` " +"del tipo." #: ../Doc/c-api/type.rst:117 msgid "" "Return the type's qualified name. Equivalent to getting the type's " "``__qualname__`` attribute." msgstr "" +"Retorna el nombre adecuado del tipo de objeto. Equivalente a obtener el " +"atributo ``__qualname__`` del objeto tipo." #: ../Doc/c-api/type.rst:124 msgid "" @@ -230,7 +234,6 @@ msgstr "" "`TypeError` y retorna ``NULL``." #: ../Doc/c-api/type.rst:146 -#, fuzzy msgid "" "This function is usually used to get the module in which a method is " "defined. Note that in such a method, ``PyType_GetModule(Py_TYPE(self))`` may " @@ -245,8 +248,9 @@ msgstr "" "``PyType_GetModule(Py_TYPE(self))`` no retorne el resultado deseado. " "``Py_TYPE(self)`` puede ser una *subclass* de la clase deseada, y las " "subclases no están necesariamente definidas en el mismo módulo que su " -"superclase. Consulte :c:type:`PyCMethod` para obtener la clase que define el " -"método." +"superclase. Consulte :c:func:`PyCMethod` para obtener la clase que define el " +"método. Ver ::c:func:`PyType_GetModuleByDef` para los casos en los que no se " +"puede usar ``PyCMethod``." #: ../Doc/c-api/type.rst:159 msgid "" @@ -271,14 +275,15 @@ msgid "" "Find the first superclass whose module was created from the given :c:type:" "`PyModuleDef` *def*, and return that module." msgstr "" +"Encuentra la primer superclase cuyo módulo fue creado a partir del :c:type:" +"`PyModuleDef` *def* dado, y retorna ese módulo." #: ../Doc/c-api/type.rst:176 -#, fuzzy msgid "" "If no module is found, raises a :py:class:`TypeError` and returns ``NULL``." msgstr "" -"Si no hay ningún módulo asociado con el tipo dado, establece :py:class:" -"`TypeError` y retorna ``NULL``." +"Si no se encuentra ningún módulo, lanza :py:class:`TypeError` y retorna " +"``NULL``." #: ../Doc/c-api/type.rst:178 msgid "" @@ -288,6 +293,11 @@ msgid "" "other places where a method's defining class cannot be passed using the :c:" "type:`PyCMethod` calling convention." msgstr "" +"Esta función está pensada para ser utilizada junto con :c:func:" +"`PyModule_GetState()` para obtener el estado del módulo de los métodos de " +"ranura (como :c:member:`~PyTypeObject.tp_init` o :c:member:`~PyNumberMethods." +"nb_add`) y en otros lugares donde la clase que define a un método no se " +"puede pasar utilizando la convención de llamada :c:type:`PyCMethod`." #: ../Doc/c-api/type.rst:188 msgid "Creating Heap-Allocated Types" @@ -500,7 +510,6 @@ msgstr "" "*bases* de :py:func:`PyType_FromSpecWithBases` en su lugar." #: ../Doc/c-api/type.rst:299 -#, fuzzy msgid "Slots in :c:type:`PyBufferProcs` may be set in the unlimited API." msgstr "" "Las ranuras en :c:type:`PyBufferProcs` se pueden configurar en la API " @@ -511,6 +520,8 @@ msgid "" ":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." "bf_releasebuffer` are now available under the limited API." msgstr "" +":c:member:`~PyBufferProcs.bf_getbuffer` and :c:member:`~PyBufferProcs." +"bf_releasebuffer` ahora están disponibles en la API limitada." #: ../Doc/c-api/type.rst:308 msgid "" diff --git a/dictionaries/whatsnew_3.11.txt b/dictionaries/whatsnew_3.11.txt index 0c0ea14266..82065b9b85 100644 --- a/dictionaries/whatsnew_3.11.txt +++ b/dictionaries/whatsnew_3.11.txt @@ -49,8 +49,11 @@ Srinivasan Szőke Taneli Thatiparthy +Tier Tornetta Volochii +alternative +annotating asíncio blobs brandt @@ -58,8 +61,11 @@ bucher correlacionar dennis fibonacci +guidance +instance liblzma libsqlite +migration nanosegundo pyperformance pyrendimiento @@ -67,3 +73,4 @@ rutalib shannon superinstrucción sweeney +tier From b15d5cb010ab7a645261571543df3cca0a3d4256 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 07:39:02 +0800 Subject: [PATCH 2/4] Bump actions/checkout from 3 to 4 (#2378) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
Release notes

Sourced from actions/checkout's releases.

v4.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v4.0.0

v3.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3.5.3...v3.6.0

v3.5.3

What's Changed

New Contributors

Full Changelog: https://github.com/actions/checkout/compare/v3...v3.5.3

v3.5.2

What's Changed

Full Changelog: https://github.com/actions/checkout/compare/v3.5.1...v3.5.2

v3.5.1

What's Changed

New Contributors

... (truncated)

Changelog

Sourced from actions/checkout's changelog.

Changelog

v4.0.0

v3.6.0

v3.5.3

v3.5.2

v3.5.1

v3.5.0

v3.4.0

v3.3.0

v3.2.0

v3.1.0

v3.0.2

v3.0.1

... (truncated)

Commits

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=actions/checkout&package-manager=github_actions&previous-version=3&new-version=4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6f7012093..e8e7dd1474 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: name: Test runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Preparar Python v3.11 uses: actions/setup-python@v4 with: From 4a02cae44e7cbf03dd39e741c43ddfcd7c10d03d Mon Sep 17 00:00:00 2001 From: Andrea Alegre Date: Mon, 9 Oct 2023 22:04:36 +0100 Subject: [PATCH 3/4] =?UTF-8?q?No=20ignorar=20archivos=20que=20tienen=20s?= =?UTF-8?q?=C3=B3lo=20entradas=20fuzzy=20(#2377)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Me di cuenta que en la página de [progreso de la traducción](https://python-docs-es.readthedocs.io/es/3.11/progress.html) quedan muchos archivos que sólo tienen entradas fuzzy para verificar, pero no hay un issue creado. En esta PR agrego una condición al script `create_issue.py` para que esos archivos no sean ignorados. Además, actualizo un import que no funciona con la version actual de `potodo`. --- scripts/create_issue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/create_issue.py b/scripts/create_issue.py index d3fa95af8b..9bf6a7dd5d 100644 --- a/scripts/create_issue.py +++ b/scripts/create_issue.py @@ -6,7 +6,7 @@ from pathlib import Path from github import Github -from potodo._po_file import PoFileStats +from potodo.potodo import PoFileStats if len(sys.argv) != 2: print('Specify PO filename') @@ -32,7 +32,7 @@ if answer != 'y': sys.exit(1) -if any([ +if pofile.fuzzy == 0 and any([ pofile.translated_nb == pofile.po_file_size, pofile.untranslated_nb == 0, ]): From 169b71e2847a5c679b5e08b213c2581fa0035bb7 Mon Sep 17 00:00:00 2001 From: "Erick G. Islas-Osuna" Date: Tue, 17 Oct 2023 13:50:36 -0600 Subject: [PATCH 4/4] Add stale action for PR and Issues (#2383) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Esta es una propuesta de reemplazo a ladibug para gestionar el estado de Issues y PRs que han estado sin movimiento en un periodo de tiempo. Closes #628 Reemplaza #629 --------- Co-authored-by: Cristián Maureira-Fredes Co-authored-by: Carlos A. Crespo --- .github/workflows/stale.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/stale.yaml diff --git a/.github/workflows/stale.yaml b/.github/workflows/stale.yaml new file mode 100644 index 0000000000..490e313bab --- /dev/null +++ b/.github/workflows/stale.yaml @@ -0,0 +1,18 @@ +name: 'Cierra issues y PRs antiguos' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v8 + with: + stale-pr-label: 'needs decision' + stale-issue-label: 'stale' + days-before-issue-stale: 10 + days-before-pr-stale: 7 + days-before-pr-close: 21 + stale-issue-message: 'Este issue lleva un tiempo sin actualizaciones. ¿Estás trabajando todavía?\nSi necesitas ayuda :sos: no dudes en contactarnos en nuestro [grupo de Telegram](https://t.me/python_docs_es).' + stale-pr-message: 'Este PR lleva un tiempo sin actualizaciones. Vamos a pedir a un admin de nuestro equipo que decida si alguien más puede finalizarlo o si tenemos que cerrarlo.\nPor favor, avisanos en caso de que aún puedas terminarlo.'