decord/source/modules/intl/overrides/getDeviceSpecificString.tsx
2026-07-22 07:54:56 +00:00

26 lines
678 B
TypeScript

// Module ID: 7061
// Function ID: 56472
// Name: getDeviceSpecificString
// Dependencies: []
// Exports: getDeviceSpecificString
// Module 7061 (getDeviceSpecificString)
const _module = require(dependencyMap[2]);
const result = _module.fileFinishedImporting("modules/intl/overrides/getDeviceSpecificString.tsx");
export const getDeviceSpecificString = function getDeviceSpecificString(arg0, 2Yp7dF) {
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;
}
const intl = require(dependencyMap[0]).intl;
return intl.string(tmp);
};