Skip to content

Commit

Permalink
fix: sign_out and sign_in
Browse files Browse the repository at this point in the history
  • Loading branch information
zamitto committed Jun 20, 2024
1 parent a02eac4 commit 67f8b60
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"home": "Home",
"queued": "{{title}} (Queued)",
"game_has_no_executable": "Game has no executable selected",
"signin": "Sign in"
"sign_in": "Sign in"
},
"header": {
"search": "Search games",
Expand Down Expand Up @@ -241,9 +241,9 @@
"edit_profile": "Edit Profile",
"saved_successfully": "Saved successfully",
"try_again": "Please, try again",
"signout_modal_title": "Are you sure?",
"sign_out_modal_title": "Are you sure?",
"cancel": "Cancel",
"signout": "Sign out",
"sign_out": "Sign out",
"playing_for": "Playing for {{amount}}"
}
}
6 changes: 3 additions & 3 deletions src/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"home": "Início",
"queued": "{{title}} (Na fila)",
"game_has_no_executable": "Jogo não possui executável selecionado",
"signin": "Login"
"sign_in": "Login"
},
"header": {
"search": "Buscar jogos",
Expand Down Expand Up @@ -242,8 +242,8 @@
"saved_successfully": "Salvo com sucesso",
"try_again": "Por favor, tente novamente",
"cancel": "Cancelar",
"signout": "Sair da conta",
"signout_modal_title": "Tem certeza?",
"sign_out": "Sair da conta",
"sign_out_modal_title": "Tem certeza?",
"playing_for": "Jogando por {{amount}}"
}
}
2 changes: 1 addition & 1 deletion src/renderer/src/components/sidebar/sidebar-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function SidebarProfile() {

<div className={styles.profileButtonInformation}>
<p className={styles.profileButtonTitle}>
{userDetails ? userDetails.displayName : t("signin")}
{userDetails ? userDetails.displayName : t("sign_in")}
</p>

{userDetails && runningGame && (
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/user/user-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export function UserContent({
theme="danger"
onClick={() => setShowSignOutModal(true)}
>
{t("signout")}
{t("sign_out")}
</Button>
</>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/src/pages/user/user-signout-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const UserSignOutModal = ({
<>
<Modal
visible={visible}
title={t("signout_modal_title")}
title={t("sign_out_modal_title")}
onClose={onClose}
>
<div className={styles.signOutModalButtonsContainer}>
Expand Down

0 comments on commit 67f8b60

Please sign in to comment.