mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1943358 [[Enhancement] Translate shortcuts tooltips](https://bugs.launchpad.net/calibre/+bug/1943358)
This commit is contained in:
parent
3e27568240
commit
6ab251cbad
@ -708,13 +708,11 @@ class MetadataSingleDialogBase(QDialog):
|
||||
next_ = self.db.title(self.row_list[self.current_row+1])
|
||||
|
||||
if next_ is not None:
|
||||
tip = (_('Save changes and edit the metadata of %s')+
|
||||
' [Alt+Right]')%next_
|
||||
tip = _('Save changes and edit the metadata of {} [Alt+Right]').format(next_)
|
||||
self.next_button.setToolTip(tip)
|
||||
self.next_button.setEnabled(next_ is not None)
|
||||
if prev is not None:
|
||||
tip = (_('Save changes and edit the metadata of %s')+
|
||||
' [Alt+Left]')%prev
|
||||
tip = _('Save changes and edit the metadata of {} [Alt+Left]').format(prev)
|
||||
self.prev_button.setToolTip(tip)
|
||||
self.prev_button.setEnabled(prev is not None)
|
||||
self.button_box.button(QDialogButtonBox.StandardButton.Ok).setDefault(True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user