mirror of
https://github.com/ankitects/anki.git
synced 2025-12-11 05:46:55 -05:00
Add nothing to undo/redo
https://forums.ankiweb.net/t/translation-of-nothing-to-undo/31735
This commit is contained in:
parent
aced75f743
commit
32d6248ff1
2 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue