- Notifications
You must be signed in to change notification settings - Fork397
Ejecuta pospell con un comentario en el PR#1825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes fromall commits
Commits
Show all changes
18 commits Select commitHold shift + click to select a range
9f36e72
wip: github action to run pospell
erickisosfe540b9
corrige y añade traductores faltantes
cacrespo04cd006
Merge pull request #1827 from cacrespo/fix_translators
raulcdbbfed35
logo python-docs-es + instrucciones de cómo generarlo (#1828)
mmmarcos29d216b
Chequea orden en TRANSLATORS (#1830)
rtobar23e34ff
nombre de directorio adecuado (#1829)
cacrespoa7fbd71
Usar 'lanzar' para 'raise' (#1816)
cmaureiref2d567
Varias correcciones en el módulo `time` (#1831)
gio8tisu6713fc1
Fix built-in Sphinx substitutions. (#1834)
ezio-melotti4784132
fix: execute only on PR
erickisosb60f901
Apply suggestions from code review
erickisos94a5617
rename and add continue-on-error
erickisos4c88e59
one liner to avoid confusion
erickisos8a35070
Merge pull request #1 from erickisos/github-actions
erickisos5e8294d
Update check_spell.py
erickisose97b234
delete duplicated file
erickisosa298acd
fix createforIssueComment
erickisos89efe08
Merge pull request #2 from erickisos/erickisos-patch-1
erickisosFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
5 changes: 4 additions & 1 deletion.github/workflows/main.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions.github/workflows/pospell-on-demand.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: pospell | ||
on: | ||
issue_comment: | ||
types: | ||
- edited | ||
- created | ||
jobs: | ||
fix-spell: | ||
name: Fix spelling | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event.issue.pull_request && github.event.comment.body == 'pospell-fix' }} | ||
steps: | ||
- name: Confirmar ejecucion | ||
uses: actions/github-script@v6 | ||
with: | ||
script: | | ||
await github.rest.issues.createForIssueComment({ | ||
context.repo.owner, | ||
context.repo.repo, | ||
comment_id: context.payload.comment.id, | ||
content: "+1", | ||
}); | ||
- uses: actions/checkout@v3 | ||
- name: Preparar Python v3.10 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.10" | ||
cache: "pip" | ||
- name: Instalar dependencias | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y hunspell hunspell-es gettext | ||
python -m pip install -r requirements.txt | ||
- name: Ejecutar Powrap | ||
run: powrap --quiet **/*.po | ||
- name: Revisar con Pospell | ||
run: python scripts/check_spell.py | ||
continue-on-error: true | ||
- name: Commit & Push changes | ||
uses: actions-js/push@master | ||
with: | ||
message: "auto: spell check" | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
58 changes: 58 additions & 0 deletions.overrides/logo/README.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
README | ||
====== | ||
Introducción | ||
------------ | ||
Este README describe la técnica utilizada en Inkscape para generar | ||
el logo de python-docs-es con el nombre de todos los traductores. | ||
La tecnica se llama a veces "Text portrait" y consiste simplemente | ||
en utilizar una imagen como mascara para un texto. Muchos tutoriales | ||
en línea explican el proceso de forma mas o menos completa. | ||
Los archivos `ready-centered.svg` y `ready-fullpage.svg` ya tienen | ||
la tecnica aplicada sobre la imágen de una letra "ñ". | ||
La lista de todos los traductores está en el archivo `./TRANSLATORS`. | ||
Lo ideal es transformar los `\n` en espacios poder copiar y pegar. | ||
Por ejemplo: `$ cat TRANSLATORS | tr '\n' ' ' ` | ||
Modificar la lista de traductores | ||
--------------------------------- | ||
Si sólo se quiere modificar la lista de traductores: | ||
0. En Inkscape abrir uno de los archivos SVG (`ready-centered.svg` o `ready-fullpage.svg`) | ||
1. Abrir el panel de objetos (`Object`/`Objects...`). | ||
2. Seleccionar el objeto `text` | ||
3. Abrir el panel de texto (`Text`/`Text and fonts...` o `Shift`+`Ctrl`+`T`) | ||
4. Elegir el tabs `Text` del panel de texto | ||
5. Remplazar el contenido y cliquear `Apply` | ||
Si el texto es mas corto o mas largo, para que el texto ocupe toda la imágen | ||
puede que haya que adaptar la fuente utilizada (fuente, tamaño, espaciado, ...). | ||
Modificar la imágen | ||
------------------- | ||
Si se quiere modificar la imágen utilizada: | ||
0. En Inkscape abrir uno de los archivos SVG (`ready-centered.svg` o `ready-fullpage.svg`) | ||
1. Abrir el panel de objetos (`Object`/`Objects...`) | ||
2. Seleccionar el objeto `text` | ||
3. Elegir la opción `Object`/`Mask`/`Release` para "soltar" la máscara utilizada | ||
4. En el panel de objetos, aparece un grupo (`gXXXXX`) con la la ñ y un fondo gris | ||
5. Eliminar u ocultar el grupo | ||
6. Agregar la nueva imágen a utilizar (via Drag and Drop o `File`/`Import...`) | ||
7. Aseguarse que la imágen tiene el mismo tamaño que el texto: | ||
a. Seleccionar el objeto texto -> `Ctrl`+`C` | ||
b. Seleccionar la imágen agregada -> `Edit`/`Paste Size`/`Paste Size` | ||
8. Centrar la imágen sobre la página (panel `Object`/`Align and Distribute`) | ||
9. En el panel de objetos, seleccionar la imágen y luego el texto | ||
10. Setear la máscara con `Object`/`Mask`/`Set` | ||
En las partes oscuras de la imágen aparece el texto claro y viceversa. | ||
Puede que sea necesario ajustar la imágen para obtener un buen resultado. |
526 changes: 526 additions & 0 deletions.overrides/logo/ready-centered.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
526 changes: 526 additions & 0 deletions.overrides/logo/ready-fullpage.svg
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.