decord/source/modules/intl/overrides/getDeviceSpecificString.tsx

25 lines
649 B
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 6135
// Function ID: 6136
2026-07-20 16:05:17 +00:00
// Name: getDeviceSpecificString
2026-07-29 08:29:29 +00:00
// Dependencies: [1236, 1577, 2]
2026-07-20 16:05:17 +00:00
// Exports: getDeviceSpecificString
2026-07-29 08:29:29 +00:00
// Module 6135 (getDeviceSpecificString)
2026-07-23 10:11:24 +00:00
const result = require("set").fileFinishedImporting("modules/intl/overrides/getDeviceSpecificString.tsx");
2026-07-20 16:05:17 +00:00
2026-07-23 10:11:24 +00:00
export const getDeviceSpecificString = function getDeviceSpecificString(arg0, _2Yp7dF) {
2026-07-20 16:05:17 +00:00
let str = null;
if (obj.isMetaQuest()) {
str = "quest";
}
2026-07-29 08:29:29 +00:00
let tmp3 = null;
2026-07-20 16:05:17 +00:00
if (null != str) {
2026-07-29 08:29:29 +00:00
tmp3 = arg0[str];
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (tmp3 == null) {
tmp3 = _2Yp7dF;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(tmp3);
2026-07-20 16:05:17 +00:00
};