notifications.json 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "bindings": {
  3. "advanced": "Advanced",
  4. "bindTarget": "Bind target",
  5. "boundCount": "Bound: {count}",
  6. "editTemplateOverride": "Edit Override",
  7. "enable": "Enable",
  8. "enableType": "Enable this notification",
  9. "enabledCount": "Enabled: {count}",
  10. "noTargets": "No push targets available.",
  11. "scheduleCron": "Cron",
  12. "scheduleCronPlaceholder": "e.g. 0 9 * * *",
  13. "scheduleTimezone": "Timezone",
  14. "templateOverride": "Template Override",
  15. "templateOverrideTitle": "Edit Template Override",
  16. "title": "Bindings"
  17. },
  18. "circuitBreaker": {
  19. "description": "Send alert immediately when provider is fully circuit broken",
  20. "enable": "Enable Circuit Breaker Alert",
  21. "test": "Test Connection",
  22. "title": "Circuit Breaker Alert",
  23. "webhook": "Webhook URL",
  24. "webhookPlaceholder": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=..."
  25. },
  26. "costAlert": {
  27. "description": "Trigger alert when user/provider consumption exceeds quota threshold",
  28. "enable": "Enable Cost Alert",
  29. "interval": "Check Interval (minutes)",
  30. "test": "Test Connection",
  31. "threshold": "Alert Threshold",
  32. "thresholdHelp": "Alert when consumption reaches {percent}% of quota",
  33. "thresholdLabel": "Alert Threshold: {percent}%",
  34. "title": "Cost Alert",
  35. "webhook": "Webhook URL",
  36. "webhookPlaceholder": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=...",
  37. "webhookTypeFeishu": "Feishu",
  38. "webhookTypeUnknown": "Unknown platform. Please use WeCom or Feishu webhook URL",
  39. "webhookTypeWeCom": "WeCom"
  40. },
  41. "cacheHitRateAlert": {
  42. "absMin": "Absolute Minimum (absMin)",
  43. "checkInterval": "Check Interval (minutes)",
  44. "cooldownMinutes": "Cooldown (minutes)",
  45. "description": "Alert when cache hit rate drops abnormally (provider × model)",
  46. "dropAbs": "Absolute Drop (dropAbs)",
  47. "dropRel": "Relative Drop (dropRel)",
  48. "enable": "Enable Cache Hit Rate Alert",
  49. "historicalLookbackDays": "Historical Lookback (days)",
  50. "minEligibleRequests": "Min Eligible Requests",
  51. "minEligibleTokens": "Min Eligible Tokens",
  52. "title": "Cache Hit Rate Alert",
  53. "topN": "Top N",
  54. "windowMode": "Window",
  55. "windowModeAuto": "Auto"
  56. },
  57. "dailyLeaderboard": {
  58. "description": "Send daily scheduled user consumption Top N leaderboard",
  59. "enable": "Enable Daily Leaderboard",
  60. "test": "Test Connection",
  61. "time": "Send Time",
  62. "timeError": "Time format error, should be HH:mm",
  63. "timePlaceholder": "09:00",
  64. "title": "Daily User Consumption Leaderboard",
  65. "topN": "Show Top N",
  66. "webhook": "Webhook URL",
  67. "webhookPlaceholder": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=..."
  68. },
  69. "description": "Configure Webhook push notifications",
  70. "form": {
  71. "loadError": "Failed to load notification settings",
  72. "loading": "Loading...",
  73. "save": "Save Settings",
  74. "saveError": "Failed to save settings",
  75. "saveFailed": "Save failed",
  76. "saving": "Saving...",
  77. "success": "Notification settings saved and tasks rescheduled",
  78. "testError": "Test connection failed",
  79. "testFailed": "Test failed",
  80. "testFailedRetry": "Test failed, please retry",
  81. "testNoResult": "Test succeeded but no result returned",
  82. "testSuccess": "Test message sent",
  83. "webhookRequired": "Please fill in Webhook URL first"
  84. },
  85. "global": {
  86. "description": "Enable or disable all push notification features",
  87. "enable": "Enable Push Notifications",
  88. "off": "Off",
  89. "on": "On",
  90. "legacyModeDescription": "You are using legacy single-URL notifications. Create a push target to switch to multi-target mode.",
  91. "legacyModeTitle": "Legacy Mode",
  92. "title": "Notification Master Switch"
  93. },
  94. "targetDialog": {
  95. "createTitle": "Add Push Target",
  96. "customHeaders": "Custom Headers (JSON)",
  97. "customHeadersPlaceholder": "{\"X-Token\":\"...\"}",
  98. "dingtalkSecret": "DingTalk Secret",
  99. "dingtalkSecretPlaceholder": "Optional, used for signing",
  100. "editTitle": "Edit Push Target",
  101. "enable": "Enable",
  102. "errors": {
  103. "headersInvalidJson": "Headers must be valid JSON",
  104. "headersMustBeObject": "Headers must be a JSON object",
  105. "headersValueMustBeString": "Header values must be strings"
  106. },
  107. "name": "Target Name",
  108. "namePlaceholder": "e.g. Ops Group",
  109. "proxy": {
  110. "fallbackToDirect": "Fallback to direct on proxy failure",
  111. "title": "Proxy",
  112. "toggle": "Toggle proxy settings",
  113. "url": "Proxy URL",
  114. "urlPlaceholder": "http://127.0.0.1:7890"
  115. },
  116. "selectType": "Select platform type",
  117. "telegramBotToken": "Telegram Bot Token",
  118. "telegramBotTokenPlaceholder": "e.g. 123456:ABCDEF...",
  119. "telegramChatId": "Telegram Chat ID",
  120. "telegramChatIdPlaceholder": "e.g. -1001234567890",
  121. "type": "Platform Type",
  122. "types": {
  123. "custom": "Custom Webhook",
  124. "dingtalk": "DingTalk",
  125. "feishu": "Feishu",
  126. "telegram": "Telegram",
  127. "wechat": "WeCom"
  128. },
  129. "webhookUrl": "Webhook URL",
  130. "webhookUrlPlaceholder": "https://example.com/webhook"
  131. },
  132. "targets": {
  133. "add": "Add Target",
  134. "bindingsSaved": "Bindings saved",
  135. "created": "Target created",
  136. "delete": "Delete",
  137. "deleteConfirm": "Are you sure you want to delete this target? Related bindings will also be removed.",
  138. "deleteConfirmTitle": "Delete Push Target",
  139. "deleted": "Target deleted",
  140. "description": "Manage push targets. Supports WeCom, Feishu, DingTalk, Telegram and custom Webhook.",
  141. "edit": "Edit",
  142. "emptyHint": "No push targets yet. Click \"Add Target\" to create one.",
  143. "enable": "Enable Target",
  144. "lastTestAt": "Last Test",
  145. "lastTestFailed": "Test Failed",
  146. "lastTestNever": "Never tested",
  147. "lastTestSuccess": "Test OK",
  148. "statusDisabled": "Disabled",
  149. "statusEnabled": "Enabled",
  150. "test": "Test",
  151. "testSelectType": "Select test type",
  152. "title": "Push Targets",
  153. "update": "Save Target",
  154. "updated": "Target updated"
  155. },
  156. "templateEditor": {
  157. "insert": "Insert",
  158. "jsonInvalid": "Invalid JSON",
  159. "placeholder": "Enter JSON template...",
  160. "placeholders": "Placeholders",
  161. "title": "Template (JSON)"
  162. },
  163. "title": "Push Notifications"
  164. }