mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 05:22:52 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -221,7 +221,7 @@ def update_found(self, calibre_version, number_of_plugin_updates, force=False, n
|
|||
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…
Reference in a new issue