diff --git a/ftl/core/statistics.ftl b/ftl/core/statistics.ftl index 0464e0f0b..0f7ddce16 100644 --- a/ftl/core/statistics.ftl +++ b/ftl/core/statistics.ftl @@ -229,6 +229,7 @@ statistics-stability-day-single = # hour range, eg "From 14:00-15:00" statistics-hours-range = From { $hourStart }:00~{ $hourEnd }:00 statistics-hours-correct = { $correct }/{ $total } correct ({ $percent }%) +statistics-hours-correct-info = → pressed "hard", "good", or "easy" # the emoji depicts the graph displaying this number statistics-hours-reviews = 📊 { $reviews } reviews # the emoji depicts the graph displaying this number diff --git a/ts/routes/graphs/buttons.ts b/ts/routes/graphs/buttons.ts index 137c19d86..5c557f327 100644 --- a/ts/routes/graphs/buttons.ts +++ b/ts/routes/graphs/buttons.ts @@ -222,6 +222,7 @@ export function renderButtons( const button = tr.statisticsAnswerButtonsButtonNumber(); const timesPressed = tr.statisticsAnswerButtonsButtonPressed(); const correctStr = tr.statisticsHoursCorrect(totalCorrect(d.group)); + const correctStrInfo = tr.statisticsHoursCorrectInfo(); const pressedStr = `${timesPressed}: ${totalPressedStr(d)}`; let buttonText: string; @@ -235,7 +236,7 @@ export function renderButtons( buttonText = tr.studyingEasy(); } - return `${button}: ${d.buttonNum} (${buttonText})
${pressedStr}
${correctStr}`; + return `${button}: ${d.buttonNum} (${buttonText})
${pressedStr}
${correctStr} ${correctStrInfo}`; } svg.select("g.hover-columns")