i18nUtils renamed with languageParser

This commit is contained in:
Al Murad Uzzaman
2024-05-20 14:12:10 +06:00
parent e7da8ab6df
commit b8c4619fa3
26 changed files with 54 additions and 188 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ import ThemeSwitcher from "@/components/ThemeSwitcher.astro";
import config from "@/config/config.json";
import languages from "@/config/language.json";
import LanguageSwitcher from "@/helpers/LanguageSwitcher";
import { slugSelector } from "@/lib/languageParser.astro";
import { getLangFromUrl, getTranslations } from "@/lib/utils/i18nUtils";
import { getLangFromUrl, getTranslations, slugSelector } from "@/lib/utils/languageParser";
import type { ContentEntryMap } from "astro:content";
import { IoSearch } from "react-icons/io5";