fix: show 'Encrypted direct messages not supported' for kind 4 events (#754)

* fix: show 'Encrypted direct messages not supported' for kind 4 events (#753)

Co-authored-by: The Daniel <dmnyc@users.noreply.github.com>

* i18n: add translations for 'Encrypted direct messages not supported'

Also use kinds.EncryptedDirectMessage constant instead of magic number 4.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: The Daniel 🖖 <3638467+dmnyc@users.noreply.github.com>
Co-authored-by: The Daniel <dmnyc@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cody Tseng 2026-02-18 13:43:19 +08:00 committed by GitHub
parent 2fbbe6ce1d
commit ae8a534103
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 33 additions and 3 deletions

View file

@ -181,6 +181,7 @@ export default {
'Supported NIPs': '지원 NIP',
'Open in a': '{{a}}에서 열기',
'Cannot handle event of kind k': '{{k}} 유형의 이벤트를 처리할 수 없습니다',
'Encrypted direct messages not supported': '암호화된 다이렉트 메시지는 지원되지 않습니다',
'Sorry! The note cannot be found 😔': '죄송합니다! 해당 노트를 찾을 수 없습니다 😔',
'This user has been muted': '이 사용자는 차단되었습니다',
Wallet: '지갑',