feat(i18n):add i18n for auth page

This commit is contained in:
JiPai
2025-03-09 23:00:33 +08:00
parent a1bbfaebf4
commit 6df0878ed4
9 changed files with 135 additions and 53 deletions

View File

@@ -0,0 +1,30 @@
{
"auth.signIn": "Sign In",
"auth.signInDescription": "Enter your email and password to sign in",
"auth.signInWithGoogle": "Sign in with Google",
"auth.signInWithGithub": "Sign in with GitHub",
"auth.email": "Email",
"auth.password": "Password",
"auth.password.placeholder": "Enter your password",
"auth.login": "Login",
"auth.forgetPassword": "Lost your password?",
"auth.createAccount": "Create an account",
"auth.twoFactorCode": "2FA Code",
"auth.twoFactorCodeDescription": "Enter the 6-digit code from your authenticator app",
"auth.lostAuthenticator": "Lost access to your authenticator app?",
"auth.back": "Back",
"auth.verify": "Verify",
"auth.enterBackupCode": "Enter Backup Code",
"auth.enterBackupCodeDescription": "Enter one of your backup codes to access your account",
"auth.backupCode": "Backup Code",
"auth.backupCode.placeholder": "Enter your backup code",
"auth.backupCodeDescription": "Enter one of the backup codes you received when setting up 2FA",
"auth.cancel": "Cancel",
"auth.invalidTwoFactorCode": "Please enter a valid 6-digit code",
"auth.twoFactorVerificationError": "An error occurred while verifying 2FA code",
"auth.invalidBackupCode": "Please enter a valid backup code",
"auth.backupCodeVerificationError": "An error occurred while verifying backup code",
"auth.githubSignInError": "An error occurred while signing in with GitHub",
"auth.googleSignInError": "An error occurred while signing in with Google",
"auth.unknownError": "Unknown error"
}

View File

@@ -46,10 +46,15 @@
"common.side.organizations.createOrganizationDescription": "Create a new organization to manage your projects.",
"common.side.organizations.updateOrganizationDescription": "Update the organization name and logo",
"common.side.organizations.name": "Name",
"common.side.organizations.name.placeHolder": "Organization name",
"common.side.organizations.name.placeholder": "Organization name",
"common.side.organizations.logoURL": "Logo URL",
"common.side.organizations.createSuccess": "Organization created successfully",
"common.side.organizations.updateSuccess": "Organization updated successfully",
"common.side.organizations.createFailed": "Failed to create organization",
"common.side.organizations.updateFailed": "Failed to update organization"
"common.side.organizations.updateFailed": "Failed to update organization",
"common.account": "Account",
"common.account.mine": "My Account",
"common.account.logout": "Logout",
"common.account.selectLanguage": "Select Language"
}

View File

@@ -0,0 +1,30 @@
{
"auth.signIn": "登录",
"auth.signInDescription": "请输入您的邮箱和密码登录",
"auth.signInWithGoogle": "使用 Google 登录",
"auth.signInWithGithub": "使用 GitHub 登录",
"auth.email": "邮箱",
"auth.password": "密码",
"auth.password.placeholder": "请输入密码",
"auth.login": "登录",
"auth.forgetPassword": "忘记密码?",
"auth.createAccount": "创建账号",
"auth.twoFactorCode": "两步认证",
"auth.twoFactorCodeDescription": "请输入您的认证器应用中的6位数字验证码",
"auth.lostAuthenticator": "无法访问认证器应用?",
"auth.back": "返回",
"auth.verify": "验证",
"auth.enterBackupCode": "输入备用码",
"auth.enterBackupCodeDescription": "输入备用码以访问您的账户",
"auth.backupCode": "备用码",
"auth.backupCode.placeholder": "请输入您的备用码",
"auth.backupCodeDescription": "输入您在设置两步认证时收到的备用码",
"auth.cancel": "取消",
"auth.invalidTwoFactorCode": "请输入有效的6位数字验证码",
"auth.twoFactorVerificationError": "验证两步认证码时发生错误",
"auth.invalidBackupCode": "请输入有效的备用码",
"auth.backupCodeVerificationError": "验证备用码时发生错误",
"auth.githubSignInError": "使用 GitHub 登录时发生错误",
"auth.googleSignInError": "使用 Google 登录时发生错误",
"auth.unknownError": "未知错误"
}

View File

@@ -46,10 +46,15 @@
"common.side.organizations.createOrganizationDescription": "创建一个新组织来管理您的项目。",
"common.side.organizations.updateOrganizationDescription": "更新组织名称和标志",
"common.side.organizations.name": "名称",
"common.side.organizations.name.placeHolder": "请输入组织名称",
"common.side.organizations.name.placeholder": "请输入组织名称",
"common.side.organizations.logoURL": "Logo 图片地址",
"common.side.organizations.createSuccess": "组织创建成功",
"common.side.organizations.updateSuccess": "组织更新成功",
"common.side.organizations.createFailed": "创建组织失败",
"common.side.organizations.updateFailed": "更新组织失败"
"common.side.organizations.updateFailed": "更新组织失败",
"common.account": "账户",
"common.account.mine": "我的账户",
"common.account.logout": "注销",
"common.account.selectLanguage": "选择语言"
}