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

@@ -3,7 +3,7 @@ import { CE, createButton, Icon, ButtonStyle } from "../../utils/html";
import { getPreferredServerRegion } from "../../utils/region";
import { UserAgent, UserAgentProfile } from "../../utils/user-agent";
import { getPref, Preferences, PrefKey, setPref, toPrefElement } from "../preferences";
import { t, refreshCurrentLocale } from "../translation";
import { t, refreshCurrentLocale } from "../../utils/translation";
const SETTINGS_UI = {
'Better xCloud': {

View File

@@ -3,7 +3,7 @@ import { createButton, Icon, ButtonStyle } from "../../utils/html";
import { getPreferredServerRegion } from "../../utils/region";
import { PrefKey, getPref } from "../preferences";
import { RemotePlay } from "../remote-play";
import { t } from "../translation";
import { t } from "../../utils/translation";
import { setupSettingsUi } from "./global-settings";

View File

@@ -7,7 +7,7 @@ import { getPref, PrefKey, toPrefElement } from "../preferences";
import { setupScreenshotButton } from "../screenshot";
import { StreamStats } from "../stream/stream-stats";
import { TouchController } from "../touch-controller";
import { t } from "../translation";
import { t } from "../../utils/translation";
import { VibrationManager } from "../vibration-manager";