mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-25 10:03:14 +02:00
Use translated names for profile display in conversion options
This commit is contained in:
parent
b8e186bc31
commit
301ec7f742
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ def data(self, index, role):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue