mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add accelerators for the filter checkboxes
This commit is contained in:
parent
981f3c624d
commit
0b4d040893
@ -1183,11 +1183,11 @@ class SpellCheck(Dialog):
|
||||
ac.setToolTip(tooltip)
|
||||
h.addWidget(ac)
|
||||
return ac
|
||||
self.show_only_misspelt = hw('misspelled', _('spelled correctly'), _('Hide words that are spelled correctly'))
|
||||
self.all_caps = hw('all-caps', _('ALL CAPS'), _('Hide words with all capital letters'))
|
||||
self.with_numbers = hw('with-numbers', _('with numbers'), _('Hide words that contain numbers'))
|
||||
self.camel_case = hw('camel-case', _('camelCase'), _('Hide words in camelCase'))
|
||||
self.snake_case = hw('snake-case', _('snake_case'), _('Hide words in snake_case'))
|
||||
self.show_only_misspelt = hw('misspelled', _('&spelled correctly'), _('Hide words that are spelled correctly'))
|
||||
self.all_caps = hw('all-caps', _('&ALL CAPS'), _('Hide words with all capital letters'))
|
||||
self.with_numbers = hw('with-numbers', _('with &numbers'), _('Hide words that contain numbers'))
|
||||
self.camel_case = hw('camel-case', _('ca&melCase'), _('Hide words in camelCase'))
|
||||
self.snake_case = hw('snake-case', _('sna&ke_case'), _('Hide words in snake_case'))
|
||||
h.addStretch(10)
|
||||
|
||||
m.h2 = h = QHBoxLayout()
|
||||
|
Loading…
x
Reference in New Issue
Block a user