v3: added localization, use global player for uploaded audio/video files

This commit is contained in:
khannurien
2026-04-03 15:29:33 +00:00
parent 378b3ffa46
commit 0ce80398a4
64 changed files with 4248 additions and 941 deletions

View File

@@ -1,12 +1,18 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import { I18nProvider } from "@lingui/react";
import App from "./App.tsx";
import { i18n, loadCatalog } from "./i18n.ts";
import "./index.css";
await loadCatalog();
createRoot(document.getElementById("root")!).render(
<StrictMode>
<App />
<I18nProvider i18n={i18n}>
<App />
</I18nProvider>
</StrictMode>,
);