[Editor][master] Problematic spell check count with "only mispelled words" option disabled

Bug #2064792 reported by Michele Galimberti
6
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

Revision history for this message
Michele Galimberti (galimberti-michele) wrote :
Revision history for this message
Kovid Goyal (kovid) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

Changed in calibre:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.