notifications.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. "dailyLeaderboard": {
  42. "description": "Send daily scheduled user consumption Top N leaderboard",
  43. "enable": "Enable Daily Leaderboard",
  44. "test": "Test Connection",
  45. "time": "Send Time",
  46. "timeError": "Time format error, should be HH:mm",
  47. "timePlaceholder": "09:00",
  48. "title": "Daily User Consumption Leaderboard",
  49. "topN": "Show Top N",
  50. "webhook": "Webhook URL",
  51. "webhookPlaceholder": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=..."
  52. },
  53. "description": "Configure Webhook push notifications",
  54. "form": {
  55. "loadError": "Failed to load notification settings",
  56. "loading": "Loading...",
  57. "save": "Save Settings",
  58. "saveError": "Failed to save settings",
  59. "saveFailed": "Save failed",
  60. "saving": "Saving...",
  61. "success": "Notification settings saved and tasks rescheduled",
  62. "testError": "Test connection failed",
  63. "testFailed": "Test failed",
  64. "testFailedRetry": "Test failed, please retry",
  65. "testNoResult": "Test succeeded but no result returned",
  66. "testSuccess": "Test message sent",
  67. "webhookRequired": "Please fill in Webhook URL first"
  68. },
  69. "global": {
  70. "description": "Enable or disable all push notification features",
  71. "enable": "Enable Push Notifications",
  72. "off": "Off",
  73. "on": "On",
  74. "legacyModeDescription": "You are using legacy single-URL notifications. Create a push target to switch to multi-target mode.",
  75. "legacyModeTitle": "Legacy Mode",
  76. "title": "Notification Master Switch"
  77. },
  78. "targetDialog": {
  79. "createTitle": "Add Push Target",
  80. "customHeaders": "Custom Headers (JSON)",
  81. "customHeadersPlaceholder": "{\"X-Token\":\"...\"}",
  82. "dingtalkSecret": "DingTalk Secret",
  83. "dingtalkSecretPlaceholder": "Optional, used for signing",
  84. "editTitle": "Edit Push Target",
  85. "enable": "Enable",
  86. "errors": {
  87. "headersInvalidJson": "Headers must be valid JSON",
  88. "headersMustBeObject": "Headers must be a JSON object",
  89. "headersValueMustBeString": "Header values must be strings"
  90. },
  91. "name": "Target Name",
  92. "namePlaceholder": "e.g. Ops Group",
  93. "proxy": {
  94. "fallbackToDirect": "Fallback to direct on proxy failure",
  95. "title": "Proxy",
  96. "toggle": "Toggle proxy settings",
  97. "url": "Proxy URL",
  98. "urlPlaceholder": "http://127.0.0.1:7890"
  99. },
  100. "selectType": "Select platform type",
  101. "telegramBotToken": "Telegram Bot Token",
  102. "telegramBotTokenPlaceholder": "e.g. 123456:ABCDEF...",
  103. "telegramChatId": "Telegram Chat ID",
  104. "telegramChatIdPlaceholder": "e.g. -1001234567890",
  105. "type": "Platform Type",
  106. "types": {
  107. "custom": "Custom Webhook",
  108. "dingtalk": "DingTalk",
  109. "feishu": "Feishu",
  110. "telegram": "Telegram",
  111. "wechat": "WeCom"
  112. },
  113. "webhookUrl": "Webhook URL",
  114. "webhookUrlPlaceholder": "https://example.com/webhook"
  115. },
  116. "targets": {
  117. "add": "Add Target",
  118. "bindingsSaved": "Bindings saved",
  119. "created": "Target created",
  120. "delete": "Delete",
  121. "deleteConfirm": "Are you sure you want to delete this target? Related bindings will also be removed.",
  122. "deleteConfirmTitle": "Delete Push Target",
  123. "deleted": "Target deleted",
  124. "description": "Manage push targets. Supports WeCom, Feishu, DingTalk, Telegram and custom Webhook.",
  125. "edit": "Edit",
  126. "emptyHint": "No push targets yet. Click \"Add Target\" to create one.",
  127. "enable": "Enable Target",
  128. "lastTestAt": "Last Test",
  129. "lastTestFailed": "Test Failed",
  130. "lastTestNever": "Never tested",
  131. "lastTestSuccess": "Test OK",
  132. "statusDisabled": "Disabled",
  133. "statusEnabled": "Enabled",
  134. "test": "Test",
  135. "testSelectType": "Select test type",
  136. "title": "Push Targets",
  137. "update": "Save Target",
  138. "updated": "Target updated"
  139. },
  140. "templateEditor": {
  141. "insert": "Insert",
  142. "jsonInvalid": "Invalid JSON",
  143. "placeholder": "Enter JSON template...",
  144. "placeholders": "Placeholders",
  145. "title": "Template (JSON)"
  146. },
  147. "title": "Push Notifications"
  148. }