From 08be53db6f2a5c416ca6003c017b1befc33fbd99 Mon Sep 17 00:00:00 2001 From: gabriel Date: Sun, 31 May 2026 18:06:19 +0200 Subject: [PATCH] fix: add nav.invitations i18n key, remove invalid t() second arg --- apps/web/src/App.tsx | 2 +- apps/web/src/locales/en/translation.json | 3 ++- apps/web/src/locales/es/translation.json | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/web/src/App.tsx b/apps/web/src/App.tsx index e59b7a3..d94dbc8 100644 --- a/apps/web/src/App.tsx +++ b/apps/web/src/App.tsx @@ -311,7 +311,7 @@ function useSections(t: (key: string) => string): SidebarSection[] { icon: , items: [ { to: '/admin/users', label: t('nav.users') }, - { to: '/admin/invitations', label: t('nav.invitations', { defaultValue: 'Invitaciones' }) }, + { to: '/admin/invitations', label: t('nav.invitations') }, { to: '/admin/data-quality', label: t('nav.dataQuality') }, { to: '/management/roles', label: t('nav.rolesPermissions') }, { to: '/admin/api-status', label: t('nav.apiStatus') }, diff --git a/apps/web/src/locales/en/translation.json b/apps/web/src/locales/en/translation.json index d3f2edb..ab9ef95 100644 --- a/apps/web/src/locales/en/translation.json +++ b/apps/web/src/locales/en/translation.json @@ -43,7 +43,8 @@ "config": "Config", "feedback": "Feedback", "settings": "Settings", - "profile": "Profile" + "profile": "Profile", + "invitations": "Invitations" }, "workspace": { "title": "Predecessor competitive workspace", diff --git a/apps/web/src/locales/es/translation.json b/apps/web/src/locales/es/translation.json index 98d6449..6d5049d 100644 --- a/apps/web/src/locales/es/translation.json +++ b/apps/web/src/locales/es/translation.json @@ -43,7 +43,8 @@ "config": "Configuración", "feedback": "Feedback", "settings": "Ajustes", - "profile": "Perfil" + "profile": "Perfil", + "invitations": "Invitaciones" }, "workspace": { "title": "Workspace competitivo de Predecessor",