Skip to content

Commit 7ea360d

Browse files
committed
add spell checker for ES translation
1 parent 0de556b commit 7ea360d

File tree

8 files changed

+39
-6
lines changed

8 files changed

+39
-6
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,5 @@ jobs:
5353
- name: Spell check EN draft
5454
uses: rojopolis/[email protected]
5555
with:
56-
config_path: .spellcheck-en.yml
56+
config_path: .spellcheck-en.yaml
5757
# checks the draft directory with an EN dictionary

.github/workflows/pr.yaml

+14-1
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,22 @@ jobs:
5757
- name: Spell check EN draft
5858
uses: rojopolis/[email protected]
5959
with:
60-
config_path: .spellcheck-en.yml
60+
config_path: .spellcheck-en.yaml
6161
# checks the draft directory with an EN dictionary
6262

63+
check_translations:
64+
name: Check translations
65+
runs-on: ubuntu-24.04
66+
steps:
67+
- name: Checkout markdown
68+
uses: actions/[email protected]
69+
70+
- name: Spell check ES draft
71+
uses: rojopolis/[email protected]
72+
with:
73+
config_path: .spellcheck-es.yaml
74+
# checks the release-es directory with an ES dictionary
75+
6376
export_draft:
6477
name: Export epub and pdf (Draft)
6578
runs-on: ubuntu-24.04

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Spell check EN release
5858
uses: rojopolis/[email protected]
5959
with:
60-
config_path: .spellcheck-en.yml
60+
config_path: .spellcheck-en.yaml
6161
# checks the draft directory with an EN dictionary
6262

6363
create_artifacts:

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
!.lintcheck.yaml
1313
!.lycheeignore
1414
!.markdownlint.yaml
15-
!.spellcheck.yaml
16-
!.wordlist.txt
15+
!.spellcheck*.yaml
16+
!.wordlist*.txt
1717

1818
# allow jekyll build files
1919
!404.html

.spellcheck-en.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ matrix:
44
lang: en
55
dictionary:
66
wordlists:
7-
- .wordlist.txt
7+
- .wordlist-en.txt
88
output: wordlist.dic
99
encoding: utf-8
1010
pipeline:

.spellcheck-es.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
matrix:
2+
- name: Markdown
3+
aspell:
4+
lang: es
5+
dictionary:
6+
wordlists:
7+
- .wordlist-es.txt
8+
output: wordlist.dic
9+
encoding: utf-8
10+
pipeline:
11+
- pyspelling.filters.markdown:
12+
- pyspelling.filters.html:
13+
comments: false
14+
ignores:
15+
- code
16+
- pre
17+
sources:
18+
- 'release-es/**/*.md'
19+
default_encoding: utf-8
File renamed without changes.

.wordlist-es.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Roxana

0 commit comments

Comments
 (0)