mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: sign_out and sign_in
This commit is contained in:
parent
a02eac4ecb
commit
67f8b609ba
5 changed files with 9 additions and 9 deletions
|
@ -17,7 +17,7 @@
|
||||||
"home": "Home",
|
"home": "Home",
|
||||||
"queued": "{{title}} (Queued)",
|
"queued": "{{title}} (Queued)",
|
||||||
"game_has_no_executable": "Game has no executable selected",
|
"game_has_no_executable": "Game has no executable selected",
|
||||||
"signin": "Sign in"
|
"sign_in": "Sign in"
|
||||||
},
|
},
|
||||||
"header": {
|
"header": {
|
||||||
"search": "Search games",
|
"search": "Search games",
|
||||||
|
@ -241,9 +241,9 @@
|
||||||
"edit_profile": "Edit Profile",
|
"edit_profile": "Edit Profile",
|
||||||
"saved_successfully": "Saved successfully",
|
"saved_successfully": "Saved successfully",
|
||||||
"try_again": "Please, try again",
|
"try_again": "Please, try again",
|
||||||
"signout_modal_title": "Are you sure?",
|
"sign_out_modal_title": "Are you sure?",
|
||||||
"cancel": "Cancel",
|
"cancel": "Cancel",
|
||||||
"signout": "Sign out",
|
"sign_out": "Sign out",
|
||||||
"playing_for": "Playing for {{amount}}"
|
"playing_for": "Playing for {{amount}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"home": "Início",
|
"home": "Início",
|
||||||
"queued": "{{title}} (Na fila)",
|
"queued": "{{title}} (Na fila)",
|
||||||
"game_has_no_executable": "Jogo não possui executável selecionado",
|
"game_has_no_executable": "Jogo não possui executável selecionado",
|
||||||
"signin": "Login"
|
"sign_in": "Login"
|
||||||
},
|
},
|
||||||
"header": {
|
"header": {
|
||||||
"search": "Buscar jogos",
|
"search": "Buscar jogos",
|
||||||
|
@ -242,8 +242,8 @@
|
||||||
"saved_successfully": "Salvo com sucesso",
|
"saved_successfully": "Salvo com sucesso",
|
||||||
"try_again": "Por favor, tente novamente",
|
"try_again": "Por favor, tente novamente",
|
||||||
"cancel": "Cancelar",
|
"cancel": "Cancelar",
|
||||||
"signout": "Sair da conta",
|
"sign_out": "Sair da conta",
|
||||||
"signout_modal_title": "Tem certeza?",
|
"sign_out_modal_title": "Tem certeza?",
|
||||||
"playing_for": "Jogando por {{amount}}"
|
"playing_for": "Jogando por {{amount}}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,7 @@ export function SidebarProfile() {
|
||||||
|
|
||||||
<div className={styles.profileButtonInformation}>
|
<div className={styles.profileButtonInformation}>
|
||||||
<p className={styles.profileButtonTitle}>
|
<p className={styles.profileButtonTitle}>
|
||||||
{userDetails ? userDetails.displayName : t("signin")}
|
{userDetails ? userDetails.displayName : t("sign_in")}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
{userDetails && runningGame && (
|
{userDetails && runningGame && (
|
||||||
|
|
|
@ -195,7 +195,7 @@ export function UserContent({
|
||||||
theme="danger"
|
theme="danger"
|
||||||
onClick={() => setShowSignOutModal(true)}
|
onClick={() => setShowSignOutModal(true)}
|
||||||
>
|
>
|
||||||
{t("signout")}
|
{t("sign_out")}
|
||||||
</Button>
|
</Button>
|
||||||
</>
|
</>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -19,7 +19,7 @@ export const UserSignOutModal = ({
|
||||||
<>
|
<>
|
||||||
<Modal
|
<Modal
|
||||||
visible={visible}
|
visible={visible}
|
||||||
title={t("signout_modal_title")}
|
title={t("sign_out_modal_title")}
|
||||||
onClose={onClose}
|
onClose={onClose}
|
||||||
>
|
>
|
||||||
<div className={styles.signOutModalButtonsContainer}>
|
<div className={styles.signOutModalButtonsContainer}>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue