mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 08:43:48 +03:00
feat: add aria labels to How Long to Beat and Achievements in game details sidebar
This commit is contained in:
parent
c754710171
commit
a25a960235
@ -136,6 +136,7 @@
|
|||||||
"warning": "Warning:",
|
"warning": "Warning:",
|
||||||
"hydra_needs_to_remain_open": "for this download, Hydra needs to remain open util its conclusion. In case Hydra closes before the conclusion, you will lose your progress.",
|
"hydra_needs_to_remain_open": "for this download, Hydra needs to remain open util its conclusion. In case Hydra closes before the conclusion, you will lose your progress.",
|
||||||
"achievements": "Achievements",
|
"achievements": "Achievements",
|
||||||
|
"achievement": "Achievement",
|
||||||
"achievements_count": "Achievements {{unlockedCount}}/{{achievementsCount}}",
|
"achievements_count": "Achievements {{unlockedCount}}/{{achievementsCount}}",
|
||||||
"cloud_save": "Cloud save",
|
"cloud_save": "Cloud save",
|
||||||
"cloud_save_description": "Save your progress in the cloud and continue playing on any device",
|
"cloud_save_description": "Save your progress in the cloud and continue playing on any device",
|
||||||
|
@ -132,6 +132,7 @@
|
|||||||
"warning": "Aviso:",
|
"warning": "Aviso:",
|
||||||
"hydra_needs_to_remain_open": "para este download, o Hydra precisa ficar aberto até a conclusão. Caso o Hydra encerre antes da conclusão, perderá seu progresso.",
|
"hydra_needs_to_remain_open": "para este download, o Hydra precisa ficar aberto até a conclusão. Caso o Hydra encerre antes da conclusão, perderá seu progresso.",
|
||||||
"achievements": "Conquistas",
|
"achievements": "Conquistas",
|
||||||
|
"achievement": "Conquista",
|
||||||
"achievements_count": "Conquistas ({{unlockedCount}}/{{achievementsCount}})",
|
"achievements_count": "Conquistas ({{unlockedCount}}/{{achievementsCount}})",
|
||||||
"cloud_save": "Salvamento em nuvem",
|
"cloud_save": "Salvamento em nuvem",
|
||||||
"cloud_save_description": "Mantenha seu progresso na nuvem e continue de onde parou em qualquer dispositivo",
|
"cloud_save_description": "Mantenha seu progresso na nuvem e continue de onde parou em qualquer dispositivo",
|
||||||
|
@ -38,6 +38,9 @@ export function HowLongToBeatSection({
|
|||||||
<li
|
<li
|
||||||
key={category.title}
|
key={category.title}
|
||||||
className={styles.howLongToBeatCategory}
|
className={styles.howLongToBeatCategory}
|
||||||
|
aria-label={`${category.title}, ${getDuration(
|
||||||
|
category.duration,
|
||||||
|
)}`}
|
||||||
>
|
>
|
||||||
<p
|
<p
|
||||||
className={styles.howLongToBeatCategoryLabel}
|
className={styles.howLongToBeatCategoryLabel}
|
||||||
|
@ -194,6 +194,10 @@ export function Sidebar() {
|
|||||||
})}
|
})}
|
||||||
className={styles.listItem}
|
className={styles.listItem}
|
||||||
title={achievement.description}
|
title={achievement.description}
|
||||||
|
aria-label={`
|
||||||
|
${t("achievement")} ${index + 1},
|
||||||
|
${achievement.displayName}
|
||||||
|
`}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
className={styles.listItemImage({
|
className={styles.listItemImage({
|
||||||
|
Loading…
Reference in New Issue
Block a user