mirror of
https://github.com/Ku6epXBOCTuK/easy-png-tools.git
synced 2026-09-15 05:56:36 +00:00
refactor: change v1 to import own copy of i18n
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
<script lang="ts">
|
||||
import { resolve } from "$app/paths";
|
||||
import favicon from "$lib/assets/favicon.svg";
|
||||
import { LOCALES, type Locale } from "$lib/i18n/dict";
|
||||
import { getLocale, initLocale, setLocale } from "$lib/i18n/locale.svelte";
|
||||
import { t } from "$lib/i18n/t";
|
||||
import { LOCALES, type Locale } from "$lib/v1/i18n/dict";
|
||||
import { getLocale, initLocale, setLocale } from "$lib/v1/i18n/locale.svelte";
|
||||
import { t } from "$lib/v1/i18n/t";
|
||||
import { getTheme, initTheme, setTheme } from "$lib/theme.svelte";
|
||||
import { onMount } from "svelte";
|
||||
import "../../app_v1.css";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { t } from "$lib/i18n/t";
|
||||
import { toolTitle } from "$lib/i18n/tool-strings";
|
||||
import { t } from "$lib/v1/i18n/t";
|
||||
import { toolTitle } from "$lib/v1/i18n/tool-strings";
|
||||
import ToolPage from "$lib/v1/components/ToolPage.svelte";
|
||||
import ToolSearch from "$lib/v1/components/search/ToolSearch.svelte";
|
||||
import Button from "$lib/v1/components/ui/Button.svelte";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { resolve } from "$app/paths";
|
||||
import { t } from "$lib/i18n/t";
|
||||
import { toolDescription, toolTitle } from "$lib/i18n/tool-strings";
|
||||
import { t } from "$lib/v1/i18n/t";
|
||||
import { toolDescription, toolTitle } from "$lib/v1/i18n/tool-strings";
|
||||
import { CATEGORIES } from "$lib/v1/categories";
|
||||
import ToolCard from "$lib/v1/components/search/ToolCard.svelte";
|
||||
import { TOOLS } from "$lib/v1/registry";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { t } from "$lib/i18n/t";
|
||||
import { toolDescription, toolTitle } from "$lib/i18n/tool-strings";
|
||||
import { t } from "$lib/v1/i18n/t";
|
||||
import { toolDescription, toolTitle } from "$lib/v1/i18n/tool-strings";
|
||||
import ToolPage from "$lib/v1/components/ToolPage.svelte";
|
||||
import { getTool } from "$lib/v1/registry";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { t } from "$lib/i18n/t";
|
||||
import { t } from "$lib/v1/i18n/t";
|
||||
import { getTool, TOOLS } from "$lib/v1/registry";
|
||||
import { error } from "@sveltejs/kit";
|
||||
import type { EntryGenerator, PageLoad } from "./$types";
|
||||
|
||||
Reference in New Issue
Block a user