feat(i18n): traducir Grupos (lista, ficha, alta de miembros y estadísticas)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jose Selesan
2026-11-03 12:25:21 -03:00
parent 09647672b8
commit 96661fb807
69 changed files with 2367 additions and 480 deletions

View File

@@ -1,14 +1,9 @@
import type { GroupRiskLevel } from '@gruperly/shared'
export const RISK_LABELS: Record<Exclude<GroupRiskLevel, 'NONE'>, string> = {
HIGH: 'Riesgo alto',
MEDIUM: 'Riesgo moderado',
}
/* 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.'
/* Copy: `groups:risk.HIGH` / `groups:risk.MEDIUM`. The badge only says "Riesgo
moderado"; `groups:risk.hint` explains what it is about (an attendee dropping
out, not fraud or collections) and lives in the tooltip. */
export type VisibleRiskLevel = Exclude<GroupRiskLevel, 'NONE'>
/* 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