diff --git a/index.html b/index.html index df00d31..3b77a05 100644 --- a/index.html +++ b/index.html @@ -1,5 +1,5 @@ - +
diff --git a/src/App.tsx b/src/App.tsx index 56e4328..454ccd2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,5 +1,6 @@ import { useEffect, useState, useRef } from "react"; import { Toaster } from "sonner"; +import { useTranslation } from "react-i18next"; import { platform } from "@tauri-apps/plugin-os"; import { checkAccessibilityPermission, @@ -13,6 +14,7 @@ import { Sidebar, SidebarSection, SECTIONS_CONFIG } from "./components/Sidebar"; import { useSettings } from "./hooks/useSettings"; import { useSettingsStore } from "./stores/settingsStore"; import { commands } from "@/bindings"; +import { getLanguageDirection, initializeRTL } from "@/lib/utils/rtl"; type OnboardingStep = "accessibility" | "model" | "done"; @@ -23,6 +25,7 @@ const renderSettingsContent = (section: SidebarSection) => { }; function App() { + const { i18n } = useTranslation(); const [onboardingStep, setOnboardingStep] = useState+
{t("onboarding.modelCard.accuracy")}
+
{t("onboarding.modelCard.speed")}