From 07627f7e273ca24446867ce2fa9924904a9384ad Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Thu, 5 Feb 2026 18:33:26 +0000 Subject: [PATCH] Generated by Spark: Add translations to user profile dropdown menu --- src/components/navigation.tsx | 4 ++-- src/data/translations/en.json | 7 +++++-- src/data/translations/es.json | 5 ++++- src/data/translations/fr.json | 7 +++++-- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/components/navigation.tsx b/src/components/navigation.tsx index 89292bb..f0c4496 100644 --- a/src/components/navigation.tsx +++ b/src/components/navigation.tsx @@ -171,13 +171,13 @@ export function Sidebar({ currentView, setCurrentView, currentEntity, setCurrent diff --git a/src/data/translations/en.json b/src/data/translations/en.json index 42f9e0b..e635f3f 100644 --- a/src/data/translations/en.json +++ b/src/data/translations/en.json @@ -47,7 +47,9 @@ "selectEntity": "Select entity", "componentLibrary": "Component Library", "businessLogicHooks": "Business Logic Hooks", - "logOut": "Log Out" + "logOut": "Log Out", + "viewProfile": "View profile", + "viewProfileFor": "View profile for {{name}}" }, "entities": { "mainAgency": "Main Agency", @@ -100,7 +102,8 @@ "and": "and", "of": "of", "to": "to", - "from": "from" + "from": "from", + "user": "User" }, "dashboard": { "title": "Dashboard", diff --git a/src/data/translations/es.json b/src/data/translations/es.json index c50d888..92dcf61 100644 --- a/src/data/translations/es.json +++ b/src/data/translations/es.json @@ -47,7 +47,9 @@ "selectEntity": "Seleccionar entidad", "componentLibrary": "Biblioteca de Componentes", "businessLogicHooks": "Hooks de Lógica de Negocio", - "logOut": "Cerrar Sesión" + "logOut": "Cerrar Sesión", + "viewProfile": "Ver perfil", + "viewProfileFor": "Ver perfil de {{name}}" }, "entities": { "mainAgency": "Agencia Principal", @@ -101,6 +103,7 @@ "of": "de", "to": "a", "from": "desde" + "user": "Usuario", }, "dashboard": { "title": "Panel de Control", diff --git a/src/data/translations/fr.json b/src/data/translations/fr.json index e69c200..b52f388 100644 --- a/src/data/translations/fr.json +++ b/src/data/translations/fr.json @@ -47,7 +47,9 @@ "selectEntity": "Sélectionner l'entité", "componentLibrary": "Bibliothèque de Composants", "businessLogicHooks": "Hooks de Logique Métier", - "logOut": "Se Déconnecter" + "logOut": "Se Déconnecter", + "viewProfile": "Voir le profil", + "viewProfileFor": "Voir le profil de {{name}}" }, "entities": { "mainAgency": "Agence Principale", @@ -100,7 +102,8 @@ "and": "et", "of": "de", "to": "à", - "from": "de" + "from": "de", + "user": "Utilisateur" }, "dashboard": { "title": "Tableau de Bord",