feat: add i18n translation keys for auth pages

This commit is contained in:
2026-04-03 13:15:42 +08:00
parent 7f44bc8e32
commit 6d633eeac4

View File

@@ -17,6 +17,45 @@ const translations: AllTranslations = {
'nav.getStarted': 'Get Started', 'nav.getStarted': 'Get Started',
'nav.dashboard': 'Dashboard', 'nav.dashboard': 'Dashboard',
// Auth - Branding
'auth.productName': 'AgentFox',
'auth.slogan': 'API Docs for LLMs, Done Right',
'auth.feature1': 'Multi-level API retrieval for minimal token usage',
'auth.feature2': 'Import OpenAPI specs in seconds',
'auth.feature3': 'Works with any MCP-compatible LLM',
// Auth - Login
'auth.login.title': 'Sign in to your account',
'auth.login.email': 'Email',
'auth.login.password': 'Password',
'auth.login.submit': 'Sign In',
'auth.login.submitting': 'Signing in...',
'auth.login.noAccount': "Don't have an account?",
'auth.login.signUp': 'Sign Up',
'auth.login.or': 'or continue with',
// Auth - Register
'auth.register.title': 'Create your account',
'auth.register.subtitle': 'Get started with AgentFox',
'auth.register.name': 'Name',
'auth.register.email': 'Email',
'auth.register.password': 'Password',
'auth.register.submit': 'Create Account',
'auth.register.submitting': 'Creating account...',
'auth.register.hasAccount': 'Already have an account?',
'auth.register.signIn': 'Sign In',
'auth.register.or': 'or continue with',
// Auth - OAuth
'auth.oauth.google': 'Google',
'auth.oauth.github': 'GitHub',
'auth.oauth.apple': 'Apple',
// Auth - Callback
'auth.callback.loading': 'Completing sign in...',
'auth.callback.error': 'Sign in failed',
'auth.callback.retry': 'Try again',
// Hero // Hero
'hero.badge': 'MCP-Powered API Intelligence', 'hero.badge': 'MCP-Powered API Intelligence',
'hero.title': 'API Docs for LLMs,', 'hero.title': 'API Docs for LLMs,',
@@ -159,6 +198,45 @@ const translations: AllTranslations = {
'nav.getStarted': '免费开始', 'nav.getStarted': '免费开始',
'nav.dashboard': '控制台', 'nav.dashboard': '控制台',
// Auth - Branding
'auth.productName': 'AgentFox',
'auth.slogan': 'LLM 专属 API 文档方案',
'auth.feature1': '多级 API 检索,最小化 Token 消耗',
'auth.feature2': '秒级导入 OpenAPI 文档',
'auth.feature3': '兼容所有 MCP 协议的 LLM 工具',
// Auth - Login
'auth.login.title': '登录到您的账户',
'auth.login.email': '邮箱',
'auth.login.password': '密码',
'auth.login.submit': '登录',
'auth.login.submitting': '登录中...',
'auth.login.noAccount': '还没有账户?',
'auth.login.signUp': '注册',
'auth.login.or': '或者通过以下方式继续',
// Auth - Register
'auth.register.title': '创建您的账户',
'auth.register.subtitle': '开始使用 AgentFox',
'auth.register.name': '姓名',
'auth.register.email': '邮箱',
'auth.register.password': '密码',
'auth.register.submit': '创建账户',
'auth.register.submitting': '创建中...',
'auth.register.hasAccount': '已经有账户了?',
'auth.register.signIn': '登录',
'auth.register.or': '或者通过以下方式继续',
// Auth - OAuth
'auth.oauth.google': 'Google',
'auth.oauth.github': 'GitHub',
'auth.oauth.apple': 'Apple',
// Auth - Callback
'auth.callback.loading': '正在完成登录...',
'auth.callback.error': '登录失败',
'auth.callback.retry': '重试',
// Hero // Hero
'hero.badge': 'MCP 驱动的 API 智能服务', 'hero.badge': 'MCP 驱动的 API 智能服务',
'hero.title': '为 LLM 而生的', 'hero.title': '为 LLM 而生的',