From 2f9a98ec620d3525d91c16a6b43035971ccf1ad0 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 27 Oct 2025 16:49:56 +0000
Subject: [PATCH 1/2] Initial plan
From 16dd50807d4c18dd9d56112f4323e9abe38b09d5 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Mon, 27 Oct 2025 17:02:33 +0000
Subject: [PATCH 2/2] Fix translation typo and internationalize hardcoded
strings
Co-authored-by: marcelo-m7 <117441129+marcelo-m7@users.noreply.github.com>
---
src/components/Header.tsx | 14 ++---
src/locales/en.json | 15 ++++-
src/locales/es.json | 13 ++++-
src/locales/fr.json | 13 ++++-
src/locales/pt.json | 13 ++++-
src/pages/Projects.tsx | 118 ++------------------------------------
6 files changed, 56 insertions(+), 130 deletions(-)
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index acd3d60..0844f3f 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -61,14 +61,14 @@ const Header = () => {
))}
-
{/* User Actions */}
+
{user ? (
- Olá, {user.email}
+ {t('navigation.hello')}, {user.email}
) : (
@@ -89,7 +89,7 @@ const Header = () => {
className="flex items-center space-x-2"
>
-
Login
+
{t('navigation.login')}
@@ -136,7 +136,7 @@ const Header = () => {
{user ? (
- Olá, {user.email}
+ {t('navigation.hello')}, {user.email}
) : (
@@ -155,7 +155,7 @@ const Header = () => {
className="w-full flex items-center justify-center space-x-2"
>
- Login
+ {t('navigation.login')}
diff --git a/src/locales/en.json b/src/locales/en.json
index d40a170..f0d8784 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -8,7 +8,10 @@
"contact": "Contact",
"startProject": "Start Your Project",
"toggleNavigation": "Toggle navigation",
- "backToTop": "Back to top"
+ "backToTop": "Back to top",
+ "hello": "Hello",
+ "signOut": "Sign Out",
+ "login": "Login"
},
"footer": {
"quickLinks": "Quick Links",
@@ -97,7 +100,7 @@
"mission": "To democratize artificial intelligence by creating accessible, powerful software solutions that help businesses of all sizes harness the power of AI to streamline operations, enhance customer experiences, and drive sustainable growth.",
"storyTitle": "Our Story",
"story": {
- "p1": "Monynha Softwareswas founded with a simple yet ambitious vision: to make artificial intelligence accessible and practical for businesses everywhere.",
+ "p1": "Monynha Softwares was founded with a simple yet ambitious vision: to make artificial intelligence accessible and practical for businesses everywhere.",
"p2": "Starting as a small team of passionate developers and AI enthusiasts, we recognized the gap between complex AI technologies and real-world business applications. Our mission became clear: bridge this gap with intuitive, powerful solutions.",
"p3": "Today, we've grown into a trusted partner for businesses across industries, delivering custom software solutions that not only meet current needs but anticipate future challenges."
},
@@ -265,7 +268,13 @@
"liveDemo": "Live Demo",
"like": "Like our projects?",
"likeDescription": "Get in touch to craft a custom solution for your business.",
- "contactUs": "Contact Us"
+ "contactUs": "Contact Us",
+ "loading": "Loading...",
+ "loadingSolutions": "Loading solutions...",
+ "errorLoadingProjects": "Error loading projects",
+ "errorLoadingGitHub": "Error loading GitHub projects",
+ "errorLoadingSolutions": "Error loading solutions",
+ "errorLoadingAdditional": "Error loading additional projects"
},
"notFound": {
"oops": "Oops! Page not found",
diff --git a/src/locales/es.json b/src/locales/es.json
index 41738ca..91f3884 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -8,7 +8,10 @@
"contact": "Contacto",
"startProject": "Comenzar Proyecto",
"toggleNavigation": "Alternar navegación",
- "backToTop": "Volver arriba"
+ "backToTop": "Volver arriba",
+ "hello": "Hola",
+ "signOut": "Cerrar sesión",
+ "login": "Iniciar sesión"
},
"footer": {
"quickLinks": "Enlaces Rápidos",
@@ -265,7 +268,13 @@
"liveDemo": "Demo en Vivo",
"like": "¿Te gustan nuestros proyectos?",
"likeDescription": "Ponte en contacto para crear una solución personalizada para tu negocio.",
- "contactUs": "Contáctanos"
+ "contactUs": "Contáctanos",
+ "loading": "Cargando...",
+ "loadingSolutions": "Cargando soluciones...",
+ "errorLoadingProjects": "Error al cargar proyectos",
+ "errorLoadingGitHub": "Error al cargar proyectos de GitHub",
+ "errorLoadingSolutions": "Error al cargar soluciones",
+ "errorLoadingAdditional": "Error al cargar proyectos adicionales"
},
"notFound": {
"oops": "¡Vaya! Página no encontrada",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 6b5120f..a5ed324 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -8,7 +8,10 @@
"contact": "Contact",
"startProject": "Démarrer le projet",
"toggleNavigation": "Basculer la navigation",
- "backToTop": "Haut de page"
+ "backToTop": "Haut de page",
+ "hello": "Bonjour",
+ "signOut": "Se déconnecter",
+ "login": "Se connecter"
},
"footer": {
"quickLinks": "Liens rapides",
@@ -265,7 +268,13 @@
"liveDemo": "Démo en ligne",
"like": "Vous aimez nos projets ?",
"likeDescription": "Contactez-nous pour créer une solution personnalisée pour votre entreprise.",
- "contactUs": "Nous contacter"
+ "contactUs": "Nous contacter",
+ "loading": "Chargement...",
+ "loadingSolutions": "Chargement des solutions...",
+ "errorLoadingProjects": "Erreur lors du chargement des projets",
+ "errorLoadingGitHub": "Erreur lors du chargement des projets GitHub",
+ "errorLoadingSolutions": "Erreur lors du chargement des solutions",
+ "errorLoadingAdditional": "Erreur lors du chargement de projets supplémentaires"
},
"notFound": {
"oops": "Oups ! Page introuvable",
diff --git a/src/locales/pt.json b/src/locales/pt.json
index bcbd2e1..1b1bf73 100644
--- a/src/locales/pt.json
+++ b/src/locales/pt.json
@@ -8,7 +8,10 @@
"contact": "Contato",
"startProject": "Iniciar Projeto",
"toggleNavigation": "Alternar navegação",
- "backToTop": "Voltar ao topo"
+ "backToTop": "Voltar ao topo",
+ "hello": "Olá",
+ "signOut": "Sair",
+ "login": "Entrar"
},
"footer": {
"quickLinks": "Links Rápidos",
@@ -263,7 +266,13 @@
"liveDemo": "Demo ao Vivo",
"like": "Gostou dos projetos?",
"likeDescription": "Entre em contato para criar uma solução personalizada para seu negócio.",
- "contactUs": "Fale Conosco"
+ "contactUs": "Fale Conosco",
+ "loading": "Carregando...",
+ "loadingSolutions": "Carregando soluções...",
+ "errorLoadingProjects": "Erro ao carregar projetos",
+ "errorLoadingGitHub": "Erro ao carregar projetos do GitHub",
+ "errorLoadingSolutions": "Erro ao carregar soluções",
+ "errorLoadingAdditional": "Erro ao carregar projetos adicionais"
},
"notFound": {
"oops": "Ops! Página não encontrada",
diff --git a/src/pages/Projects.tsx b/src/pages/Projects.tsx
index 7946b0e..c7a3508 100644
--- a/src/pages/Projects.tsx
+++ b/src/pages/Projects.tsx
@@ -4,8 +4,6 @@ import {
Github,
ExternalLink,
Calendar,
- ArrowRight,
- CheckCircle,
} from 'lucide-react';
import Layout from '../components/Layout';
import Meta from '@/components/Meta';
@@ -150,10 +148,6 @@ const Projects = () => {
return merged;
}, [supabaseSolutions, githubSolutions]);
- const displayGitHubSolutions = Array.isArray(githubSolutions)
- ? githubSolutions
- : [];
-
if (repositoriesLoading) {
return (
@@ -259,7 +253,7 @@ const Projects = () => {
{supabaseSolutionsLoading ? (
- Loading solutions...
+ {t('projects.loadingSolutions')}
) : (
@@ -278,7 +272,7 @@ const Projects = () => {
{supabaseSolutionsError && (
- Error loading solutions
+ {t('projects.errorLoadingSolutions')}
)}
@@ -288,7 +282,7 @@ const Projects = () => {
{repositoriesError && repositories.length === 0 ? (
- Error loading projects
+ {t('projects.errorLoadingProjects')}
) : (
@@ -369,7 +363,7 @@ const Projects = () => {
{repositoriesError && repositories.length > 0 && (
- Error loading additional projects
+ {t('projects.errorLoadingAdditional')}
)}
@@ -392,110 +386,6 @@ const Projects = () => {
-
-
-
-
- {t('solutionsPage.title')}
-
-
- {t('solutionsPage.description')}
-
-
-
- {isGitHubLoading ? (
-
Loading...
- ) : isGitHubError ? (
-
- Error loading GitHub projects
-
- ) : (
-
- {displayGitHubSolutions.map((solution) => (
-
- {solution.imageUrl && (
-
-

-
-
- )}
-
-
-
-
- {solution.title}
-
-
-
- {solution.description}
-
-
- {solution.features.length > 0 && (
-
- {solution.features.map((feature, featureIndex) => (
- -
-
-
-
-
- {feature}
-
-
- ))}
-
- )}
-
-
-
-
-
-
-
- ))}
-
- )}
-
-
-
);
}