From a546b906e9cbe408e1dff01bd36648384ad353f3 Mon Sep 17 00:00:00 2001 From: Daniel Saraiva Date: Wed, 10 Sep 2025 09:04:29 -0300 Subject: [PATCH] feat: adjustment in hard code text to use translation constant --- src/locales/en/translation.json | 1 + src/locales/pt-BR/translation.json | 1 + .../src/pages/game-details/sidebar/game-prices-section.tsx | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json index 26b44e58..a941cb01 100755 --- a/src/locales/en/translation.json +++ b/src/locales/en/translation.json @@ -226,6 +226,7 @@ "currency_country": "us", "prices": "Prices", "no_prices_found": "No prices found", + "view_all_prices": "Click to view all prices", "retail_price": "Retail price", "keyshop_price": "Keyshop price", "historical_retail": "Historical retail", diff --git a/src/locales/pt-BR/translation.json b/src/locales/pt-BR/translation.json index 55729de1..fd6fbd97 100755 --- a/src/locales/pt-BR/translation.json +++ b/src/locales/pt-BR/translation.json @@ -213,6 +213,7 @@ "currency_country": "br", "prices": "Preços", "no_prices_found": "Nenhum preço encontrado", + "view_all_prices": "Clique para ver todos os preços", "retail_price": "Preço de lojas oficiais", "keyshop_price": "Preço em keyshops", "historical_retail": "Preço histórico de lojas oficiais", diff --git a/src/renderer/src/pages/game-details/sidebar/game-prices-section.tsx b/src/renderer/src/pages/game-details/sidebar/game-prices-section.tsx index 44560459..0753cdad 100755 --- a/src/renderer/src/pages/game-details/sidebar/game-prices-section.tsx +++ b/src/renderer/src/pages/game-details/sidebar/game-prices-section.tsx @@ -73,7 +73,7 @@ export function GamePricesSection() { rel="noopener noreferrer" className="list__item" > - clique para ver todos os preços + {t("view_all_prices")}