decord/source/7056_getDeviceSpecificString.js
2026-07-20 16:05:17 +00:00

26 lines
678 B
JavaScript

// Module ID: 7056
// Function ID: 56438
// Name: getDeviceSpecificString
// Dependencies: []
// Exports: getDeviceSpecificString
// Module 7056 (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);
};