Skip to content

Commit 80c54f0

Browse files
committed
Move to vendored dictionaries
1 parent c6de98b commit 80c54f0

File tree

3 files changed

+57
-64
lines changed

3 files changed

+57
-64
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
Unreleased
33

44
- Rust: remove char_literal query
5+
- Add the Danish dictionary (`da`)
6+
- Move to blopker fork of wrooom dictionaries
57

68
[0.3.15]
79

Cargo.lock

Lines changed: 35 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/codebook/src/dictionaries/repo.rs

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,48 +56,48 @@ static HUNSPELL_DICTIONARIES: LazyLock<Vec<HunspellRepo>> = LazyLock::new(|| {
5656
),
5757
HunspellRepo::new(
5858
"en_gb",
59-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/en-GB/index.aff",
60-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/en-GB/index.dic",
59+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/en-GB/index.aff",
60+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/en-GB/index.dic",
6161
),
6262
HunspellRepo::new(
6363
"es",
64-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/es/index.aff",
65-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/es/index.dic",
64+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/es/index.aff",
65+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/es/index.dic",
6666
),
6767
HunspellRepo::new(
6868
"de",
69-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/de/index.aff",
70-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/de/index.dic",
69+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/de/index.aff",
70+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/de/index.dic",
7171
),
7272
HunspellRepo::new(
7373
"de_at",
74-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/de-AT/index.aff",
75-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/de-AT/index.dic",
74+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/de-AT/index.aff",
75+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/de-AT/index.dic",
7676
),
7777
HunspellRepo::new(
7878
"de_ch",
79-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/de-CH/index.aff",
80-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/de-CH/index.dic",
79+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/de-CH/index.aff",
80+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/de-CH/index.dic",
8181
),
8282
HunspellRepo::new(
8383
"fr",
84-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/fr/index.aff",
85-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/fr/index.dic",
84+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/fr/index.aff",
85+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/fr/index.dic",
8686
),
8787
HunspellRepo::new(
8888
"ru",
89-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/ru/index.aff",
90-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/ru/index.dic",
89+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/ru/index.aff",
90+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/ru/index.dic",
9191
),
9292
HunspellRepo::new(
9393
"it",
94-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/it/index.aff",
95-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/it/index.dic",
94+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/it/index.aff",
95+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/it/index.dic",
9696
),
9797
HunspellRepo::new(
9898
"sv",
99-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/sv/index.aff",
100-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/sv/index.dic",
99+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/sv/index.aff",
100+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/sv/index.dic",
101101
),
102102
HunspellRepo::new(
103103
"pt_br",
@@ -106,8 +106,8 @@ static HUNSPELL_DICTIONARIES: LazyLock<Vec<HunspellRepo>> = LazyLock::new(|| {
106106
),
107107
HunspellRepo::new(
108108
"nl_nl",
109-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/nl/index.aff",
110-
"https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/nl/index.dic",
109+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/nl/index.aff",
110+
"https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/nl/index.dic",
111111
),
112112
HunspellRepo::new(
113113
"da",

0 commit comments

Comments
 (0)