decord/source/modules/activities/utils/getItemSubtitleForMaxPlayers.tsx
2026-08-27 16:17:25 +00:00

44 lines
1.5 KiB
TypeScript

// Module ID: 11633
// Function ID: 11634
// Name: getItemSubtitleForMaxPlayers
// Dependencies: [1236, 2]
// Exports: default, getItemSubtitleForMaxPlayersShort, getItemSubtitleForMaxPlayersShorter
// Module 11633 (getItemSubtitleForMaxPlayers)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
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;
};