auth.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "form": {
  3. "title": "登錄面板",
  4. "description": "使用您的 API Key 進入統一控制台",
  5. "apiKeyLabel": "API Key",
  6. "showPassword": "顯示密碼",
  7. "hidePassword": "隱藏密碼"
  8. },
  9. "login": {
  10. "title": "登錄",
  11. "description": "輸入管理員令牌以存取系統",
  12. "tokenLabel": "管理員令牌",
  13. "tokenPlaceholder": "請輸入管理員令牌",
  14. "submitButton": "登錄",
  15. "loggingIn": "登錄中...",
  16. "success": "登錄成功",
  17. "error": "登錄失敗,請檢查令牌是否正確"
  18. },
  19. "logout": {
  20. "confirm": "確定要登出嗎?",
  21. "success": "已登出"
  22. },
  23. "placeholders": {
  24. "apiKeyExample": "例如 sk-xxxxxxxx"
  25. },
  26. "brand": {
  27. "tagline": "統一 API 管理控制台"
  28. },
  29. "actions": {
  30. "enterConsole": "進入控制台",
  31. "viewUsageDoc": "查看使用文檔"
  32. },
  33. "security": {
  34. "cookieWarningTitle": "Cookie 安全警告",
  35. "cookieWarningDescription": "您正在使用 HTTP 存取系統,瀏覽器安全政策可能阻止 Cookie 設定導致登錄失敗。",
  36. "solutionTitle": "解決方案:",
  37. "useHttps": "使用 HTTPS 存取(推薦)",
  38. "disableSecureCookies": "在 .env 中設定 ENABLE_SECURE_COOKIES=false(會降低安全性)",
  39. "privacyNote": "請使用您的 API Key 登入後台"
  40. },
  41. "errors": {
  42. "loginFailed": "登錄失敗",
  43. "networkError": "網路錯誤,請稍後重試",
  44. "invalidToken": "無效的認證令牌",
  45. "tokenRequired": "需要提供認證令牌",
  46. "sessionExpired": "會話已過期,請重新登錄",
  47. "unauthorized": "未授權,請先登錄",
  48. "apiKeyRequired": "請輸入 API Key",
  49. "apiKeyInvalidOrExpired": "API Key 無效或已過期",
  50. "serverError": "登錄失敗,請稍後重試"
  51. }
  52. }