fix: show total lessons instead of next milestone in progress text

The progress text was showing "0 of 1" (next milestone) which was confusing.
Now shows "0 of 101" (total lessons) while milestone dots show the milestone progression.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
2026-01-16 14:27:12 +01:00
parent 630a0a6a21
commit 73a0c59722
2 changed files with 8 additions and 8 deletions

View File

@@ -320,10 +320,10 @@ function updateProgressDisplay() {
// Update progress bar (now shows progress to next milestone)
elements.progressFill.style.width = `${stats.progressToNext}%`;
// Update progress text
// Update progress text - show completed of total lessons
elements.progressText.textContent = t("progressTextMilestone", {
completed: stats.totalCompleted,
next: stats.nextMilestone
total: stats.totalLessons
});
// Update milestone indicators