Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
erickisos wants to merge18 commits intopython:3.10fromerickisos:github-actions
Closed
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
18 commits
Select commitHold shift + click to select a range
9f36e72
wip: github action to run pospell
erickisosFeb 13, 2022
fe540b9
corrige y añade traductores faltantes
cacrespoJun 29, 2022
04cd006
Merge pull request #1827 from cacrespo/fix_translators
raulcdJun 30, 2022
bbfed35
logo python-docs-es + instrucciones de cómo generarlo (#1828)
mmmarcosJul 3, 2022
29d216b
Chequea orden en TRANSLATORS (#1830)
rtobarJul 10, 2022
23e34ff
nombre de directorio adecuado (#1829)
cacrespoJul 10, 2022
a7fbd71
Usar 'lanzar' para 'raise' (#1816)
cmaureirJul 10, 2022
ef2d567
Varias correcciones en el módulo `time` (#1831)
gio8tisuAug 4, 2022
6713fc1
Fix built-in Sphinx substitutions. (#1834)
ezio-melottiOct 1, 2022
4784132
fix: execute only on PR
erickisosOct 3, 2022
b60f901
Apply suggestions from code review
erickisosOct 3, 2022
94a5617
rename and add continue-on-error
erickisosOct 3, 2022
4c88e59
one liner to avoid confusion
erickisosOct 3, 2022
8a35070
Merge pull request #1 from erickisos/github-actions
erickisosOct 4, 2022
5e8294d
Update check_spell.py
erickisosOct 4, 2022
e97b234
delete duplicated file
erickisosOct 4, 2022
a298acd
fix createforIssueComment
erickisosOct 4, 2022
89efe08
Merge pull request #2 from erickisos/erickisos-patch-1
erickisosOct 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion.github/workflows/main.yml
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -22,11 +22,14 @@ jobs:
- name: Instalar dependencias
run: |
sudo apt-get update
sudo apt-get install -y hunspell hunspell-es gettext
sudo apt-get install -y hunspell hunspell-es gettext language-pack-es
python -m pip install -r requirements.txt
pip list
pospell --version
powrap --version
- name: TRANSLATORS
run: |
diff -Naur TRANSLATORS <(LANG=es python scripts/sort.py < TRANSLATORS)
- name: Powrap
run: powrap --check --quiet **/*.po
- name: Pospell
Expand Down
44 changes: 44 additions & 0 deletions.github/workflows/pospell-on-demand.yml
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
Original file line numberDiff line numberDiff 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
View file
Open in desktop
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
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

[8]ページ先頭

©2009-2025 Movatter.jp