feat(profile): statistics beside the profile, a review counting a minute at most

The Profile tab has two tabs, Profile and Statistics, the latter for
anonymous people too: the time studied in all, per day and the most in
one day, and by days, weeks or months the study time and the ratings as
bars, a tap on a bar saying what it holds. The app draws the charts
itself, as the Progress part's sparkline, rather than taking a chart
package.

A review's time was however long its card was shown: one left on the
screen over lunch counted as an hour of study. It now counts at most a
minute, as Anki does by default, here and in a studyset's Progress; the
stored durations stay as they were.

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 18:56:40 +02:00
commit b46dfe22b1
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -419,6 +419,25 @@
"exploreEmpty": "Lernsets, die andere teilen, erscheinen hier.",
"profileTitle": "Profil",
"profileTabProfile": "Profil",
"profileTabStatistics": "Statistik",
"statisticsDays": "Tage",
"statisticsWeeks": "Wochen",
"statisticsMonths": "Monate",
"statisticsTotal": "Insgesamt",
"statisticsPerDay": "Pro Tag",
"statisticsRecord": "Tagesrekord",
"statisticsStudyTime": "Lernzeit",
"statisticsMinutesInfo": "In Minuten, jede Karte höchstens eine Minute gezählt",
"statisticsHoursInfo": "In Stunden, jede Karte höchstens eine Minute gezählt",
"statisticsRatings": "Bewertungen",
"statisticsRatingsInfo": "Wie du die gelernten Karteikarten bewertet hast",
"statisticsRated": "{count, plural, =0{Keine Karte bewertet} =1{1 Karte bewertet} other{{count} Karten bewertet}}",
"@statisticsRated": {"placeholders": {"count": {"type": "int"}}},
"statisticsToday": "Heute",
"statisticsWeekOf": "Woche ab {date}",
"@statisticsWeekOf": {"placeholders": {"date": {"type": "String"}}},
"statisticsNothingYet": "Noch nichts gelernt. Deine Lernzeit und Bewertungen erscheinen hier, sobald du Karteikarten lernst.",
"profileSettingsTooltip": "Einstellungen",
"profileIdentified": "Dein Fortschritt wird in deinem Konto gespeichert.",
"profileAnonymous": "Dein Fortschritt wird auf diesem Gerät gespeichert. Melde dich an, um ihn zu behalten.",
@ -1670,7 +1689,7 @@
"progressToReviewInfo": "Schon gelernte Karten, die heute wieder fällig sind.",
"progressDueToday": "{count, plural, =1{Karte heute fällig} other{Karten heute fällig}}",
"progressStudyTime": "Lernzeit",
"progressStudyTimeInfo": "Wie lange du die Karteikarten dieses Lernsets in den letzten sieben Tagen auf diesem Gerät gelernt hast.",
"progressStudyTimeInfo": "Wie lange du die Karteikarten dieses Lernsets in den letzten sieben Tagen gelernt hast, jede Karte höchstens eine Minute gezählt.",
"progressThisWeek": "diese Woche",
"progressMinutes": "{minutes} Min.",
"progressHoursMinutes": "{hours} Std. {minutes} Min.",