diff --git a/src/components/settings/ClientSettings.tsx b/src/components/settings/ClientSettings.tsx index 735f3c3..d25702d 100644 --- a/src/components/settings/ClientSettings.tsx +++ b/src/components/settings/ClientSettings.tsx @@ -6,6 +6,8 @@ import { DisplaySettings } from "./DisplaySettings"; import { KomgaSettings } from "./KomgaSettings"; import { CacheSettings } from "./CacheSettings"; import { BackgroundSettings } from "./BackgroundSettings"; +import { Tabs, TabsList, TabsTrigger, TabsContent } from "@/components/ui/tabs"; +import { Monitor, Network, HardDrive } from "lucide-react"; interface ClientSettingsProps { initialConfig: KomgaConfig | null; @@ -16,14 +18,38 @@ export function ClientSettings({ initialConfig, initialTTLConfig }: ClientSettin const { t } = useTranslate(); return ( -
+

{t("settings.title")}

-
- - - - -
+ + + + + + {t("settings.tabs.display")} + + + + {t("settings.tabs.connection")} + + + + {t("settings.tabs.cache")} + + + + + + + + + + + + + + + +
); } diff --git a/src/i18n/messages/en/common.json b/src/i18n/messages/en/common.json index 6204778..5c58755 100644 --- a/src/i18n/messages/en/common.json +++ b/src/i18n/messages/en/common.json @@ -67,6 +67,11 @@ }, "settings": { "title": "Preferences", + "tabs": { + "display": "Display", + "connection": "Connection", + "cache": "Cache" + }, "display": { "title": "Display Preferences", "description": "Customize your library display.", diff --git a/src/i18n/messages/fr/common.json b/src/i18n/messages/fr/common.json index f735147..4e8d383 100644 --- a/src/i18n/messages/fr/common.json +++ b/src/i18n/messages/fr/common.json @@ -67,6 +67,11 @@ }, "settings": { "title": "Préférences", + "tabs": { + "display": "Affichage", + "connection": "Connexion", + "cache": "Cache" + }, "display": { "title": "Préférences d'affichage", "description": "Personnalisez l'affichage de votre bibliothèque.",