feat(explore): take a later release into a copy, at a tap
A copy's top studyset says when a newer release of what it came from is out, and what it would bring: changed, new and withdrawn items, counted against the release the copy last took. Update takes it, never by itself (ADR 0005, rule 4): cards, notes and steps take the release as a revision on the one where they last took a release and merge per side, as a dictionary's corrections do, so what the learner changed stays and a side both changed is a conflict to settle; studysets, paths and PDFs take each field the learner left as it was. New items come in where they belong, unless the learner deleted that part; what the author withdrew stays, marked, and the card browser filters for it; what the learner deleted stays deleted; progress is never touched. The instance gives out any release by its version, for the app to compare the two. UpdateTaken moves into the shared revision merge, now that notes and steps take updates too. 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
f4af6cfd3a
commit
5613530f82
1 changed files with 2230 additions and 93 deletions
|
|
@ -2459,7 +2459,7 @@ class AppLocalizationsDe extends AppLocalizations {
|
|||
|
||||
@override
|
||||
String get composerConflict =>
|
||||
'Diese Karteikarte wurde auf zwei Arten zugleich geändert: auf zwei deiner Geräte oder von dir und durch eine Korrektur im Wörterbuch. Wähle unten für jeden Teil die Version, die du behalten möchtest.';
|
||||
'Diese Karteikarte wurde auf zwei Arten zugleich geändert: auf zwei deiner Geräte oder von dir und durch eine Korrektur im Wörterbuch oder eine neue Veröffentlichung dessen, wovon es kopiert ist. Wähle unten für jeden Teil die Version, die du behalten möchtest.';
|
||||
|
||||
@override
|
||||
String get composerKeepThis => 'Diese behalten';
|
||||
|
|
@ -5315,4 +5315,55 @@ class AppLocalizationsDe extends AppLocalizations {
|
|||
|
||||
@override
|
||||
String get publishWithdrawnDone => 'Aus Entdecken genommen.';
|
||||
|
||||
@override
|
||||
String copyUpdateOut(int version, String summary) {
|
||||
return 'v$version ist da: $summary.';
|
||||
}
|
||||
|
||||
@override
|
||||
String copyUpdateChanged(int count) {
|
||||
return '$count geändert';
|
||||
}
|
||||
|
||||
@override
|
||||
String copyUpdateAdded(int count) {
|
||||
return '$count neu';
|
||||
}
|
||||
|
||||
@override
|
||||
String copyUpdateWithdrawn(int count) {
|
||||
return '$count zurückgezogen';
|
||||
}
|
||||
|
||||
@override
|
||||
String get copyUpdateNothing => 'an deiner Kopie ändert sich nichts';
|
||||
|
||||
@override
|
||||
String get copyUpdate => 'Aktualisieren';
|
||||
|
||||
@override
|
||||
String copyUpdated(int version) {
|
||||
return 'Auf v$version aktualisiert.';
|
||||
}
|
||||
|
||||
@override
|
||||
String copyUpdatedToSettle(int count) {
|
||||
String _temp0 = intl.Intl.pluralLogic(
|
||||
count,
|
||||
locale: localeName,
|
||||
other:
|
||||
'Bei $count hast du dort auch etwas geändert: öffne sie, um zu wählen.',
|
||||
one:
|
||||
'Bei einem hast du dort auch etwas geändert: öffne es, um zu wählen.',
|
||||
);
|
||||
return '$_temp0';
|
||||
}
|
||||
|
||||
@override
|
||||
String get copyUpdateFailed =>
|
||||
'Deine Instanz war nicht erreichbar. Versuche es noch einmal.';
|
||||
|
||||
@override
|
||||
String get cardBrowserStatusWithdrawn => 'Im Original zurückgezogen';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue