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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user