Move modules/translations.ts to utils/translations.ts

This commit is contained in:
redphx
2024-04-27 10:12:34 +07:00
parent fc64f0dfa7
commit 1753a2d525
18 changed files with 17 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ import { createButton, Icon, ButtonStyle, CE } from "../../utils/html";
import { BxEvent } from "../../utils/bx-event";
import { PrefKey, getPref } from "../preferences";
import { Toast } from "../../utils/toast";
import { t } from "../translation";
import { t } from "../../utils/translation";
import { LocalDb } from "../../utils/local-db";
import { KeyHelper } from "./key-helper";
import type { MkbStoredPreset } from "../../types/mkb";

View File

@@ -1,4 +1,4 @@
import { t } from "../translation";
import { t } from "../../utils/translation";
import { SettingElementType } from "../settings";
import { GamepadKey, MouseButtonCode, MouseMapTo, MkbPresetKey } from "./definitions";
import { MkbHandler } from "./mkb-handler";

View File

@@ -1,6 +1,6 @@
import { GamepadKey } from "./definitions";
import { CE, createButton, ButtonStyle } from "../../utils/html";
import { t } from "../translation";
import { t } from "../../utils/translation";
import { Dialog } from "../dialog";
import { getPref, setPref, PrefKey } from "../preferences";
import { MkbPresetKey, GamepadKeyName } from "./definitions";