mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
update text
This commit is contained in:
parent
e8a1aa0616
commit
1997dbcd5d
2 changed files with 10 additions and 5 deletions
|
@ -230,6 +230,6 @@
|
||||||
"amount_hours": "{{amount}} horas",
|
"amount_hours": "{{amount}} horas",
|
||||||
"amount_minutes": "{{amount}} minutos",
|
"amount_minutes": "{{amount}} minutos",
|
||||||
"play_time": "Jogado por {{amount}}",
|
"play_time": "Jogado por {{amount}}",
|
||||||
"last_time_played": "Jogou por último {{period}}"
|
"last_time_played": "Jogou {{period}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,6 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
||||||
navigate(buildGameDetailsPath(game));
|
navigate(buildGameDetailsPath(game));
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log(userProfile);
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<section
|
<section
|
||||||
|
@ -73,7 +72,7 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
||||||
<div className={styles.profileContent}>
|
<div className={styles.profileContent}>
|
||||||
<div className={styles.profileGameSection}>
|
<div className={styles.profileGameSection}>
|
||||||
<div>
|
<div>
|
||||||
<h2>Feed</h2>
|
<h2>Atividade</h2>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
@ -97,8 +96,14 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
||||||
<div className={styles.gameInformation}>
|
<div className={styles.gameInformation}>
|
||||||
<h4>{game.title}</h4>
|
<h4>{game.title}</h4>
|
||||||
<small>
|
<small>
|
||||||
{formatDistance(game.lastTimePlayed!, new Date(), {
|
{t("last_time_played", {
|
||||||
|
period: formatDistance(
|
||||||
|
game.lastTimePlayed!,
|
||||||
|
new Date(),
|
||||||
|
{
|
||||||
addSuffix: true,
|
addSuffix: true,
|
||||||
|
}
|
||||||
|
),
|
||||||
})}
|
})}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue