feat(message-gateway): add admin channel cards and per-type forms

This commit is contained in:
ryan
2026-08-16 12:22:28 +08:00
parent 635c1760ad
commit 124ce9bebb
12 changed files with 707 additions and 0 deletions
+40
View File
@@ -21,6 +21,7 @@
"storage": "Storage",
"database": "Database",
"push": "Notifications",
"messageGateway": "Messaging",
"logs": "System Logs",
"system": "System Config",
"adminSettings": "System Settings",
@@ -1021,6 +1022,45 @@
"close": "Close"
}
},
"messageGateway": {
"pageTitle": "Messaging channels",
"pageDescription": "Configure instance-level Telegram and QQ bots. Users bind their private-chat identity with a pairing code.",
"addChannel": "Add channel",
"emptyTitle": "No messaging channels yet",
"emptyDescription": "Add a shared bot so users can bind it on their profile and send private messages.",
"enabled": "Enabled",
"disabled": "Disabled",
"delete": "Delete",
"deleteConfirmTitle": "Delete this channel?",
"deleteConfirmDescription": "Bindings and unused pairing codes for this channel will also be removed. This cannot be undone.",
"createSuccess": "Channel created",
"createFailed": "Failed to create channel",
"updateSuccess": "Channel updated",
"updateFailed": "Failed to update channel",
"deleteSuccess": "Channel deleted",
"deleteFailed": "Failed to delete channel",
"testSuccess": "Connectivity test passed",
"testFailed": "Connectivity test failed",
"name": "Name",
"namePlaceholder": "e.g. Ops bot",
"type": "Type",
"typeTelegram": "Telegram",
"typeQQ": "QQ",
"selectType": "Select a channel type",
"botToken": "Bot token",
"botTokenPlaceholder": "From BotFather",
"baseUrl": "API base URL",
"baseUrlPlaceholder": "https://api.telegram.org",
"appId": "App ID",
"appSecret": "App Secret",
"portalHost": "Portal host",
"portalHostPlaceholder": "q.qq.com",
"keepSecretHint": "Leave blank to keep the saved secret",
"cancel": "Cancel",
"create": "Create",
"testConnection": "Test connection",
"loadFailed": "Failed to load channels"
},
"database": {
"pageTitle": "Database",
"refreshData": "Refresh data",