From 301ec7f742fe67da85bb8643869bc697fcb294af Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 16 May 2021 20:02:58 +0530 Subject: [PATCH] Use translated names for profile display in conversion options --- src/calibre/gui2/convert/page_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/convert/page_setup.py b/src/calibre/gui2/convert/page_setup.py index 9b5ae4b291..e31bdf1db6 100644 --- a/src/calibre/gui2/convert/page_setup.py +++ b/src/calibre/gui2/convert/page_setup.py @@ -29,7 +29,7 @@ class ProfileModel(QAbstractListModel): if role == Qt.ItemDataRole.DisplayRole: if profile.name.startswith('Default '): return _('Default profile') - return profile.name + return __builtins__['_'](profile.name) if role in (Qt.ItemDataRole.ToolTipRole, Qt.ItemDataRole.StatusTipRole, Qt.ItemDataRole.WhatsThisRole): w, h = profile.screen_size if w >= 10000: