feat: soporte multi idioma en la web (infraestructura)
i18next + react-i18next con es-AR (fuente), es-419, pt-BR y en; el idioma sale del dispositivo (fallback a inglés) y se puede cambiar en Ajustes. La elección se guarda en localStorage y, para el profe, en users.locale. Las validaciones de shared pasan a claves y los errores de la API se traducen por code (con params para límites de plan y cupo). Migrados: layout, Ajustes, auth, PWA y lib/format. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ export type PaymentList = z.output<typeof PaymentListSchema>;
|
||||
// triggers it from the group page for a period (e.g. June's monthly fee).
|
||||
export const CreatePaymentsBatchSchema = z.strictObject({
|
||||
dueDate: isoDateTimeSchema,
|
||||
description: z.string().trim().max(120, 'La descripción es demasiado larga').optional(),
|
||||
description: z.string().trim().max(120, 'payment.descriptionMax').optional(),
|
||||
attendeeIds: z.array(z.string().min(1)).min(1).optional(),
|
||||
});
|
||||
export type CreatePaymentsBatch = z.output<typeof CreatePaymentsBatchSchema>;
|
||||
|
||||
Reference in New Issue
Block a user