Fix #1936946 [Available plugin update in parentheses can be misleading](https://bugs.launchpad.net/calibre/+bug/1936946)

This commit is contained in:
Kovid Goyal 2021-07-20 20:20:28 +05:30
parent 4f9e83e642
commit 163a4ce54a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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)