This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Reference: https://github.com/SeedSigner/seedsigner/pull/714 | |
| ## Note: the wordlists files will be stored at the seedsigner-translations submodule | |
| ## the path would be : /src/resources/seedsigner-translations/[lang-code]/wordlists/[lang-name]_list.py | |
| import os | |
| import ast | |
| from seedsigner.models.settings_definition import SettingsConstants | |
| def _load_wordlist_from_file(language_code: str) -> list: | |
| """ | |
| Load wordlist from file system path in seedsigner-translations submodule. |