feat: add support for displaying kind 7 and kind 17 reaction events

Reactions now render with a large emoji (matching emoji-only note sizing)
and a "reacted to" preview pill linking to the target event, following
the same pattern as comment parent previews.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
codytseng 2026-04-04 14:56:04 +08:00
parent 5596e5eb7b
commit 234010c385
26 changed files with 209 additions and 29 deletions

View file

@ -666,6 +666,8 @@ export default {
'Protected event hint': '受保护的事件NIP-70只能由作者发布。服务器将拒绝来自第三方的这些事件防止他人转播你的内容。 注意:并非所有服务器都支持受保护的事件。',
'Allow insecure connections': '允许不安全的连接',
'Allow insecure connections description':
'允许加载 http:// 资源和连接 ws:// relay。可能会触发浏览器混合内容警告。'
'允许加载 http:// 资源和连接 ws:// relay。可能会触发浏览器混合内容警告。',
'reacted to': '回应了',
Reaction: '回应'
}
}