feat: auto delete msg

This commit is contained in:
Tristan Yang
2022-12-19 14:36:47 +08:00
parent a75f9c59b4
commit e297411d00
13 changed files with 404 additions and 5 deletions
+35
View File
@@ -7,9 +7,11 @@
"general": "General",
"overview": "Overview",
"members": "Members",
"auto_delete_msg": "Auto-delete Messages",
"user": "User",
"my_account": "My Account",
"config": "Configuration",
"bot": "Bot & Webhook",
"firebase": "Firebase",
"agora": "Agora",
"smtp": "SMTP",
@@ -36,6 +38,10 @@
"public": "Public",
"private": "Private"
},
"dm": {
"delete": "Delete User",
"delete_desc": "Are you sure want to delete this user?"
},
"overview": {
"name": "Server Name",
"desc": "Server Description",
@@ -78,6 +84,35 @@
"wechat": "Or, add WeChat for more information:"
}
},
"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).",
"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.",
"create_title": "Create Bot",
"create_desc": "Create a bot to extend your chat",
"delete_title": "Delete Bot",
"delete_desc": "Are you sure to delete the Bot?",
"webhook_title": "Update Webhook URL",
"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_opt": "Operations"
},
"auto_delete_msg": {
"title": "Delete messages sent by myself after certain time period. ",
"desc": "This will remove the messages data stored on both the server and client side.",
"off": "Off",
"30_seconds": "30 seconds",
"10_min": "10 minutes",
"1_hour": "1 hour",
"1_day": "1 day",
"1_week": "1 week"
},
"firebase": {
"enable": "Enable",
"token_url": "Token Url",
+29
View File
@@ -7,8 +7,10 @@
"general": "通用",
"overview": "概况",
"members": "成员",
"auto_delete_msg": "自动删除消息",
"my_account": "我的账号",
"config": "配置",
"bot": "机器人&Webhook",
"firebase": "Firebase",
"agora": "Agora",
"smtp": "SMTP",
@@ -80,6 +82,33 @@
"wechat": "或者,加微信了解更多:"
}
},
"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).",
"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.",
"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_opt": "操作"
},
"auto_delete_msg": {
"title": "删除我发送的消息",
"desc": "消息将在客户端和服务端彻底删除",
"off": "关闭",
"30_seconds": "30 秒",
"10_min": "10 分钟",
"1_hour": "1 小时",
"1_day": "1 天",
"1_week": "1 周"
},
"firebase": {
"enable": "开启",
"token_url": "Token 地址",