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:
mleku
2025-12-27 04:11:24 +02:00
parent 0c6de715c4
commit bb74308e28
30 changed files with 23 additions and 1267 deletions

View File

@@ -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