mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Use translated names for profile display in conversion options
This commit is contained in:
parent
b8e186bc31
commit
301ec7f742
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user