feat(i18n): traducir Inicio
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2
apps/web/src/i18n/i18next.d.ts
vendored
2
apps/web/src/i18n/i18next.d.ts
vendored
@@ -5,6 +5,7 @@ import type errors from './locales/es-AR/errors.json'
|
||||
import type layout from './locales/es-AR/layout.json'
|
||||
import type pwa from './locales/es-AR/pwa.json'
|
||||
import type settings from './locales/es-AR/settings.json'
|
||||
import type home from './locales/es-AR/home.json'
|
||||
import type validation from './locales/es-AR/validation.json'
|
||||
|
||||
// es-AR es la fuente: una clave que no exista ahí rompe el typecheck.
|
||||
@@ -19,6 +20,7 @@ declare module 'i18next' {
|
||||
pwa: typeof pwa
|
||||
settings: typeof settings
|
||||
validation: typeof validation
|
||||
'home': typeof home
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,6 +12,7 @@ export const NAMESPACES = [
|
||||
'pwa',
|
||||
'errors',
|
||||
'validation',
|
||||
'home',
|
||||
] as const
|
||||
export type Namespace = (typeof NAMESPACES)[number]
|
||||
|
||||
|
||||
56
apps/web/src/i18n/locales/en/home.json
Normal file
56
apps/web/src/i18n/locales/en/home.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"greeting": "Hi",
|
||||
"greetingName": "Hi, {{name}}",
|
||||
"loadError": "We couldn't load your summary.",
|
||||
"empty": {
|
||||
"title": "You don't have any groups yet",
|
||||
"description": "Create your first group to start collecting payments.",
|
||||
"cta": "Create your first group"
|
||||
},
|
||||
"noClasses": {
|
||||
"title": "No classes scheduled",
|
||||
"description": "Add days and times to your groups to see your next class here."
|
||||
},
|
||||
"upcoming": {
|
||||
"title": "Upcoming payments",
|
||||
"seeAll": "See all",
|
||||
"empty": "No pending payments for now.",
|
||||
"linkMp": "Link Mercado Pago to get paid",
|
||||
"hint": "You create them from each group's page."
|
||||
},
|
||||
"stats": {
|
||||
"groups_one": "Group",
|
||||
"groups_other": "Groups",
|
||||
"toCollect": "To collect",
|
||||
"toCollectCount": "To collect · {{count}}",
|
||||
"students_one": "Student",
|
||||
"students_other": "Students"
|
||||
},
|
||||
"nextClass": {
|
||||
"now": "Class in progress",
|
||||
"next": "Next class",
|
||||
"nowBadge": "Happening now",
|
||||
"seeGroup": "View group"
|
||||
},
|
||||
"today": {
|
||||
"label": "Today's class",
|
||||
"attendanceTaken": "Attendance taken",
|
||||
"time": "Today · {{time}}",
|
||||
"enrolled_one": "{{count}} enrolled",
|
||||
"enrolled_other": "{{count}} enrolled",
|
||||
"slots_one": "{{count}} spot left",
|
||||
"slots_other": "{{count}} spots left",
|
||||
"seeAttendance": "View attendance",
|
||||
"takeAttendance": "Take attendance"
|
||||
},
|
||||
"attention": {
|
||||
"title": "Needs attention",
|
||||
"allGood": "All good: no one at risk, no overdue payments or pre-registrations.",
|
||||
"overdue_one": "{{count}} overdue payment",
|
||||
"overdue_other": "{{count}} overdue payments",
|
||||
"overdueHint": "Review them in Payments",
|
||||
"preRegistrations_one": "{{count}} pre-registration to approve",
|
||||
"preRegistrations_other": "{{count}} pre-registrations to approve",
|
||||
"moreAtRisk": "And {{count}} more at risk. Check each group's stats."
|
||||
}
|
||||
}
|
||||
56
apps/web/src/i18n/locales/es-419/home.json
Normal file
56
apps/web/src/i18n/locales/es-419/home.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"greeting": "Hola",
|
||||
"greetingName": "Hola, {{name}}",
|
||||
"loadError": "No pudimos cargar tu resumen.",
|
||||
"empty": {
|
||||
"title": "Todavía no tienes grupos",
|
||||
"description": "Crea tu primer grupo para empezar a cobrar.",
|
||||
"cta": "Crear tu primer grupo"
|
||||
},
|
||||
"noClasses": {
|
||||
"title": "Sin clases programadas",
|
||||
"description": "Agrega días y horario a tus grupos para ver aquí tu próxima clase."
|
||||
},
|
||||
"upcoming": {
|
||||
"title": "Próximos cobros",
|
||||
"seeAll": "Ver todos",
|
||||
"empty": "Sin cobros pendientes por ahora.",
|
||||
"linkMp": "Vincula Mercado Pago para cobrar",
|
||||
"hint": "Los creas desde la ficha de cada grupo."
|
||||
},
|
||||
"stats": {
|
||||
"groups_one": "Grupo",
|
||||
"groups_other": "Grupos",
|
||||
"toCollect": "Por cobrar",
|
||||
"toCollectCount": "Por cobrar · {{count}}",
|
||||
"students_one": "Alumno",
|
||||
"students_other": "Alumnos"
|
||||
},
|
||||
"nextClass": {
|
||||
"now": "Clase en curso",
|
||||
"next": "Próxima clase",
|
||||
"nowBadge": "En curso ahora",
|
||||
"seeGroup": "Ver grupo"
|
||||
},
|
||||
"today": {
|
||||
"label": "Clase de hoy",
|
||||
"attendanceTaken": "Asistencia tomada",
|
||||
"time": "Hoy · {{time}} h",
|
||||
"enrolled_one": "{{count}} inscrito",
|
||||
"enrolled_other": "{{count}} inscritos",
|
||||
"slots_one": "{{count}} lugar disponible",
|
||||
"slots_other": "{{count}} lugares disponibles",
|
||||
"seeAttendance": "Ver asistencia",
|
||||
"takeAttendance": "Tomar asistencia"
|
||||
},
|
||||
"attention": {
|
||||
"title": "Para atender",
|
||||
"allGood": "Todo en orden: nadie en riesgo, sin cobros vencidos ni preinscripciones.",
|
||||
"overdue_one": "{{count}} cobro vencido",
|
||||
"overdue_other": "{{count}} cobros vencidos",
|
||||
"overdueHint": "Revísalos en Cobros",
|
||||
"preRegistrations_one": "{{count}} preinscripción por aprobar",
|
||||
"preRegistrations_other": "{{count}} preinscripciones por aprobar",
|
||||
"moreAtRisk": "Y {{count}} más en riesgo. Revisa las estadísticas de cada grupo."
|
||||
}
|
||||
}
|
||||
56
apps/web/src/i18n/locales/es-AR/home.json
Normal file
56
apps/web/src/i18n/locales/es-AR/home.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"greeting": "Hola",
|
||||
"greetingName": "Hola, {{name}}",
|
||||
"loadError": "No pudimos cargar tu resumen.",
|
||||
"empty": {
|
||||
"title": "Todavía no tenés grupos",
|
||||
"description": "Creá tu primer grupo para empezar a cobrar.",
|
||||
"cta": "Crear tu primer grupo"
|
||||
},
|
||||
"noClasses": {
|
||||
"title": "Sin clases programadas",
|
||||
"description": "Agregá días y horario a tus grupos para ver tu próxima clase acá."
|
||||
},
|
||||
"upcoming": {
|
||||
"title": "Próximos cobros",
|
||||
"seeAll": "Ver todos",
|
||||
"empty": "Sin cobros pendientes por ahora.",
|
||||
"linkMp": "Vinculá Mercado Pago para cobrar",
|
||||
"hint": "Los creás desde la ficha de cada grupo."
|
||||
},
|
||||
"stats": {
|
||||
"groups_one": "Grupo",
|
||||
"groups_other": "Grupos",
|
||||
"toCollect": "Por cobrar",
|
||||
"toCollectCount": "Por cobrar · {{count}}",
|
||||
"students_one": "Alumno",
|
||||
"students_other": "Alumnos"
|
||||
},
|
||||
"nextClass": {
|
||||
"now": "Clase en curso",
|
||||
"next": "Próxima clase",
|
||||
"nowBadge": "En curso ahora",
|
||||
"seeGroup": "Ver grupo"
|
||||
},
|
||||
"today": {
|
||||
"label": "Clase de hoy",
|
||||
"attendanceTaken": "Asistencia tomada",
|
||||
"time": "Hoy · {{time}} hs",
|
||||
"enrolled_one": "{{count}} inscrito",
|
||||
"enrolled_other": "{{count}} inscritos",
|
||||
"slots_one": "{{count}} cupo disponible",
|
||||
"slots_other": "{{count}} cupos disponibles",
|
||||
"seeAttendance": "Ver asistencia",
|
||||
"takeAttendance": "Tomar asistencia"
|
||||
},
|
||||
"attention": {
|
||||
"title": "Para atender",
|
||||
"allGood": "Todo en orden: nadie en riesgo, sin cobros vencidos ni preinscripciones.",
|
||||
"overdue_one": "{{count}} cobro vencido",
|
||||
"overdue_other": "{{count}} cobros vencidos",
|
||||
"overdueHint": "Revisalos en Cobros",
|
||||
"preRegistrations_one": "{{count}} preinscripción por aprobar",
|
||||
"preRegistrations_other": "{{count}} preinscripciones por aprobar",
|
||||
"moreAtRisk": "Y {{count}} más en riesgo. Mirá las estadísticas de cada grupo."
|
||||
}
|
||||
}
|
||||
56
apps/web/src/i18n/locales/pt-BR/home.json
Normal file
56
apps/web/src/i18n/locales/pt-BR/home.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"greeting": "Olá",
|
||||
"greetingName": "Olá, {{name}}",
|
||||
"loadError": "Não conseguimos carregar seu resumo.",
|
||||
"empty": {
|
||||
"title": "Você ainda não tem grupos",
|
||||
"description": "Crie seu primeiro grupo para começar a cobrar.",
|
||||
"cta": "Criar seu primeiro grupo"
|
||||
},
|
||||
"noClasses": {
|
||||
"title": "Nenhuma aula agendada",
|
||||
"description": "Adicione dias e horário aos seus grupos para ver sua próxima aula aqui."
|
||||
},
|
||||
"upcoming": {
|
||||
"title": "Próximas cobranças",
|
||||
"seeAll": "Ver todas",
|
||||
"empty": "Nenhuma cobrança pendente por enquanto.",
|
||||
"linkMp": "Vincule o Mercado Pago para cobrar",
|
||||
"hint": "Você cria as cobranças na página de cada grupo."
|
||||
},
|
||||
"stats": {
|
||||
"groups_one": "Grupo",
|
||||
"groups_other": "Grupos",
|
||||
"toCollect": "A receber",
|
||||
"toCollectCount": "A receber · {{count}}",
|
||||
"students_one": "Aluno",
|
||||
"students_other": "Alunos"
|
||||
},
|
||||
"nextClass": {
|
||||
"now": "Aula em andamento",
|
||||
"next": "Próxima aula",
|
||||
"nowBadge": "Acontecendo agora",
|
||||
"seeGroup": "Ver grupo"
|
||||
},
|
||||
"today": {
|
||||
"label": "Aula de hoje",
|
||||
"attendanceTaken": "Presença registrada",
|
||||
"time": "Hoje · {{time}}",
|
||||
"enrolled_one": "{{count}} inscrito",
|
||||
"enrolled_other": "{{count}} inscritos",
|
||||
"slots_one": "{{count}} vaga disponível",
|
||||
"slots_other": "{{count}} vagas disponíveis",
|
||||
"seeAttendance": "Ver presença",
|
||||
"takeAttendance": "Fazer chamada"
|
||||
},
|
||||
"attention": {
|
||||
"title": "Para resolver",
|
||||
"allGood": "Tudo certo: ninguém em risco, sem cobranças vencidas nem pré-inscrições.",
|
||||
"overdue_one": "{{count}} cobrança vencida",
|
||||
"overdue_other": "{{count}} cobranças vencidas",
|
||||
"overdueHint": "Confira em Cobranças",
|
||||
"preRegistrations_one": "{{count}} pré-inscrição para aprovar",
|
||||
"preRegistrations_other": "{{count}} pré-inscrições para aprovar",
|
||||
"moreAtRisk": "E mais {{count}} em risco. Veja as estatísticas de cada grupo."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user