diff --git a/src/settings/Language.tsx b/src/settings/Language.tsx index c9ec4e3..825aeca 100644 --- a/src/settings/Language.tsx +++ b/src/settings/Language.tsx @@ -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 & { diff --git a/src/settings/Region.tsx b/src/settings/Region.tsx index c4b7a50..ec85e6d 100644 --- a/src/settings/Region.tsx +++ b/src/settings/Region.tsx @@ -27,7 +27,7 @@ import { useNavigator } from "../platform/StackedRouter"; const ChooseRegion: 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 & { diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx index 219052d..e879714 100644 --- a/src/settings/Settings.tsx +++ b/src/settings/Settings.tsx @@ -161,7 +161,7 @@ const Settings: Component = () => { import(`./i18n/${code}.json`) as Promise<{ default: Strings; }>, - () => import(`./i18n/lang-names.json`), + () => import(`./i18n/generic.json`), ); const { pop } = useNavigator(); const settings$ = useStore($settings); diff --git a/src/settings/i18n/lang-names.json b/src/settings/i18n/generic.json similarity index 100% rename from src/settings/i18n/lang-names.json rename to src/settings/i18n/generic.json