mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1936946 [Available plugin update in parentheses can be misleading](https://bugs.launchpad.net/calibre/+bug/1936946)
This commit is contained in:
parent
4f9e83e642
commit
163a4ce54a
@ -221,7 +221,7 @@ class UpdateMixin(object):
|
||||
if has_calibre_update:
|
||||
plt = ''
|
||||
if has_plugin_updates:
|
||||
plt = ngettext(' (one plugin update)', ' ({} plugin updates)', number_of_plugin_updates).format(number_of_plugin_updates)
|
||||
plt = ngettext(' and one plugin update', ' and {} plugin updates', number_of_plugin_updates).format(number_of_plugin_updates)
|
||||
msg = ('<span style="color:green; font-weight: bold">%s: '
|
||||
'<a href="update:%s">%s%s</a></span>') % (
|
||||
_('Update found'), version_url, calibre_version, plt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user