auth.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "form": {
  3. "title": "Login Panel",
  4. "description": "Access the unified admin console with your API Key"
  5. },
  6. "login": {
  7. "title": "Login",
  8. "description": "Enter your admin token to access the system",
  9. "tokenLabel": "Admin Token",
  10. "tokenPlaceholder": "Enter your admin token",
  11. "submitButton": "Login",
  12. "loggingIn": "Logging in...",
  13. "success": "Login successful",
  14. "error": "Login failed, please verify your token"
  15. },
  16. "logout": {
  17. "confirm": "Are you sure you want to log out?",
  18. "success": "Logged out successfully"
  19. },
  20. "placeholders": {
  21. "apiKeyExample": "e.g. sk-xxxxxxxx"
  22. },
  23. "actions": {
  24. "enterConsole": "Enter Console",
  25. "viewUsageDoc": "View Usage Documentation"
  26. },
  27. "security": {
  28. "cookieWarningTitle": "Cookie Security Warning",
  29. "cookieWarningDescription": "You are accessing the system via HTTP. Browser security policies may prevent Cookie from being set, causing login to fail.",
  30. "solutionTitle": "Solutions:",
  31. "useHttps": "Use HTTPS to access the system (recommended)",
  32. "disableSecureCookies": "Set ENABLE_SECURE_COOKIES=false in .env (reduces security)",
  33. "privacyNote": "Please use your API Key to log in to the admin panel"
  34. },
  35. "errors": {
  36. "loginFailed": "Login failed",
  37. "networkError": "Network error, please try again later",
  38. "invalidToken": "Invalid authentication token",
  39. "tokenRequired": "Authentication token is required",
  40. "sessionExpired": "Your session has expired, please log in again",
  41. "unauthorized": "Unauthorized, please log in first",
  42. "apiKeyRequired": "Please enter API Key",
  43. "apiKeyInvalidOrExpired": "API Key is invalid or expired",
  44. "serverError": "Login failed, please try again later"
  45. }
  46. }