From ba946d4fdd12bf1bc8e975899051c27b5ab02ac7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A1udio=20Esperan=C3=A7a?= Date: Fri, 10 Apr 2026 11:51:30 +0100 Subject: [PATCH] Add Portuguese (Portugal) Hunspell repositories --- crates/codebook/src/dictionaries/repo.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/crates/codebook/src/dictionaries/repo.rs b/crates/codebook/src/dictionaries/repo.rs index efa45d5..9dd64e2 100644 --- a/crates/codebook/src/dictionaries/repo.rs +++ b/crates/codebook/src/dictionaries/repo.rs @@ -149,6 +149,16 @@ static HUNSPELL_DICTIONARIES: LazyLock> = LazyLock::new(|| { "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/uk/index.aff", "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/uk/index.dic", ), + HunspellRepo::new( + "pt_pt", + "https://raw.githubusercontent.com/streetsidesoftware/cspell-dicts/refs/heads/main/dictionaries/pt_PT/src/hunspell/Portuguese-European.aff", + "https://raw.githubusercontent.com/streetsidesoftware/cspell-dicts/refs/heads/main/dictionaries/pt_PT/src/hunspell/Portuguese-European.dic", + ), + HunspellRepo::new( + "pt", + "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/pt/index.aff", + "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/pt/index.dic", + ), ] });