Make suspend/bury strings more consistent

The suspend/bury related snackbars and strings in the undo/redo options are inconsistent across the different apps and even within each app.

  • If you toggle a card off from suspended or buried, the menu item shows “Undo Unbury/Unsuspend” instead of “Redo Suspend”/“Redo Bury”. Similar strings are used for the redo and snackbars; they should be changed too.[1]
  • AnkiDroid redo snackbars in the study screen are “Redo Bury”, “Redo Suspend”, and “Redo Unbury/Unsuspend” instead “Bury redone”, “Suspend redone”, “Suspend undone”/“Bury undone”.
  • Anki Desktop doesn’t show snackbars for suspending/burying in the browser. AnkiDroid shows snackbars for burying (but not suspending) in the browser.
  • Bury snackbars show how many cards are buried, while suspend snackbars are “Card suspended.” and “Note suspended.”
  • The strings have inconsistent capitalization and final periods. I know there is this issue, but some of these strings should be replaced entirely anyway.

Bonus: You can’t toggle a suspended card to buried.

Comparison table - redundant
Anki - browser AnkiDroid - browser Anki - reviewer AnkiDroid - reviewer
Bury card snackbar - :warning: 1 card buried. 1 card buried. 1 card buried.
Bury note snackbar - :warning: 2 cards buried. 2 cards buried. 2 cards buried.
Suspend card snackbar - :warning: - :warning: Card suspended. :warning: Card suspended. :warning:
Suspend note snackbar - :warning: - :warning: Note suspended. :warning: Note suspended. :warning:
Undo bury snackbar Bury undone Bury undone Bury undone Bury undone
Undo suspend snackbar Suspend undone Suspend undone Suspend undone Suspend undone
Redo bury snackbar Bury redone - :warning: Bury redone Redo Bury :warning:
Redo suspend snackbar Suspend redone - :warning: Suspend redone Redo Suspend :warning:
Undo toggling suspend/bury off snackbar Unbury/Unsuspend undone Unbury/Unsuspend undone Unbury/Unsuspend undone Unbury/Unsuspend undone
Redo toggling suspend/bury off snackbar Unbury/Unsuspend redone - :warning: Unbury/Unsuspend redone Redo Unbury/Unsuspend :warning:
Undo bury menu item Undo Bury Undo Bury Undo Bury Undo Bury
Undo suspend menu item Undo Suspend Undo Suspend Undo Suspend Undo Suspend
Redo bury menu item Redo Bury - :warning: Redo Bury Redo Bury
Redo suspend menu item Redo Suspend - :warning: Redo Suspend Redo Suspend
Undo toggling suspend/bury off menu item Undo Unbury/Unsuspend Undo Unbury/Unsuspend Undo Unbury/Unsuspend Undo Unbury/Unsuspend
Redo toggling suspend/bury off menu item Redo Unbury/Unsuspend - [2] :warning: Redo Unbury/Unsuspend Redo Unbury/Unsuspend

  1. This isn’t strictly an inconsistency, but it’s kinda confusing especially when you have “Redo Unbury/Unsuspend”! ↩︎

  2. but there is either an “Undo Bury” or “Undo Suspend” option ↩︎

I’ve never seen an undo/redo system that attempts to switch between ‘undo’ and ‘redo’ depending on whether the following action starts with ‘un’. I think it would be confusing.

As for the inconsistencies, things should improve as we increase the amount of shared UI code.

1 Like