mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1887170 [[Enhancement] Remove the word "plugin" from the list of plugin categories](https://bugs.launchpad.net/calibre/+bug/1887170)
This commit is contained in:
parent
23db78d486
commit
73696d4bae
@ -198,9 +198,7 @@ class PluginModel(QAbstractItemModel, AdaptSQP): # {{{
|
|||||||
return None
|
return None
|
||||||
if index.internalId() == 0:
|
if index.internalId() == 0:
|
||||||
if role == Qt.DisplayRole:
|
if role == Qt.DisplayRole:
|
||||||
category = self.categories[index.row()]
|
return self.categories[index.row()]
|
||||||
return (_("%(plugin_type)s %(plugins)s")%
|
|
||||||
dict(plugin_type=category, plugins=_('plugins')))
|
|
||||||
else:
|
else:
|
||||||
plugin = self.index_to_plugin(index)
|
plugin = self.index_to_plugin(index)
|
||||||
disabled = is_disabled(plugin)
|
disabled = is_disabled(plugin)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user