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

16
src/types/index.d.ts vendored
View File

@@ -142,22 +142,6 @@ export type TEmoji = {
url: string
}
export type TTranslationAccount = {
pubkey: string
api_key: string
balance: number
}
export type TTranslationServiceConfig =
| {
service: 'smesh'
}
| {
service: 'libre_translate'
server?: string
api_key?: string
}
export type TMediaUploadServiceConfig =
| {
type: 'nip96'