This commit is contained in:
Kovid Goyal 2016-11-04 10:47:49 +05:30
parent 45e1817376
commit 46a560925d

View File

@ -190,7 +190,7 @@ class UpdateMixin(object):
if has_calibre_update:
plt = u''
if has_plugin_updates:
plt = _(' (%d plugin updates)')%number_of_plugin_updates
plt = ngettext(' (one plugin update)', ' ({} plugin updates)', number_of_plugin_updates).format(number_of_plugin_updates)
msg = (u'<span style="color:green; font-weight: bold">%s: '
u'<a href="update:%s">%s%s</a></span>') % (
_('Update found'), version_url, calibre_version, plt)