diff --git a/qt/aqt/previewer.py b/qt/aqt/previewer.py index 5b7525202..136a33c3f 100644 --- a/qt/aqt/previewer.py +++ b/qt/aqt/previewer.py @@ -76,12 +76,12 @@ class Previewer(QDialog): ) self._replay.setAutoDefault(False) self._replay.setShortcut(QKeySequence("R")) - self._replay.setToolTip(_("Shortcut key: %s" % "R")) + self._replay.setToolTip(tr(TR.ACTIONS_SHORTCUT_KEY, val="R")) qconnect(self._replay.clicked, self._on_replay_audio) both_sides_button = QCheckBox(tr(TR.QT_MISC_BACK_SIDE_ONLY)) both_sides_button.setShortcut(QKeySequence("B")) - both_sides_button.setToolTip(_("Shortcut key: %s" % "B")) + both_sides_button.setToolTip(tr(TR.ACTIONS_SHORTCUT_KEY, val="B")) self.bbox.addButton(both_sides_button, QDialogButtonBox.ActionRole) self._show_both_sides = self.mw.col.conf.get("previewBothSides", False) both_sides_button.setChecked(self._show_both_sides)