en.yaml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. # English translations
  2. # Common messages
  3. common.invalid_params: "Invalid parameters"
  4. common.database_error: "Database error, please try again later"
  5. common.retry_later: "Please try again later"
  6. common.generate_failed: "Generation failed"
  7. common.not_found: "Not found"
  8. common.unauthorized: "Unauthorized"
  9. common.forbidden: "Forbidden"
  10. common.invalid_id: "Invalid ID"
  11. common.id_empty: "ID is empty!"
  12. common.feature_disabled: "This feature is not enabled"
  13. common.operation_success: "Operation successful"
  14. common.operation_failed: "Operation failed"
  15. common.update_success: "Update successful"
  16. common.update_failed: "Update failed"
  17. common.create_success: "Creation successful"
  18. common.create_failed: "Creation failed"
  19. common.delete_success: "Deletion successful"
  20. common.delete_failed: "Deletion failed"
  21. common.already_exists: "Already exists"
  22. common.name_cannot_be_empty: "Name cannot be empty"
  23. # Token messages
  24. token.name_too_long: "Token name is too long"
  25. token.quota_negative: "Quota value cannot be negative"
  26. token.quota_exceed_max: "Quota value exceeds valid range, maximum is {{.Max}}"
  27. token.generate_failed: "Failed to generate token"
  28. token.get_info_failed: "Failed to get token info, please try again later"
  29. token.expired_cannot_enable: "Token has expired and cannot be enabled. Please modify the expiration time or set it to never expire"
  30. token.exhausted_cannot_enable: "Token quota is exhausted and cannot be enabled. Please modify the remaining quota or set it to unlimited"
  31. token.invalid: "Invalid token"
  32. token.not_provided: "Token not provided"
  33. token.expired: "This token has expired"
  34. token.exhausted: "This token quota is exhausted TokenStatusExhausted[sk-{{.Prefix}}***{{.Suffix}}]"
  35. token.status_unavailable: "This token status is unavailable"
  36. token.db_error: "Invalid token, database query error, please contact administrator"
  37. # Redemption messages
  38. redemption.name_length: "Redemption code name length must be between 1-20"
  39. redemption.count_positive: "Redemption code count must be greater than 0"
  40. redemption.count_max: "Maximum 100 redemption codes can be generated at once"
  41. redemption.create_failed: "Failed to create redemption code, please try again later"
  42. redemption.invalid: "Invalid redemption code"
  43. redemption.used: "This redemption code has been used"
  44. redemption.expired: "This redemption code has expired"
  45. redemption.failed: "Redemption failed, please try again later"
  46. redemption.not_provided: "Redemption code not provided"
  47. redemption.expire_time_invalid: "Expiration time cannot be earlier than current time"
  48. # User messages
  49. user.password_login_disabled: "Password login has been disabled by administrator"
  50. user.register_disabled: "New user registration has been disabled by administrator"
  51. user.password_register_disabled: "Password registration has been disabled by administrator, please use third-party account verification"
  52. user.username_or_password_empty: "Username or password is empty"
  53. user.username_or_password_error: "Username or password is incorrect, or user has been banned"
  54. user.email_or_password_empty: "Email or password is empty!"
  55. user.exists: "Username already exists or has been deleted"
  56. user.not_exists: "User does not exist"
  57. user.disabled: "This user has been disabled"
  58. user.session_save_failed: "Failed to save session, please try again"
  59. user.require_2fa: "Please enter two-factor authentication code"
  60. user.email_verification_required: "Email verification is enabled, please enter email address and verification code"
  61. user.verification_code_error: "Verification code is incorrect or has expired"
  62. user.input_invalid: "Invalid input {{.Error}}"
  63. user.no_permission_same_level: "No permission to access users of same or higher level"
  64. user.no_permission_higher_level: "No permission to update users of same or higher permission level"
  65. user.cannot_create_higher_level: "Cannot create users with permission level equal to or higher than yourself"
  66. user.cannot_delete_root_user: "Cannot delete super administrator account"
  67. user.cannot_disable_root_user: "Cannot disable super administrator user"
  68. user.cannot_demote_root_user: "Cannot demote super administrator user"
  69. user.already_admin: "This user is already an administrator"
  70. user.already_common: "This user is already a common user"
  71. user.admin_cannot_promote: "Regular administrators cannot promote other users to administrator"
  72. user.original_password_error: "Original password is incorrect"
  73. user.invite_quota_insufficient: "Invitation quota is insufficient!"
  74. user.transfer_quota_minimum: "Minimum transfer quota is {{.Min}}!"
  75. user.transfer_success: "Transfer successful"
  76. user.transfer_failed: "Transfer failed {{.Error}}"
  77. user.topup_processing: "Top-up is processing, please try again later"
  78. user.register_failed: "User registration failed or user ID retrieval failed"
  79. user.default_token_failed: "Failed to generate default token"
  80. user.aff_code_empty: "Affiliate code is empty!"
  81. user.email_empty: "Email is empty!"
  82. user.github_id_empty: "GitHub ID is empty!"
  83. user.discord_id_empty: "Discord ID is empty!"
  84. user.oidc_id_empty: "OIDC ID is empty!"
  85. user.wechat_id_empty: "WeChat ID is empty!"
  86. user.telegram_id_empty: "Telegram ID is empty!"
  87. user.telegram_not_bound: "This Telegram account is not bound"
  88. user.linux_do_id_empty: "Linux DO ID is empty!"
  89. # Quota messages
  90. quota.negative: "Quota cannot be negative!"
  91. quota.exceed_max: "Quota value exceeds valid range"
  92. quota.insufficient: "Insufficient quota"
  93. quota.warning_invalid: "Invalid warning type"
  94. quota.threshold_gt_zero: "Warning threshold must be greater than 0"
  95. # Subscription messages
  96. subscription.not_enabled: "Subscription plan is not enabled"
  97. subscription.title_empty: "Subscription plan title cannot be empty"
  98. subscription.price_negative: "Price cannot be negative"
  99. subscription.price_max: "Price cannot exceed 9999"
  100. subscription.purchase_limit_negative: "Purchase limit cannot be negative"
  101. subscription.quota_negative: "Total quota cannot be negative"
  102. subscription.group_not_exists: "Upgrade group does not exist"
  103. subscription.reset_cycle_gt_zero: "Custom reset cycle must be greater than 0 seconds"
  104. subscription.purchase_max: "Purchase limit for this plan has been reached"
  105. subscription.invalid_id: "Invalid subscription ID"
  106. subscription.invalid_user_id: "Invalid user ID"
  107. # Payment messages
  108. payment.not_configured: "Payment information has not been configured by administrator"
  109. payment.method_not_exists: "Payment method does not exist"
  110. payment.callback_error: "Callback URL configuration error"
  111. payment.create_failed: "Failed to create order"
  112. payment.start_failed: "Failed to start payment"
  113. payment.amount_too_low: "Plan amount is too low"
  114. payment.stripe_not_configured: "Stripe is not configured or key is invalid"
  115. payment.webhook_not_configured: "Webhook is not configured"
  116. payment.price_id_not_configured: "StripePriceId is not configured for this plan"
  117. payment.creem_not_configured: "CreemProductId is not configured for this plan"
  118. # Topup messages
  119. topup.not_provided: "Payment order number not provided"
  120. topup.order_not_exists: "Top-up order does not exist"
  121. topup.order_status: "Top-up order status error"
  122. topup.failed: "Top-up failed, please try again later"
  123. topup.invalid_quota: "Invalid top-up quota"
  124. # Channel messages
  125. channel.not_exists: "Channel does not exist"
  126. channel.id_format_error: "Channel ID format error"
  127. channel.no_available_key: "No available channel keys"
  128. channel.get_list_failed: "Failed to get channel list, please try again later"
  129. channel.get_tags_failed: "Failed to get tags, please try again later"
  130. channel.get_key_failed: "Failed to get channel key"
  131. channel.get_ollama_failed: "Failed to get Ollama models"
  132. channel.query_failed: "Failed to query channel"
  133. channel.no_valid_upstream: "No valid upstream channel"
  134. channel.upstream_saturated: "Current group upstream load is saturated, please try again later"
  135. channel.get_available_failed: "Failed to get available channels for model {{.Model}} under group {{.Group}}"
  136. # Model messages
  137. model.name_empty: "Model name cannot be empty"
  138. model.name_exists: "Model name already exists"
  139. model.id_missing: "Model ID is missing"
  140. model.get_list_failed: "Failed to get model list, please try again later"
  141. model.get_failed: "Failed to get upstream models"
  142. model.reset_success: "Model ratio reset successful"
  143. # Vendor messages
  144. vendor.name_empty: "Vendor name cannot be empty"
  145. vendor.name_exists: "Vendor name already exists"
  146. vendor.id_missing: "Vendor ID is missing"
  147. # Group messages
  148. group.name_type_empty: "Group name and type cannot be empty"
  149. group.name_exists: "Group name already exists"
  150. group.id_missing: "Group ID is missing"
  151. # Checkin messages
  152. checkin.disabled: "Check-in feature is not enabled"
  153. checkin.already_today: "Already checked in today"
  154. checkin.failed: "Check-in failed, please try again later"
  155. checkin.quota_failed: "Check-in failed: quota update error"
  156. # Passkey messages
  157. passkey.create_failed: "Unable to create Passkey credential"
  158. passkey.login_abnormal: "Passkey login status is abnormal"
  159. passkey.update_failed: "Passkey credential update failed"
  160. passkey.invalid_user_id: "Invalid user ID"
  161. passkey.verify_failed: "Passkey verification failed, please try again or contact administrator"
  162. # 2FA messages
  163. twofa.not_enabled: "User has not enabled 2FA"
  164. twofa.user_id_empty: "User ID cannot be empty"
  165. twofa.already_exists: "User already has 2FA configured"
  166. twofa.record_id_empty: "2FA record ID cannot be empty"
  167. twofa.code_invalid: "Verification code or backup code is incorrect"
  168. # Rate limit messages
  169. rate_limit.reached: "You have reached the request limit: maximum {{.Max}} requests in {{.Minutes}} minutes"
  170. rate_limit.total_reached: "You have reached the total request limit: maximum {{.Max}} requests in {{.Minutes}} minutes, including failed attempts"
  171. # Setting messages
  172. setting.invalid_type: "Invalid warning type"
  173. setting.webhook_empty: "Webhook URL cannot be empty"
  174. setting.webhook_invalid: "Invalid Webhook URL"
  175. setting.email_invalid: "Invalid email address"
  176. setting.bark_url_empty: "Bark push URL cannot be empty"
  177. setting.bark_url_invalid: "Invalid Bark push URL"
  178. setting.gotify_url_empty: "Gotify server URL cannot be empty"
  179. setting.gotify_token_empty: "Gotify token cannot be empty"
  180. setting.gotify_url_invalid: "Invalid Gotify server URL"
  181. setting.url_must_http: "URL must start with http:// or https://"
  182. setting.saved: "Settings updated"
  183. # Deployment messages (io.net)
  184. deployment.not_enabled: "io.net model deployment is not enabled or API key is missing"
  185. deployment.id_required: "Deployment ID is required"
  186. deployment.container_id_required: "Container ID is required"
  187. deployment.name_empty: "Deployment name cannot be empty"
  188. deployment.name_taken: "Deployment name is not available, please choose a different name"
  189. deployment.hardware_id_required: "hardware_id parameter is required"
  190. deployment.hardware_invalid_id: "Invalid hardware_id parameter"
  191. deployment.api_key_required: "api_key is required"
  192. deployment.invalid_payload: "Invalid request payload"
  193. deployment.not_found: "Container details not found"
  194. # Performance messages
  195. performance.disk_cache_cleared: "Inactive disk cache has been cleared"
  196. performance.stats_reset: "Statistics have been reset"
  197. performance.gc_executed: "GC has been executed"
  198. # Ability messages
  199. ability.db_corrupted: "Database consistency has been compromised"
  200. ability.repair_running: "A repair task is already running, please try again later"
  201. # OAuth messages
  202. oauth.invalid_code: "Invalid authorization code"
  203. oauth.get_user_error: "Failed to get user information"
  204. oauth.account_used: "This account has been bound to another user"
  205. # Model layer error messages
  206. redeem.failed: "Redemption failed, please try again later"
  207. user.create_default_token_error: "Failed to create default token"
  208. common.uuid_duplicate: "Please retry, the system generated a duplicate UUID!"
  209. common.invalid_input: "Invalid input"