fix: translation issue in cohort goals widgett (#879)

This commit is contained in:
Richard Kenneth
2026-08-15 19:05:04 +01:00
committed by GitHub
parent ad5c8db5a9
commit b314d5995a
@@ -28,7 +28,7 @@
if (days === 0) return $t('cohorts.goals.lms.due_today');
if (days === 1) return $t('cohorts.goals.lms.due_tomorrow');
return $t('cohorts.goals.lms.due_in_days').replace('{days}', String(days));
return $t('cohorts.goals.lms.due_in_days', { days: days });
}
function progressPct(assignment: (typeof cohortGoalApi.myGoals)[number]): number {