Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a tool to download spell check dictionaries, alternative 2 #1611

Merged
merged 3 commits into from
Nov 20, 2023

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Nov 20, 2023

Summary:

This PR adds an "Add Dictionaries" dialog that is available on Windows, or when novelWriter is running in DEBUG mode. The tool will process LibreOffice Extension files (*.oxt) and Free Office Dictionary files (*.sox) and extract the *.aff and *.dic Hunspell files contained in them, if any exist. These will be copied to the correct location so the spell checker library can pick them up.

This is an alternative implementation to PR #1610

Related Issue(s):

Closes #982

Reviewer's Checklist:

  • The header of all files contain a reference to the repository license
  • The overall test coverage is increased or remains the same as before
  • All tests are passing
  • All flake8 checks are passing and the style guide is followed
  • Documentation (as docstrings) is complete and understandable
  • Only files that have been actively changed are committed

@vkbo vkbo added this to the Release 2.2 RC 1 milestone Nov 20, 2023
@vkbo vkbo linked an issue Nov 20, 2023 that may be closed by this pull request
@vkbo vkbo merged commit afc0451 into dev Nov 20, 2023
9 checks passed
@vkbo vkbo deleted the download_dicts_2 branch November 20, 2023 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spell check tool and adding dictionaries
1 participant