From 73696d4baec7f2e64b0d2bd8d922ee7c7e898ba1 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 10 Jul 2020 19:48:21 +0530 Subject: [PATCH] Fix #1887170 [[Enhancement] Remove the word "plugin" from the list of plugin categories](https://bugs.launchpad.net/calibre/+bug/1887170) --- src/calibre/gui2/preferences/plugins.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/calibre/gui2/preferences/plugins.py b/src/calibre/gui2/preferences/plugins.py index fc6733ce6e..2e101965b0 100644 --- a/src/calibre/gui2/preferences/plugins.py +++ b/src/calibre/gui2/preferences/plugins.py @@ -198,9 +198,7 @@ class PluginModel(QAbstractItemModel, AdaptSQP): # {{{ 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)