feat(studyset): reset progress asks what starts afresh: flashcards, PDFs, paths

Resetting a studyset's progress started its flashcards afresh only. It
now asks what of it starts afresh, with everything inside it, naming
only what has progress and how much: its flashcards, reading its PDFs
(those read some way) and its learning paths (those with a step done),
each ticked to untick. One Undo takes all of it back: reading a PDF
afresh is undone now too, its fresh starts deleted by the moment they
were written, as the paths' are.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MMm7usAo6q9ZZRoPkWjoxi
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-12 23:19:31 +02:00
commit b70d8e4ed2
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -5677,9 +5677,51 @@ abstract class AppLocalizations {
/// No description provided for @studysetResetMessage.
///
/// In en, this message translates to:
/// **'Every flashcard in it, and in the studysets inside it, starts afresh as new, on all your devices. Your study history stays. You can undo this for a few seconds.'**
/// **'What you choose starts afresh, in it and in the studysets inside it, on all your devices. Your study history stays. You can undo this for a few seconds.'**
String get studysetResetMessage;
/// No description provided for @studysetResetCards.
///
/// In en, this message translates to:
/// **'Flashcards'**
String get studysetResetCards;
/// No description provided for @studysetResetCardsDetail.
///
/// In en, this message translates to:
/// **'{count, plural, =1{1 flashcard starts again as new} other{{count} flashcards start again as new}}'**
String studysetResetCardsDetail(int count);
/// No description provided for @studysetResetPdfs.
///
/// In en, this message translates to:
/// **'Reading of PDFs'**
String get studysetResetPdfs;
/// No description provided for @studysetResetPdfsDetail.
///
/// In en, this message translates to:
/// **'{count, plural, =1{1 PDF is read from its first page again} other{{count} PDFs are read from their first page again}}'**
String studysetResetPdfsDetail(int count);
/// No description provided for @studysetResetPaths.
///
/// In en, this message translates to:
/// **'Learning paths'**
String get studysetResetPaths;
/// No description provided for @studysetResetPathsDetail.
///
/// In en, this message translates to:
/// **'{count, plural, =1{1 learning path starts from its first step again} other{{count} learning paths start from their first step again}}'**
String studysetResetPathsDetail(int count);
/// No description provided for @studysetResetNothing.
///
/// In en, this message translates to:
/// **'Nothing in it has progress yet.'**
String get studysetResetNothing;
/// No description provided for @studysetResetConfirm.
///
/// In en, this message translates to: