decord/source/modules/activities/utils/getItemSubtitleForMaxPlayers.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

44 lines
1.5 KiB
TypeScript

// Module ID: 12150
// Function ID: 12151
// Name: getItemSubtitleForMaxPlayers
// Dependencies: [1114, 2]
// Exports: default, getItemSubtitleForMaxPlayersShort, getItemSubtitleForMaxPlayersShorter
// Module 12150 (getItemSubtitleForMaxPlayers)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
const result = set.fileFinishedImporting("modules/activities/utils/getItemSubtitleForMaxPlayers.tsx");
export default function getItemSubtitleForMaxPlayers(arg0) {
if (arg0 > 0) {
const intl2 = getSystemLocale.intl;
const obj = { count: null };
obj[0] = arg0;
let formatToPlainStringResult = intl2.formatToPlainString(getSystemLocale.t["p/YmkR"], obj);
} else {
const intl = getSystemLocale.intl;
formatToPlainStringResult = intl.string(getSystemLocale.t.s1vQIL);
}
return formatToPlainStringResult;
};
export const getItemSubtitleForMaxPlayersShort = function getItemSubtitleForMaxPlayersShort(arg0) {
if (arg0 > 0) {
const _HermesInternal = HermesInternal;
let combined = "1 - " + arg0;
} else {
const intl = getSystemLocale.intl;
combined = intl.string(getSystemLocale.t.zMNEiF);
}
return combined;
};
export const getItemSubtitleForMaxPlayersShorter = function getItemSubtitleForMaxPlayersShorter(arg0) {
if (arg0 > 0) {
const _HermesInternal = HermesInternal;
let combined = "1-" + arg0;
} else {
const intl = getSystemLocale.intl;
combined = intl.string(getSystemLocale.t.zMNEiF);
}
return combined;
};