mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add correct text
This commit is contained in:
parent
584f725eda
commit
bc6d038c58
4 changed files with 8 additions and 4 deletions
|
@ -339,6 +339,7 @@
|
||||||
"achievement_unlocked": "Achievement unlocked",
|
"achievement_unlocked": "Achievement unlocked",
|
||||||
"user_achievements": "{{displayName}}'s Achievements",
|
"user_achievements": "{{displayName}}'s Achievements",
|
||||||
"your_achievements": "Your Achievements",
|
"your_achievements": "Your Achievements",
|
||||||
"unlocked_at": "Unlocked at:"
|
"unlocked_at": "Unlocked at:",
|
||||||
|
"subscription_needed": "A Hydra Cloud subscription is needed to see this content"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -341,6 +341,7 @@
|
||||||
"achievement_unlocked": "Conquista desbloqueada",
|
"achievement_unlocked": "Conquista desbloqueada",
|
||||||
"your_achievements": "Suas Conquistas",
|
"your_achievements": "Suas Conquistas",
|
||||||
"user_achievements": "Conquistas de {{displayName}}",
|
"user_achievements": "Conquistas de {{displayName}}",
|
||||||
"unlocked_at": "Desbloqueado em:"
|
"unlocked_at": "Desbloqueado em:",
|
||||||
|
"subscription_needed": "Você precisa de uma assinatura Hydra Cloud para visualizar este conteúdo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -283,6 +283,7 @@
|
||||||
},
|
},
|
||||||
"achievement": {
|
"achievement": {
|
||||||
"achievement_unlocked": "Conquista desbloqueada",
|
"achievement_unlocked": "Conquista desbloqueada",
|
||||||
"unlocked_at": "Desbloqueado em:"
|
"unlocked_at": "Desbloqueado em:",
|
||||||
|
"subscription_needed": "Você precisa de uma assinatura Hydra Cloud para visualizar este conteúdo"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,7 @@ interface AchievementSummaryProps {
|
||||||
}
|
}
|
||||||
|
|
||||||
function AchievementSummary({ user, isComparison }: AchievementSummaryProps) {
|
function AchievementSummary({ user, isComparison }: AchievementSummaryProps) {
|
||||||
|
const { t } = useTranslation("achievement");
|
||||||
const { userDetails, hasActiveSubscription } = useUserDetails();
|
const { userDetails, hasActiveSubscription } = useUserDetails();
|
||||||
|
|
||||||
const userTotalAchievementCount = user.achievements.length;
|
const userTotalAchievementCount = user.achievements.length;
|
||||||
|
@ -94,7 +95,7 @@ function AchievementSummary({ user, isComparison }: AchievementSummaryProps) {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<LockIcon size={24} />
|
<LockIcon size={24} />
|
||||||
<h3>Assine o HYDRA CLOUD para comparar suas conquistas!!!!</h3>
|
<h3>{t("subscription_needed")}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue