diff --git a/components/AccountSettings.tsx b/components/AccountSettings.tsx index 219cecc..c988c7d 100644 --- a/components/AccountSettings.tsx +++ b/components/AccountSettings.tsx @@ -158,6 +158,7 @@ export function AccountSettings({ async function recover() { setSending(true); setRecoveryError(""); + setRecoveryMessage(""); try { const data = await api<{ message: string }>("auth", { action: "recover", @@ -344,12 +345,12 @@ export function AccountSettings({ {recoveryMessage && (

- {recoveryMessage} + {t(recoveryMessage)}

)} {recoveryError && (

- {recoveryError} + {t(recoveryError)}

)} diff --git a/components/MapCommunity.tsx b/components/MapCommunity.tsx index cc6e29a..c314f1d 100644 --- a/components/MapCommunity.tsx +++ b/components/MapCommunity.tsx @@ -145,7 +145,10 @@ export function MapCommunity({ {!data.viewer && (

- + {t("Sign in to react, comment, or report.")}

diff --git a/components/StartGame.tsx b/components/StartGame.tsx index e2cfc09..e58613b 100644 --- a/components/StartGame.tsx +++ b/components/StartGame.tsx @@ -338,7 +338,11 @@ export function StartGame({ ) : (

{t("Log in to create a multiplayer room")}{" "} - {t("Log in")} + + {t("Log in")} +

)}