refactor: remove translation feature
Remove the translation feature including: - Translation services (Smesh API and LibreTranslate) - TranslationServiceProvider and context - TranslateButton component - Translation settings page - useTranslatedEvent hook - Translation-related types and i18n strings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,7 +20,6 @@ import Nip05 from '../Nip05'
|
||||
import NoteOptions from '../NoteOptions'
|
||||
import ParentNotePreview from '../ParentNotePreview'
|
||||
import StuffStats from '../StuffStats'
|
||||
import TranslateButton from '../TranslateButton'
|
||||
import TrustScoreBadge from '../TrustScoreBadge'
|
||||
import UserAvatar from '../UserAvatar'
|
||||
import Username from '../Username'
|
||||
@@ -112,10 +111,7 @@ export default function ReplyNote({
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center shrink-0">
|
||||
<TranslateButton event={event} className="py-0" />
|
||||
<NoteOptions event={event} className="shrink-0 [&_svg]:size-5" />
|
||||
</div>
|
||||
<NoteOptions event={event} className="shrink-0 [&_svg]:size-5" />
|
||||
</div>
|
||||
{parentEventId && (
|
||||
<ParentNotePreview
|
||||
|
||||
Reference in New Issue
Block a user