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

28 lines
708 B
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 7609
// Function ID: 7610
2026-07-20 16:05:17 +00:00
// Name: getDeviceSpecificString
2026-08-15 05:55:55 +00:00
// Dependencies: [1236, 1625, 2]
2026-07-20 16:05:17 +00:00
// Exports: getDeviceSpecificString
2026-08-24 06:08:38 +00:00
// Module 7609 (getDeviceSpecificString)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
const result = 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-08-24 06:08:38 +00:00
const intl = getSystemLocale.intl;
2026-07-29 08:29:29 +00:00
return intl.string(tmp3);
2026-07-20 16:05:17 +00:00
};