mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-28 13:21:02 +00:00
update text
This commit is contained in:
@@ -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", {
|
||||||
addSuffix: true,
|
period: formatDistance(
|
||||||
|
game.lastTimePlayed!,
|
||||||
|
new Date(),
|
||||||
|
{
|
||||||
|
addSuffix: true,
|
||||||
|
}
|
||||||
|
),
|
||||||
})}
|
})}
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user