diff --git a/src/locales/pt/translation.json b/src/locales/pt/translation.json index 0cfbc9f0..8a2d7c6a 100644 --- a/src/locales/pt/translation.json +++ b/src/locales/pt/translation.json @@ -230,6 +230,6 @@ "amount_hours": "{{amount}} horas", "amount_minutes": "{{amount}} minutos", "play_time": "Jogado por {{amount}}", - "last_time_played": "Jogou por Ășltimo {{period}}" + "last_time_played": "Jogou {{period}}" } } diff --git a/src/renderer/src/pages/profile/profile-content.tsx b/src/renderer/src/pages/profile/profile-content.tsx index 1bb3c90a..ef7b053c 100644 --- a/src/renderer/src/pages/profile/profile-content.tsx +++ b/src/renderer/src/pages/profile/profile-content.tsx @@ -46,7 +46,6 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => { navigate(buildGameDetailsPath(game)); }; - console.log(userProfile); return ( <>
{
-

Feed

+

Atividade

{

{game.title}

- {formatDistance(game.lastTimePlayed!, new Date(), { - addSuffix: true, + {t("last_time_played", { + period: formatDistance( + game.lastTimePlayed!, + new Date(), + { + addSuffix: true, + } + ), })}