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:
parent
a0b4fa969c
commit
b70d8e4ed2
1 changed files with 525 additions and 41 deletions
|
|
@ -3532,7 +3532,52 @@ class AppLocalizationsEn extends AppLocalizations {
|
|||
|
||||
@override
|
||||
String get studysetResetMessage =>
|
||||
'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.';
|
||||
|
||||
@override
|
||||
String get studysetResetCards => 'Flashcards';
|
||||
|
||||
@override
|
||||
String studysetResetCardsDetail(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: '$count flashcards start again as new',
|
||||
one: '1 flashcard starts again as new',
|
||||
);
|
||||
return '$_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String get studysetResetPdfs => 'Reading of PDFs';
|
||||
|
||||
@override
|
||||
String studysetResetPdfsDetail(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: '$count PDFs are read from their first page again',
|
||||
one: '1 PDF is read from its first page again',
|
||||
);
|
||||
return '$_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String get studysetResetPaths => 'Learning paths';
|
||||
|
||||
@override
|
||||
String studysetResetPathsDetail(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other: '$count learning paths start from their first step again',
|
||||
one: '1 learning path starts from its first step again',
|
||||
);
|
||||
return '$_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String get studysetResetNothing => 'Nothing in it has progress yet.';
|
||||
|
||||
@override
|
||||
String get studysetResetConfirm => 'Reset';
|
||||
|
|
|
|||
Loading…
Reference in a new issue