2026-09-03 10:05:34 +00:00
|
|
|
// Module ID: 17011
|
|
|
|
|
// Function ID: 17012
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getConsoleConnectingText
|
2026-09-02 09:53:35 +00:00
|
|
|
// Dependencies: [673, 1233, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getConsoleConnectingText
|
|
|
|
|
|
2026-09-03 10:05:34 +00:00
|
|
|
// Module 17011 (getConsoleConnectingText)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
2026-09-02 09:53:35 +00:00
|
|
|
import ME from "ME" /* 673 */;
|
|
|
|
|
import getSystemLocale from "getSystemLocale" /* 1233 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const PlatformTypes = ME.PlatformTypes;
|
|
|
|
|
const result = set.fileFinishedImporting("modules/game_console/native/getConsoleConnectingText.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getConsoleConnectingText = function getConsoleConnectingText(stateFromStores1, stateFromStores, arg2) {
|
|
|
|
|
let type;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (stateFromStores != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
type = stateFromStores.type;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
if (type == null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
let os;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (stateFromStores1 != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
os = stateFromStores1.clientInfo.os;
|
|
|
|
|
}
|
|
|
|
|
type = os;
|
|
|
|
|
}
|
|
|
|
|
if (type === PlatformTypes.XBOX) {
|
|
|
|
|
if (arg2) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl4 = getSystemLocale.intl;
|
|
|
|
|
let str2 = intl4.format(getSystemLocale.t["ynEs/Y"], {});
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
str2 = "Xbox";
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp4) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl3 = getSystemLocale.intl;
|
|
|
|
|
str2 = intl3.string(getSystemLocale.t.UjA4HX);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
} else if (arg2) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl2 = getSystemLocale.intl;
|
|
|
|
|
let str = intl2.format(getSystemLocale.t.TZ17Bg, {});
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
str = "PS5";
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp4) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl = getSystemLocale.intl;
|
|
|
|
|
str = intl.string(getSystemLocale.t.QCw1oW);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|