chore: update comments and documentation for clarity and consistency across various files

- Translated comments from Spanish to English in vite.config.ts, docker-compose.yml, attendance-risk.ts, analytics.ts, attendance.ts, attendees.ts, enums.ts, groups.ts, and onboarding.ts.
- Improved descriptions for better understanding of code functionality and purpose.
- Ensured uniformity in terminology and phrasing throughout the codebase.
This commit is contained in:
Jose Selesan
2026-10-01 16:06:54 -03:00
parent 01b35691df
commit 69275c37b4
100 changed files with 1121 additions and 1086 deletions

View File

@@ -5,11 +5,11 @@ export const RISK_LABELS: Record<Exclude<GroupRiskLevel, 'NONE'>, string> = {
MEDIUM: 'Riesgo moderado',
}
/* El badge solo dice "Riesgo moderado"; esta frase explica de qué habla
(abandono de un miembro, no fraude ni cobranza) y vive en el tooltip. */
/* The badge only says "Riesgo moderado"; this sentence explains what it is about
(an attendee dropping out, not fraud or collections) and lives in the tooltip. */
export const RISK_HINT =
'Riesgo de abandono: probabilidad estimada de que algún miembro abandone el grupo.'
/* El motivo concreto ("4 miembros con faltas seguidas") ya no se calcula acá:
vive en `card.ts`, que además decide el peso visual del badge. Esto quedó
con la copia estática de la ficha del grupo. */
/* The concrete reason ("4 members with consecutive absences") is not computed
here anymore: it lives in `card.ts`, which also decides the badge's visual
weight. What is left here is the static copy of the group detail. */