mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-31 19:16:05 +01: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
1 changed files with 1 additions and 3 deletions
|
|
@ -198,9 +198,7 @@ def data(self, index, role):
|
|||
return None
|
||||
if index.internalId() == 0:
|
||||
if role == Qt.DisplayRole:
|
||||
category = self.categories[index.row()]
|
||||
return (_("%(plugin_type)s %(plugins)s")%
|
||||
dict(plugin_type=category, plugins=_('plugins')))
|
||||
return self.categories[index.row()]
|
||||
else:
|
||||
plugin = self.index_to_plugin(index)
|
||||
disabled = is_disabled(plugin)
|
||||
|
|
|
|||
Loading…
Reference in a new issue