diff --git a/src/app/components/NavBar.tsx b/src/app/components/NavBar.tsx index d35ee3c1..2b11ced8 100644 --- a/src/app/components/NavBar.tsx +++ b/src/app/components/NavBar.tsx @@ -3,7 +3,12 @@ import Image from "next/image"; import Link from "next/link"; import { useSelector } from "react-redux"; -import { useAppDispatch, useAppSelector, useHydrationErrorFix } from "hooks"; +import { + useAppDispatch, + useAppSelector, + useHydrationErrorFix, + useTranslations, +} from "hooks"; import { getSupportedLanguagesAsString } from "../state/i18nSlice"; import { i18nSlice } from "../state/i18nSlice"; @@ -32,11 +37,11 @@ interface NavbarItemMobileProps extends NavbarItemProps { const NavItems: { path: string; title: string }[] = [ { path: "/trade", - title: "Trade", + title: "trade", }, { path: "/rewards", - title: "Rewards", + title: "rewards", }, ]; @@ -219,13 +224,14 @@ function Logo() { } function NavbarItemsDesktop() { + const t = useTranslations(); return ( <>
{NavItems.map((navItem, indx) => { return ( diff --git a/src/app/state/locales/pt/rewards.json b/src/app/state/locales/pt/rewards.json index 5a34cd46..0eb0ee95 100644 --- a/src/app/state/locales/pt/rewards.json +++ b/src/app/state/locales/pt/rewards.json @@ -5,7 +5,7 @@ "next_distribution": "Próxima distribuição", "total_rewards": "Total de recompensas", "claim_all_rewards": "Reivindicar todas", - "learn_more_about_rewards": "Saiba mais sobre a recompensas", + "learn_more_about_rewards": "Saiba mais sobre recompensas", "claiming_rewards_loading": "Reivindicando recompensas...", "claiming_rewards_success": "Recompensas reivindicadas", "claiming_rewards_fail": "Erro ao reivindicar recompensas", @@ -13,6 +13,6 @@ "rewards_claimed": "Recompensas resgatadas", "continue_trading_to_earn_more": "Continue negociando ou fazendo staking para ganhar mais e volte mais tarde.", "go_back": "Voltar", - "no_rewards_to_claim": "Sem recompensas para reivindica", + "no_rewards_to_claim": "Sem recompensas para reivindicar", "loading...": "Carregamento..." } diff --git a/src/app/state/locales/pt/trade.json b/src/app/state/locales/pt/trade.json index bb703716..2714981f 100644 --- a/src/app/state/locales/pt/trade.json +++ b/src/app/state/locales/pt/trade.json @@ -49,7 +49,7 @@ "order_price": "Preço", "filled_qty": "Qtd preenchida", "completed_perc": "Concluído (%)", - "action": "Açâo", + "action": "Ação", "status": "Status", "pending": "Pendente", "completed": "Completo", @@ -62,8 +62,8 @@ "transaction_in_progress": "Transação em andamento...", "best_buy": "Melhor compra", "best_sell": "Melhor venda", - "no_order_history": "Sem histórico de pedidos", - "no_active_orders": "Sem pedidos ativos", + "no_order_history": "Sem histórico de ordens", + "no_active_orders": "Sem ordens ativas", "no_trade_history": "Sem histórico de negociações", "no_trades_have_occured_yet": "Nenhuma transação foi realizada ainda", "market_action_token": "<$SIDE> <$TOKEN_SYMBOL> a <$ORDER_TYPE>",