From e62a8600f57222bd4de80f4f336c113f5b286c8f Mon Sep 17 00:00:00 2001 From: ghaddaditw <40211818-ghaddaditw@users.noreply.replit.com> Date: Sun, 8 Jun 2025 06:49:30 +0000 Subject: [PATCH] Improve settings page by adding customization options for users Implements i18next translation and theme context on SettingsPage.tsx. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ff0be73b-afdd-4747-978b-bb8301fb0a82 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9777c70b-fc38-4831-8d6b-78dfffe041b0/dd3530ea-4bd5-42ed-a7b3-376f722f9e6d.jpg --- client/src/pages/SettingsPage.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/pages/SettingsPage.tsx b/client/src/pages/SettingsPage.tsx index bef98e1..e527d56 100644 --- a/client/src/pages/SettingsPage.tsx +++ b/client/src/pages/SettingsPage.tsx @@ -18,6 +18,8 @@ import { User, Bell, Shield, Palette, Moon, Sun, Globe, Download, Trash2 } from export default function SettingsPage() { const { user, updateProfile } = useAuth(); const { toast } = useToast(); + const { t, i18n } = useTranslation(); + const { theme, toggleTheme } = useTheme(); const [loading, setLoading] = useState(false); const [profile, setProfile] = useState({ username: user?.username || "",