const ROLE_LABELS: Record = { admin: 'Administrador', teacher: 'Docente', administrativo: 'Administrativo', obrero: 'Obrero', representative: 'Representante', student: 'Estudiante', }; export const ROLES = Object.entries(ROLE_LABELS).map(([value, label]) => ({ value, label })); export function translateRole(role?: string | null): string { if (!role) return ''; return ROLE_LABELS[role] || role; }