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

26 lines
666 B
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 7065
// Function ID: 56515
2026-07-20 16:05:17 +00:00
// Name: getDeviceSpecificString
2026-07-23 10:11:24 +00:00
// Dependencies: [1212, 1553, 2]
2026-07-20 16:05:17 +00:00
// Exports: getDeviceSpecificString
2026-07-24 07:16:23 +00:00
// Module 7065 (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 tmp = _2Yp7dF;
let str = null;
if (obj.isMetaQuest()) {
str = "quest";
}
let tmp2 = null;
if (null != str) {
tmp2 = arg0[str];
}
if (null != tmp2) {
tmp = tmp2;
}
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
2026-07-20 16:05:17 +00:00
return intl.string(tmp);
};