diff --git a/ftl/core/actions.ftl b/ftl/core/actions.ftl index 0a1505a17..d7264a74c 100644 --- a/ftl/core/actions.ftl +++ b/ftl/core/actions.ftl @@ -68,3 +68,5 @@ actions-flag-pink = Pink actions-flag-turquoise = Turquoise actions-flag-purple = Purple actions-set-flag = Set Flag +actions-nothing-to-undo = Nothing to undo +actions-nothing-to-redo = Nothing to redo diff --git a/qt/aqt/operations/collection.py b/qt/aqt/operations/collection.py index 2b67f06dd..f93c6e06a 100644 --- a/qt/aqt/operations/collection.py +++ b/qt/aqt/operations/collection.py @@ -60,7 +60,7 @@ def _legacy_undo(*, parent: QWidget) -> None: if result is None: # should not happen - showInfo("nothing to undo", parent=parent) + showInfo(tr.actions_nothing_to_undo(), parent=parent) mw.update_undo_actions() return