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

28 lines
682 B
TypeScript
Raw Normal View History

// Module ID: 7926
// Function ID: 7927
// Name: getDeviceSpecificString
// Dependencies: [1114, 1608, 2]
// Exports: getDeviceSpecificString
// Module 7926 (getDeviceSpecificString)
import util from "util" /* 1114 */;
import size from "module_2" /* 2 */;
const result = size.fileFinishedImporting("modules/intl/overrides/getDeviceSpecificString.tsx");
export const getDeviceSpecificString = function getDeviceSpecificString(arg0, _2Yp7dF) {
let str = null;
if (obj.isMetaQuest()) {
str = "quest";
}
let tmp3 = null;
if (null != str) {
tmp3 = arg0[str];
}
if (tmp3 == null) {
tmp3 = _2Yp7dF;
}
const intl = util.intl;
return intl.string(tmp3);
};