mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1414444 [Untranslated string "occurrences of"](https://bugs.launchpad.net/calibre/+bug/1414444)
This commit is contained in:
parent
dcc80ea16a
commit
deebe240ee
@ -1309,7 +1309,7 @@ def run_search(
|
|||||||
'Currently selected text does not match the search query.'))
|
'Currently selected text does not match the search query.'))
|
||||||
|
|
||||||
def count_message(action, count, show_diff=False):
|
def count_message(action, count, show_diff=False):
|
||||||
msg = _('%(action)s %(num)s occurrences of %(query)s' % dict(num=count, query=errfind, action=action))
|
msg = _('%(action)s %(num)s occurrences of %(query)s') % dict(num=count, query=errfind, action=action)
|
||||||
if show_diff and count > 0:
|
if show_diff and count > 0:
|
||||||
d = MessageBox(MessageBox.INFO, _('Searching done'), prepare_string_for_xml(msg), parent=gui_parent, show_copy_button=False)
|
d = MessageBox(MessageBox.INFO, _('Searching done'), prepare_string_for_xml(msg), parent=gui_parent, show_copy_button=False)
|
||||||
d.diffb = b = d.bb.addButton(_('See what &changed'), d.bb.ActionRole)
|
d.diffb = b = d.bb.addButton(_('See what &changed'), d.bb.ActionRole)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user