mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-08-26 12:17:14 +00:00
feat(bots): refine event binding editor UI and i18n
- Move conditions toggle between event select and arrow; drop "IF" label - Remove "all events" (*) option from event select - Add i18n labels for concrete event names (zh/en/ja) via bots.eventNames - Narrow fallback event set to message.received for adapters without declared supported_events (legacy adapters only emit message.received) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
committed by
huanghuoguoguo
parent
a275740fbd
commit
8aedb57340
@@ -372,6 +372,23 @@ const zhHans = {
|
||||
eventCustom: '自定义事件',
|
||||
eventWildcard: '全部事件',
|
||||
eventNamespaceWildcard: '{{namespace}}.*',
|
||||
eventNames: {
|
||||
message_received: '收到消息',
|
||||
message_edited: '消息被编辑',
|
||||
message_deleted: '消息被删除',
|
||||
message_reaction: '消息表态',
|
||||
feedback_received: '收到反馈',
|
||||
friend_request_received: '收到好友请求',
|
||||
friend_added: '好友添加成功',
|
||||
group_member_joined: '成员加入群组',
|
||||
group_member_left: '成员离开群组',
|
||||
group_member_banned: '成员被封禁',
|
||||
bot_invited_to_group: '机器人被邀入群',
|
||||
bot_removed_from_group: '机器人被移出群',
|
||||
bot_muted: '机器人被禁言',
|
||||
bot_unmuted: '机器人被解除禁言',
|
||||
platform_specific: '平台特定事件',
|
||||
},
|
||||
conditions: '触发条件',
|
||||
conditionsDescription: '满足所有条件时才触发此绑定,不添加则无条件触发。',
|
||||
conditionsEmpty: '无条件,始终触发。',
|
||||
|
||||
Reference in New Issue
Block a user