48 lines
1.4 KiB
TypeScript
48 lines
1.4 KiB
TypeScript
// Module ID: 17175
|
|
// Function ID: 17176
|
|
// Name: getConsoleConnectingText
|
|
// Dependencies: [1074, 1114, 2]
|
|
// Exports: getConsoleConnectingText
|
|
|
|
// Module 17175 (getConsoleConnectingText)
|
|
import set from "set" /* 2 */;
|
|
import ME from "ME" /* 1074 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1114 */;
|
|
|
|
const PlatformTypes = ME.PlatformTypes;
|
|
const result = set.fileFinishedImporting("modules/game_console/native/getConsoleConnectingText.tsx");
|
|
|
|
export const getConsoleConnectingText = function getConsoleConnectingText(stateFromStores1, stateFromStores, arg2) {
|
|
let type;
|
|
if (stateFromStores != null) {
|
|
type = stateFromStores.type;
|
|
}
|
|
if (type == null) {
|
|
let os;
|
|
if (stateFromStores1 != null) {
|
|
os = stateFromStores1.clientInfo.os;
|
|
}
|
|
type = os;
|
|
}
|
|
if (type === PlatformTypes.XBOX) {
|
|
if (arg2) {
|
|
const intl4 = getSystemLocale.intl;
|
|
let str2 = intl4.format(getSystemLocale.t["ynEs/Y"], {});
|
|
} else {
|
|
str2 = "Xbox";
|
|
if (tmp4) {
|
|
const intl3 = getSystemLocale.intl;
|
|
str2 = intl3.string(getSystemLocale.t.UjA4HX);
|
|
}
|
|
}
|
|
} else if (arg2) {
|
|
const intl2 = getSystemLocale.intl;
|
|
let str = intl2.format(getSystemLocale.t.TZ17Bg, {});
|
|
} else {
|
|
str = "PS5";
|
|
if (tmp4) {
|
|
const intl = getSystemLocale.intl;
|
|
str = intl.string(getSystemLocale.t.QCw1oW);
|
|
}
|
|
}
|
|
};
|