diff --git a/frontend/src/components/Modals/Password/MultiUserAuth.jsx b/frontend/src/components/Modals/Password/MultiUserAuth.jsx index ca56f3c8e7..c89f0cff5f 100644 --- a/frontend/src/components/Modals/Password/MultiUserAuth.jsx +++ b/frontend/src/components/Modals/Password/MultiUserAuth.jsx @@ -7,6 +7,7 @@ import ModalWrapper from "@/components/ModalWrapper"; import { useModal } from "@/hooks/useModal"; import RecoveryCodeModal from "@/components/Modals/DisplayRecoveryCodeModal"; import { useTranslation } from "react-i18next"; +import { t } from "i18next"; const RecoveryForm = ({ onSubmit, setShowRecoveryForm }) => { const [username, setUsername] = useState(""); @@ -36,21 +37,23 @@ const RecoveryForm = ({ onSubmit, setShowRecoveryForm }) => {

- Password Reset + {t("login.password-reset.title")}

- Provide the necessary information below to reset your password. + {t("login.password-reset.description")}

- + setUsername(e.target.value)} className="bg-zinc-900 text-white placeholder-white/20 text-sm rounded-md p-2.5 w-full h-[48px] md:w-[300px] md:h-[34px]" @@ -59,14 +62,16 @@ const RecoveryForm = ({ onSubmit, setShowRecoveryForm }) => {
{recoveryCodeInputs.map((code, index) => (
handleRecoveryCodeChange(index, e.target.value) @@ -84,14 +89,14 @@ const RecoveryForm = ({ onSubmit, setShowRecoveryForm }) => { type="submit" className="md:text-primary-button md:bg-transparent md:w-[300px] text-dark-text text-sm font-bold focus:ring-4 focus:outline-none rounded-md border-[1.5px] border-primary-button md:h-[34px] h-[48px] md:hover:text-white md:hover:bg-primary-button bg-primary-button focus:z-10 w-full" > - Reset Password + {t("login.password-reset.title")}
diff --git a/frontend/src/locales/en/common.js b/frontend/src/locales/en/common.js index f54521da68..296c4c5933 100644 --- a/frontend/src/locales/en/common.js +++ b/frontend/src/locales/en/common.js @@ -52,6 +52,14 @@ const TRANSLATIONS = { start: "Sign in to your", end: "account.", }, + "password-reset": { + title: "Password Reset", + description: + "Provide the necessary information below to reset your password.", + "recovery-codes": "Recovery Codes", + "recovery-code": "Recovery Code {{index}}", + "back-to-login": "Back to Login", + }, }, // Workspace Settings menu items diff --git a/frontend/src/locales/es/common.js b/frontend/src/locales/es/common.js index 4430a3cb97..6077c38193 100644 --- a/frontend/src/locales/es/common.js +++ b/frontend/src/locales/es/common.js @@ -50,6 +50,14 @@ const TRANSLATIONS = { start: "Iniciar sesión en tu", end: "cuenta.", }, + "password-reset": { + title: "Restablecer la contraseña", + description: + "Proporcione la información necesaria a continuación para restablecer su contraseña.", + "recovery-codes": "Códigos de recuperación", + "recovery-code": "Código de recuperación {{index}}", + "back-to-login": "Volver al inicio de sesión", + }, }, "workspaces—settings": { diff --git a/frontend/src/locales/fr/common.js b/frontend/src/locales/fr/common.js index 84a27f6145..e238d45705 100644 --- a/frontend/src/locales/fr/common.js +++ b/frontend/src/locales/fr/common.js @@ -52,6 +52,14 @@ const TRANSLATIONS = { start: "Connectez-vous à votre", end: "compte.", }, + "password-reset": { + title: "Réinitialisation du mot de passe", + description: + "Fournissez les informations nécessaires ci-dessous pour réinitialiser votre mot de passe.", + "recovery-codes": "Codes de récupération", + "recovery-code": "Code de récupération {{index}}", + "back-to-login": "Retour à la connexion", + }, }, // Workspace Settings menu items diff --git a/frontend/src/locales/ko/common.js b/frontend/src/locales/ko/common.js index 745e944aec..a798c0a2bd 100644 --- a/frontend/src/locales/ko/common.js +++ b/frontend/src/locales/ko/common.js @@ -40,7 +40,7 @@ const TRANSLATIONS = { // Page Definitions login: { "multi-user": { - welcome: "환영합니다", + welcome: "웰컴!", "placeholder-username": "사용자 이름", "placeholder-password": "비밀번호", login: "로그인", @@ -49,8 +49,15 @@ const TRANSLATIONS = { reset: "재설정", }, "sign-in": { - start: "계정으로", - end: "로그인하세요.", + start: "사용자 계정으로 ", + end: "에 로그인하세요.", + }, + "password-reset": { + title: "비밀번호 재설정", + description: "비밀번호를 재설정하려면 아래에 필요한 정보를 입력하세요.", + "recovery-codes": "복구 코드", + "recovery-code": "복구 코드 {{index}}", + "back-to-login": "로그인으로 돌아가기", }, }, diff --git a/frontend/src/locales/ru/common.js b/frontend/src/locales/ru/common.js index a9cbdbc3cf..2a8dc65416 100644 --- a/frontend/src/locales/ru/common.js +++ b/frontend/src/locales/ru/common.js @@ -48,6 +48,14 @@ const TRANSLATIONS = { start: "Войти в ваш", end: "аккаунт.", }, + "password-reset": { + title: "Сброс пароля", + description: + "Предоставьте необходимую информацию ниже, чтобы сбросить ваш пароль.", + "recovery-codes": "Коды восстановления", + "recovery-code": "Код восстановления {{index}}", + "back-to-login": "Вернуться к входу", + }, }, "workspaces—settings": { general: "Общие настройки", diff --git a/frontend/src/locales/zh/common.js b/frontend/src/locales/zh/common.js index 8723f7ec97..a76ad75e34 100644 --- a/frontend/src/locales/zh/common.js +++ b/frontend/src/locales/zh/common.js @@ -53,6 +53,13 @@ const TRANSLATIONS = { start: "登录你的", end: "账户", }, + "password-reset": { + title: "重置密码", + description: "请提供以下必要信息以重置您的密码。", + "recovery-codes": "恢复代码", + "recovery-code": "恢复代码 {{index}}", + "back-to-login": "返回登录", + }, }, // Workspace Settings menu items