diff --git a/web/src/components/FloatingNavButton.tsx b/web/src/components/FloatingNavButton.tsx index a5d9e8c2..ae161575 100644 --- a/web/src/components/FloatingNavButton.tsx +++ b/web/src/components/FloatingNavButton.tsx @@ -1,9 +1,11 @@ import { Dropdown, IconButton, Menu, MenuButton } from "@mui/joy"; import { useNavigate } from "react-router-dom"; +import { useTranslate } from "@/utils/i18n"; import Icon from "./Icon"; const FloatingNavButton = () => { const navigate = useNavigate(); + const t = useTranslate(); return ( <> @@ -23,7 +25,7 @@ const FloatingNavButton = () => { className="w-full text-left text-sm whitespace-nowrap leading-6 py-1 px-3 cursor-pointer hover:bg-gray-100 dark:hover:bg-zinc-600" onClick={() => navigate("/")} > - Back to home + {t("router.back-to-home")} diff --git a/web/src/locales/pt-BR.json b/web/src/locales/pt-BR.json index 223ad885..51c77092 100644 --- a/web/src/locales/pt-BR.json +++ b/web/src/locales/pt-BR.json @@ -60,6 +60,7 @@ "learn-more": "Saiba mais", "e.g": "ex.", "beta": "Beta", + "profile": "Perfil", "dialog": { "error": "Erro", "help": "Ajuda", @@ -309,6 +310,7 @@ "or": "Ou" }, "message": { + "no-data": "Talvez nenhum dado tenha sido encontrado ou talvez devesse ser outra opção.", "no-memos": "nenhum memo 🌃", "memos-ready": "todos os memos estão prontos 🎉", "no-resource": "nenhum recurso 🌃",