auth.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "login": {
  3. "title": "登录",
  4. "description": "输入管理员令牌以访问系统",
  5. "tokenLabel": "管理员令牌",
  6. "tokenPlaceholder": "请输入管理员令牌",
  7. "submitButton": "登录",
  8. "loggingIn": "登录中...",
  9. "success": "登录成功",
  10. "error": "登录失败,请检查令牌是否正确"
  11. },
  12. "logout": {
  13. "confirm": "确定要退出登录吗?",
  14. "success": "已退出登录"
  15. },
  16. "errors": {
  17. "loginFailed": "登录失败",
  18. "networkError": "网络错误,请稍后重试",
  19. "invalidToken": "无效的认证令牌",
  20. "tokenRequired": "需要提供认证令牌",
  21. "sessionExpired": "会话已过期,请重新登录",
  22. "unauthorized": "未授权,请先登录",
  23. "apiKeyRequired": "请输入 API Key",
  24. "apiKeyInvalidOrExpired": "API Key 无效或已过期",
  25. "serverError": "登录失败,请稍后重试"
  26. },
  27. "placeholders": {
  28. "apiKeyExample": "例如 sk-xxxxxxxx"
  29. },
  30. "brand": {
  31. "tagline": "统一 API 管理控制台"
  32. },
  33. "actions": {
  34. "enterConsole": "进入控制台",
  35. "viewUsageDoc": "查看使用文档"
  36. },
  37. "security": {
  38. "cookieWarningTitle": "Cookie 安全警告",
  39. "cookieWarningDescription": "您正在使用 HTTP 访问系统,浏览器安全策略可能阻止 Cookie 设置导致登录失败。",
  40. "solutionTitle": "解决方案:",
  41. "useHttps": "使用 HTTPS 访问(推荐)",
  42. "disableSecureCookies": "在 .env 中设置 ENABLE_SECURE_COOKIES=false(会降低安全性)",
  43. "privacyNote": "请使用您的 API Key 登录后台"
  44. },
  45. "form": {
  46. "title": "登录面板",
  47. "description": "使用您的 API Key 进入统一控制台",
  48. "apiKeyLabel": "API Key",
  49. "showPassword": "显示密码",
  50. "hidePassword": "隐藏密码"
  51. }
  52. }