feat: bot setting

This commit is contained in:
Tristan Yang
2022-12-21 08:05:14 +08:00
parent e984031535
commit 7546af66a5
10 changed files with 56 additions and 36 deletions
+5 -5
View File
@@ -85,13 +85,13 @@
},
"bot": {
"bot_tip_title": "Bots can send messages to channels.",
"bot_tip_desc": "Please note that we do not display a Bots API key again after generation. You can always generate a new API key of a Bot by clicking “Get API key” and this wont nullify the previous API key(s).",
"bot_tip_desc": "Please note that we do not display a Bots API key again after generation. You can always generate a new API key of a Bot by clicking “Add API Key” and this wont nullify the previous API key(s).",
"webhook_tip_title": "Webhooks can receive messages in a channel and should a URL provided by you.",
"webhook_tip_desc": "Please provide a webhook URL that will return 200.",
"manage": "Manage",
"manage_desc": "Disabling your account means you can recover it at any time after taking this action.",
"manage_desc": "You can delete a bot anytime, the bot user will be removed immediately and all APIs will be nullified.",
"create_title": "Create Bot",
"create_desc": "Create a bot to extend your chat",
"create_desc": "Give your bot a name. You can also add an endpoint webhook URL to receive data.",
"create_key_title": "Create Bot API Key",
"create_key_desc": "Create API Key to authenticate your communication",
"create_key_warning": "Make sure to copy the API Key now. You wont be able to see it again!",
@@ -104,8 +104,8 @@
"webhook_desc": "Please input a valid URL",
"col_avatar": "Avatar",
"col_name": "Bot Name",
"col_api_key": "Bot API Key",
"col_webhook": "Webhook URL",
"col_api_key": "API Key (Inbound Messages)",
"col_webhook": "Endpoint Webhook URL (Outbound)",
"col_opt": "Operations",
"col_key_name": "Name",
"col_key_value": "Key",
+1 -1
View File
@@ -25,7 +25,7 @@
"add": "新增",
"yes": "是的",
"remove": "删除",
"remove_user": "除用户",
"remove_user": "除用户",
"delete_channel": "删除频道",
"edit": "编辑",
"edit_msg": "编辑消息",
+4 -4
View File
@@ -83,19 +83,19 @@
},
"bot": {
"bot_tip_title": "使用机器人向频道里发送消息",
"bot_tip_desc": "Please note that we do not display a Bots API key again after generation. You can always generate a new API key of a Bot by clicking “Get API key” and this wont nullify the previous API key(s).",
"bot_tip_desc": "Please note that we do not display a Bots API key again after generation. You can always generate a new API key of a Bot by clicking “Add API Key” and this wont nullify the previous API key(s).",
"webhook_tip_title": "Webhooks can receive messages in a channel and should a URL provided by you.",
"webhook_tip_desc": "请提供一个有效的Webhook URLGET 请求响应 200即为有效。",
"manage": "管理",
"manage_desc": "Disabling your account means you can recover it at any time after taking this action.",
"manage_desc": "机器人一旦删除,所有与其相关的接口也立即失效,包括Webhook。",
"create_title": "创建机器人",
"create_desc": "Create a bot to extend your chat",
"webhook_title": "更新Webhook",
"webhook_desc": "请输入有效的URL",
"col_avatar": "头像",
"col_name": "名称",
"col_api_key": "API Key",
"col_webhook": "Webhook 地址",
"col_api_key": "密钥(用于向本Server传送信息)",
"col_webhook": "Webhook接收地址(用于接收本Server推送的信息)",
"col_opt": "操作"
},
"auto_delete_msg": {