Settings/i18n: rename lang-names to generic
This commit is contained in:
parent
0b586b17e6
commit
4c1b189ca0
4 changed files with 3 additions and 3 deletions
|
@ -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> & {
|
||||
|
|
|
@ -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<string, string | undefined> & {
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue