From aa9873657d9ee0234aeb77f64cf598f77c616cb0 Mon Sep 17 00:00:00 2001 From: GivFNZ Date: Sat, 22 Mar 2025 17:51:41 -0300 Subject: [PATCH] fix: get correct language on selector through i18n and add music section on sidebar --- src/components/Footer/index.tsx | 2 +- src/components/Header/index.tsx | 3 ++- src/locales/en-us.json | 3 ++- src/locales/pt-br.json | 3 ++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index d1574e2..bae8ba2 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -2,7 +2,7 @@ export default function Footer() { return ( ) } \ No newline at end of file diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 7c844ee..bb232d5 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -26,7 +26,7 @@ export default function Header() { {t("about")} {t("contact")} {t("projects")} - + @@ -42,6 +42,7 @@ export default function Header() { {t("about")} {t("contact")} {t("projects")} + {t("music")} } diff --git a/src/locales/en-us.json b/src/locales/en-us.json index cbb11f8..4f83068 100644 --- a/src/locales/en-us.json +++ b/src/locales/en-us.json @@ -10,5 +10,6 @@ "send": "Send", "myLast": "My Last.FM Status", "myLastDescription": "Take a look on my last played song:", - "lastLink": "Check this song page on Last.FM" + "lastLink": "Check this song page on Last.FM", + "music": "Music" } \ No newline at end of file diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json index b51e1ec..1c78f10 100644 --- a/src/locales/pt-br.json +++ b/src/locales/pt-br.json @@ -10,5 +10,6 @@ "send": "Enviar", "myLast": "Meu status do Last.FM", "myLastDescription": "Dê uma olhada na música que eu estava ouvindo:", - "lastLink": "Clique aqui para ver a música no Last.FM" + "lastLink": "Clique aqui para ver a música no Last.FM", + "music": "Música" } \ No newline at end of file