diff --git a/app/components/sd/sd.tsx b/app/components/sd/sd.tsx index f35d0e0cd57..4f5f8696065 100644 --- a/app/components/sd/sd.tsx +++ b/app/components/sd/sd.tsx @@ -23,7 +23,6 @@ import CopyIcon from "@/app/icons/copy.svg"; import PromptIcon from "@/app/icons/prompt.svg"; import ResetIcon from "@/app/icons/reload.svg"; import { useSdStore } from "@/app/store/sd"; -import locales from "@/app/locales"; import LoadingIcon from "@/app/icons/three-dots.svg"; import ErrorIcon from "@/app/icons/delete.svg"; import SDIcon from "@/app/icons/sd.svg"; @@ -64,14 +63,14 @@ function getSdTaskStatus(item: any) { return (
- {locales.Sd.Status.Name}: {s}
+ {Locale.Sd.Status.Name}: {s}
{item.status === "error" && (
{
showModal({
- title: locales.Sd.Detail,
+ title: Locale.Sd.Detail,
children: (
- {locales.SdPanel.Prompt}:{" "}
+ {Locale.SdPanel.Prompt}:{" "}
{
showModal({
- title: locales.Sd.Detail,
+ title: Locale.Sd.Detail,
children: (
- {locales.SdPanel.AIModel}: {item.model_name}
+ {Locale.SdPanel.AIModel}: {item.model_name}
{item.created_at}