Settings/i18n: rename lang-names to generic

This commit is contained in:
thislight 2024-11-20 15:35:26 +08:00
parent 0b586b17e6
commit 4c1b189ca0
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
4 changed files with 3 additions and 3 deletions

View file

@ -29,7 +29,7 @@ import { useNavigator } from "../platform/StackedRouter";
const ChooseLang: Component = () => {
const { pop } = useNavigator();
const [t] = createTranslator(
() => import("./i18n/lang-names.json"),
() => import("./i18n/generic.json"),
(code) =>
import(`./i18n/${code}.json`) as Promise<{
default: Record<string, string | undefined> & {