From 704b245a34d3598d969d6ca5db0ca112fdc2bd38 Mon Sep 17 00:00:00 2001 From: MHanak1 Date: Wed, 4 Feb 2026 11:51:12 +0100 Subject: [PATCH 1/2] added the polish dictionary --- crates/codebook/src/dictionaries/repo.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/codebook/src/dictionaries/repo.rs b/crates/codebook/src/dictionaries/repo.rs index dd4c2b9..82005f7 100644 --- a/crates/codebook/src/dictionaries/repo.rs +++ b/crates/codebook/src/dictionaries/repo.rs @@ -114,6 +114,11 @@ static HUNSPELL_DICTIONARIES: LazyLock> = LazyLock::new(|| { "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/da/index.aff", "https://raw.githubusercontent.com/blopker/dictionaries/refs/heads/main/dictionaries/da/index.dic", ), + HunspellRepo::new( + "pl", + "https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/pl/index.aff", + "https://raw.githubusercontent.com/wooorm/dictionaries/refs/heads/main/dictionaries/pl/index.dic", + ), ] }); From b1a4f65b753635ea782f171e67d4283eceafa7df Mon Sep 17 00:00:00 2001 From: MHanak1 Date: Wed, 4 Feb 2026 12:19:01 +0100 Subject: [PATCH 2/2] Added language to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5798fb2..e92c432 100644 --- a/README.md +++ b/README.md @@ -249,6 +249,7 @@ Project-specific configuration is loaded from either `codebook.toml` or `.codebo # - Russian: "ru" # - Swedish: "sv" # - Danish: "da" +# - Polish: "pl" dictionaries = ["en_us", "en_gb"] # Custom allowlist of words to ignore (case-insensitive)