diff --git a/.github/problem-matchers/pospell.json b/.github/problem-matchers/pospell.json new file mode 100644 index 0000000000..cedddb008a --- /dev/null +++ b/.github/problem-matchers/pospell.json @@ -0,0 +1,15 @@ +{ + "problemMatcher": [ + { + "owner": "pospell", + "pattern": [ + { + "regexp": "^(.*):(\\d+):(.*)$", + "file": 1, + "line": 2, + "message": 3 + } + ] + } + ] +} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 263220aed4..b685c49c3a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,12 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 + - name: Register problem matchers + run: echo "::add-matcher::.github/problem-matchers/pospell.json" + - uses: lots0logs/gh-action-get-changed-files@2.1.4 + id: changed_files + with: + token: ${{ secrets.GITHUB_TOKEN }} - name: Preparar Python v3.11 uses: actions/setup-python@v2 with: @@ -35,6 +41,19 @@ jobs: - name: Pospell run: | python scripts/check_spell.py + - name: Padpoes + env: + ADDED_FILES: ${{ join(fromJSON(steps.changed_files.outputs.added), ' ') }} + MODIFIED_FILES: ${{ join(fromJSON(steps.changed_files.outputs.modified), ' ') }} + run: | + CHANGED_PO_FILES=$(printf "%s %s\n" "$ADDED_FILES" "$MODIFIED_FILES" | tr ' ' '\n' | grep '.po$'; true) + if [ -n "$CHANGED_PO_FILES" ] + then + echo "Running on:" $CHANGED_PO_FILES + padpoes -i $CHANGED_PO_FILES 2>&1 | grep -v -Ff padpoes.ignore + else + echo "No changed po files, nothing to check." + fi - name: Construir documentación run: | # FIXME: Relative paths for includes in 'cpython' diff --git a/library/functools.po b/library/functools.po index ac0b55afab..a78276b096 100644 --- a/library/functools.po +++ b/library/functools.po @@ -63,7 +63,7 @@ msgid "" "needs to evict old values, this is smaller and faster than :func:" "`lru_cache()` with a size limit." msgstr "" -"Retorna lo mismo que ``lru_cache(maxsize=None)``, creando una envoltura " +"Devuelve lo mismo que ``lru_cache(maxsize=None)``, creando una envoltura " "delgada alrededor de una búsqueda de diccionario para los argumentos de la " "función. Debido a que nunca necesita desalojar los valores antiguos, esto es " "más pequeño y más rápido que :func:`lru_cache()` con un límite de tamaño." @@ -194,8 +194,6 @@ msgstr "" msgid "" "For sorting examples and a brief sorting tutorial, see :ref:`sortinghowto`." msgstr "" -"Para ejemplos de clasificación y un breve tutorial de clasificación, ver :" -"ref:`sortinghowto`." #: ../Doc/library/functools.rst:139 msgid "" @@ -231,6 +229,7 @@ msgstr "" "pueden tener dos entradas de caché separadas." #: ../Doc/library/functools.rst:151 +#, fuzzy msgid "" "If *user_function* is specified, it must be a callable. This allows the " "*lru_cache* decorator to be applied directly to a user function, leaving the " diff --git a/library/venv.po b/library/venv.po index 585d5766c9..25afb6ad4d 100644 --- a/library/venv.po +++ b/library/venv.po @@ -69,7 +69,7 @@ msgstr "" "virtual-environments/#creating-a-virtual-environment>`__" msgid ":ref:`Availability `: not Emscripten, not WASI." -msgstr "" +msgstr ":ref:`Disponibilidad `: no Emscripten, no WASI." #: ../Doc/library/cpython/Doc/includes/wasm-notavail.rst:5 msgid "" diff --git a/padpoes.ignore b/padpoes.ignore new file mode 100644 index 0000000000..e69de29bb2 diff --git a/requirements.txt b/requirements.txt index 1e31e39fa8..489399003d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,3 +14,4 @@ sphinx-autorun sphinxemoji sphinx-tabs tabulate +padpoes pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy