mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-09 14:00:57 +08:00
This commit addresses the issue where switching to English still showed Chinese text in many UI elements. Changes made: - Added 40+ missing translation keys to translations.ts for both English and Chinese - Updated App.tsx to use t() function for all hardcoded text (logout button, loading message) - Updated AITradersPage.tsx extensively: - Replaced all alert/confirm messages with translation keys - Updated status labels (inUse, enabled, configured) - Updated all modal components (SignalSource, ModelConfig, ExchangeConfig) - Added language prop to all modal components - Replaced all Chinese UI text with translation function calls The implementation now properly supports language switching between English and Chinese throughout the entire application. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: tinkle-community <tinklefund@gmail.com>