mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-01 14:46:36 +08:00
feat(message-gateway): add admin channel cards and per-type forms
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
"storage": "存储管理",
|
||||
"database": "数据管理",
|
||||
"push": "通知推送",
|
||||
"messageGateway": "消息通道",
|
||||
"logs": "系统日志",
|
||||
"system": "系统配置",
|
||||
"adminSettings": "系统设置",
|
||||
@@ -1021,6 +1022,45 @@
|
||||
"close": "关闭"
|
||||
}
|
||||
},
|
||||
"messageGateway": {
|
||||
"pageTitle": "消息通道",
|
||||
"pageDescription": "配置实例级 Telegram / QQ 机器人,用户通过配对码绑定私聊身份。",
|
||||
"addChannel": "添加通道",
|
||||
"emptyTitle": "还没有消息通道",
|
||||
"emptyDescription": "添加一个共享机器人,用户即可在资料页绑定并发送私聊消息。",
|
||||
"enabled": "已启用",
|
||||
"disabled": "已禁用",
|
||||
"delete": "删除",
|
||||
"deleteConfirmTitle": "删除通道?",
|
||||
"deleteConfirmDescription": "将同时删除该通道下的绑定和未使用的配对码。此操作不可撤销。",
|
||||
"createSuccess": "通道已创建",
|
||||
"createFailed": "创建通道失败",
|
||||
"updateSuccess": "通道已更新",
|
||||
"updateFailed": "更新通道失败",
|
||||
"deleteSuccess": "通道已删除",
|
||||
"deleteFailed": "删除通道失败",
|
||||
"testSuccess": "连通性测试通过",
|
||||
"testFailed": "连通性测试失败",
|
||||
"name": "名称",
|
||||
"namePlaceholder": "例如:运营机器人",
|
||||
"type": "类型",
|
||||
"typeTelegram": "Telegram",
|
||||
"typeQQ": "QQ",
|
||||
"selectType": "选择通道类型",
|
||||
"botToken": "Bot Token",
|
||||
"botTokenPlaceholder": "从 BotFather 获取",
|
||||
"baseUrl": "API 地址",
|
||||
"baseUrlPlaceholder": "https://api.telegram.org",
|
||||
"appId": "App ID",
|
||||
"appSecret": "App Secret",
|
||||
"portalHost": "开放平台域名",
|
||||
"portalHostPlaceholder": "q.qq.com",
|
||||
"keepSecretHint": "留空则保留已保存的密钥",
|
||||
"cancel": "取消",
|
||||
"create": "创建",
|
||||
"testConnection": "测试连通性",
|
||||
"loadFailed": "加载通道失败"
|
||||
},
|
||||
"database": {
|
||||
"pageTitle": "数据管理",
|
||||
"refreshData": "刷新数据",
|
||||
|
||||
Reference in New Issue
Block a user