mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-19 14:43:29 +09:00
i18nUtils renamed with languageParser
This commit is contained in:
@@ -3,8 +3,11 @@ import Logo from "@/components/Logo.astro";
|
||||
import Social from "@/components/Social.astro";
|
||||
import config from "@/config/config.json";
|
||||
import social from "@/config/social.json";
|
||||
import { slugSelector } from "@/lib/languageParser.astro";
|
||||
import { getLangFromUrl, getTranslations } from "@/lib/utils/i18nUtils";
|
||||
import {
|
||||
getLangFromUrl,
|
||||
getTranslations,
|
||||
slugSelector,
|
||||
} from "@/lib/utils/languageParser";
|
||||
import { markdownify } from "@/lib/utils/textConverter";
|
||||
import type { ContentEntryMap } from "astro:content";
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
import { slugSelector } from "@/lib/languageParser.astro";
|
||||
import { getLangFromUrl } from "@/lib/utils/i18nUtils";
|
||||
import { getLangFromUrl, slugSelector } from "@/lib/utils/languageParser";
|
||||
import { humanize } from "@/lib/utils/textConverter";
|
||||
|
||||
const { tags, categories, allCategories } = Astro.props;
|
||||
|
||||
Reference in New Issue
Block a user