2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 11731
|
|
|
|
|
// Function ID: 11732
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getItemSubtitleForMaxPlayers
|
2026-07-29 08:29:29 +00:00
|
|
|
// Dependencies: [1236, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, getItemSubtitleForMaxPlayersShort, getItemSubtitleForMaxPlayersShorter
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 11731 (getItemSubtitleForMaxPlayers)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import getSystemLocale from "getSystemLocale" /* 1236 */;
|
|
|
|
|
|
|
|
|
|
const result = set.fileFinishedImporting("modules/activities/utils/getItemSubtitleForMaxPlayers.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default function getItemSubtitleForMaxPlayers(arg0) {
|
|
|
|
|
if (arg0 > 0) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl2 = getSystemLocale.intl;
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj = { count: null };
|
|
|
|
|
obj[0] = arg0;
|
2026-08-24 06:08:38 +00:00
|
|
|
let formatToPlainStringResult = intl2.formatToPlainString(getSystemLocale.t["p/YmkR"], obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl = getSystemLocale.intl;
|
|
|
|
|
formatToPlainStringResult = intl.string(getSystemLocale.t.s1vQIL);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return formatToPlainStringResult;
|
|
|
|
|
};
|
|
|
|
|
export const getItemSubtitleForMaxPlayersShort = function getItemSubtitleForMaxPlayersShort(arg0) {
|
|
|
|
|
if (arg0 > 0) {
|
|
|
|
|
const _HermesInternal = HermesInternal;
|
|
|
|
|
let combined = "1 - " + arg0;
|
|
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl = getSystemLocale.intl;
|
|
|
|
|
combined = intl.string(getSystemLocale.t.zMNEiF);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return combined;
|
|
|
|
|
};
|
|
|
|
|
export const getItemSubtitleForMaxPlayersShorter = function getItemSubtitleForMaxPlayersShorter(arg0) {
|
|
|
|
|
if (arg0 > 0) {
|
|
|
|
|
const _HermesInternal = HermesInternal;
|
|
|
|
|
let combined = "1-" + arg0;
|
|
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl = getSystemLocale.intl;
|
|
|
|
|
combined = intl.string(getSystemLocale.t.zMNEiF);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return combined;
|
|
|
|
|
};
|