[Editor][master] Problematic spell check count with "only mispelled words" option disabled
Bug #2064792 reported by
Michele Galimberti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This appears in a development environment after commit c9a4c4b if the option "Show only misspelled words" is disabled. In this case, the dialog title will display a string such as:
Spellcheck showing: 200 of 80 misspelled and 200 total words
with the 1st number bigger than the 2nd.
The best solution is probably to implement a logic to change the string to something like:
Spellcheck showing: {0} total words (with {1} misspelled)
when "Show only misspelled words" is disabled. Maybe even without the parenthesis part
To post a comment you must log in.
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.