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_minutes": "{{amount}} minutos",
|
||||
"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));
|
||||
};
|
||||
|
||||
console.log(userProfile);
|
||||
return (
|
||||
<>
|
||||
<section
|
||||
|
@ -73,7 +72,7 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
|||
<div className={styles.profileContent}>
|
||||
<div className={styles.profileGameSection}>
|
||||
<div>
|
||||
<h2>Feed</h2>
|
||||
<h2>Atividade</h2>
|
||||
</div>
|
||||
<div
|
||||
style={{
|
||||
|
@ -97,8 +96,14 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
|||
<div className={styles.gameInformation}>
|
||||
<h4>{game.title}</h4>
|
||||
<small>
|
||||
{formatDistance(game.lastTimePlayed!, new Date(), {
|
||||
addSuffix: true,
|
||||
{t("last_time_played", {
|
||||
period: formatDistance(
|
||||
game.lastTimePlayed!,
|
||||
new Date(),
|
||||
{
|
||||
addSuffix: true,
|
||||
}
|
||||
),
|
||||
})}
|
||||
</small>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue