1
0
Fork 0

Improved db operations and db feedback (#279)

* prevented crashing when database indexes are missing, they are now permanent instead of being created on-the-fly when loading a dictionary

* code style fixes in DictionaryDb.java

* removed some unused code

* counting the dictionaries to be loaded is no longer responsibility of the Load Button, but of the DictionaryLoader

* delete dictionary buttons are now being locked while deleting is in progress; also, a status message is displayed for better UX

* updated translations and documentation
This commit is contained in:
Dimo Karaivanov 2023-06-07 11:08:00 +03:00 committed by GitHub
parent f92ad96827
commit c63d054422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 202 additions and 180 deletions

View file

@ -23,19 +23,19 @@ _If you don't do the above, there will be no suggestions when typing in Predicti
### Dictionary Tips
#### Loading a Dictionary
Once a dictionary is loaded, it will stay there until you use one of the "clear" options. This means you can enable and disable languages without reloading their dictionaries every time. Just do it once, only the first time.
Once a dictionary is loaded, it will stay there until you use one of the "delete" options. This means you can enable and disable languages without reloading their dictionaries every time. Just do it once, only the first time.
It also means that if you need to start using language X, you can safely disable all other languages, load only dictionary X (and save time!), then re-enable all languages you used before.
Have in mind reloading a dictionary will reset the suggestion popularity to the factory defaults _(your custom added words will not be affected)_. However, there should be nothing to worry about. For the most part, you will see little to no difference in the suggestion order, unless you oftenly use uncommon words.
#### Clearing a Dictionary
#### Deleting a Dictionary
If you have stopped using languages X or Y, you could disable them and also use "Clear Unselected", to delete their dictionaries and free some memory.
If you have stopped using languages X or Y, you could disable them and also use "Delete Unselected", to remove their dictionaries and free some memory.
To delete everything, regardless of the selection, use "Clear All".
To delete everything, regardless of the selection, use "Delete All".
In all cases, clearing a dictionary deletes both all factory and all custom added words.
In all cases, deleting a dictionary removes both all factory and all custom added words.
## Hotkeys