i18n support

This commit is contained in:
n4ze3m
2024-03-24 21:00:00 +05:30
parent 3143dd3490
commit 01d27fd1c2
25 changed files with 583 additions and 491 deletions

View File

@@ -16,7 +16,7 @@ import { useTranslation } from "react-i18next"
export const SettingsOllama = () => {
const [ollamaURL, setOllamaURL] = useState<string>("")
const { t } = useTranslation("option")
const { t } = useTranslation("settings")
const { data: ollamaInfo, status } = useQuery({
queryKey: ["fetchOllamURL"],