Skip to content

Commit

Permalink
Use English Wiktionary translation data to create en-th files
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyzz committed Nov 5, 2024
1 parent e30bef8 commit 46d2fde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
fail-fast: false
matrix:
gloss_lang: ['de', 'el', 'en', 'es', 'fi', 'fr', 'he', 'hr', 'it', 'ja', 'lt', 'nl', 'nb', 'pl', 'pt', 'ru', 'sv', 'zh']
gloss_lang: ['de', 'el', 'en', 'es', 'fi', 'fr', 'he', 'hr', 'it', 'ja', 'lt', 'nl', 'nb', 'pl', 'pt', 'ru', 'sv', 'th', 'zh']
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "Proficiency"
version = "0.5.22"
version = "0.5.23"
authors = [{ name = "xxyzz" }]
description = "Create language files for WordDumb."
readme = "README.md"
Expand Down
1 change: 1 addition & 0 deletions src/proficiency/languages.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
# key is translated word language code, value is source Wiktionary edition codes
KAIKKI_TRANSLATED_GLOSS_LANGS: dict[str, list[str]] = {
"he": ["en"], # English to Hebrew
"th": ["en"],
}

# has_exolex: has lemmas in other languages
Expand Down

0 comments on commit 46d2fde

Please sign in to comment.