forked from extern/easydiffusion
matching pre merge issue translation
This commit is contained in:
parent
b6cf6ee94a
commit
e33f3231d0
@ -6,6 +6,8 @@ import Settings from "./pages/Settings";
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { darkTheme, lightTheme } from "./styles/theme/index.css.ts";
|
import { darkTheme, lightTheme } from "./styles/theme/index.css.ts";
|
||||||
|
|
||||||
|
import './Translation/config';
|
||||||
|
|
||||||
const location = new ReactLocation();
|
const location = new ReactLocation();
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
@ -21,7 +23,8 @@ function App() {
|
|||||||
{ path: "/", element: <Home className={themeClass} /> },
|
{ path: "/", element: <Home className={themeClass} /> },
|
||||||
{ path: "/settings", element: <Settings className={themeClass} /> },
|
{ path: "/settings", element: <Settings className={themeClass} /> },
|
||||||
]}
|
]}
|
||||||
></Router>
|
>
|
||||||
|
</Router>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ import { useTranslation } from "react-i18next";
|
|||||||
|
|
||||||
export default function MakeButton() {
|
export default function MakeButton() {
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
const parallelCount = useImageCreate((state) => state.parallelCount);
|
const parallelCount = useImageCreate((state) => state.parallelCount);
|
||||||
const builtRequest = useImageCreate((state) => state.builtRequest);
|
const builtRequest = useImageCreate((state) => state.builtRequest);
|
||||||
const addNewImage = useImageQueue((state) => state.addNewImage);
|
const addNewImage = useImageQueue((state) => state.addNewImage);
|
||||||
@ -81,7 +82,7 @@ export default function MakeButton() {
|
|||||||
onClick={makeImages}
|
onClick={makeImages}
|
||||||
disabled={hasQueue}
|
disabled={hasQueue}
|
||||||
>
|
>
|
||||||
{t("make-img-btn")}
|
{t("home.make-img-btn")}
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
45
ui/frontend/dist/index.js
vendored
45
ui/frontend/dist/index.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user