2026-09-10 05:38:07 +00:00
|
|
|
// Module ID: 12176
|
|
|
|
|
// Function ID: 12177
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getItemSubtitleForMaxPlayers
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1114, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default, getItemSubtitleForMaxPlayersShort, getItemSubtitleForMaxPlayersShorter
|
|
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
// Module 12176 (getItemSubtitleForMaxPlayers)
|
|
|
|
|
import util from "util" /* 1114 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/activities/utils/getItemSubtitleForMaxPlayers.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
export default function getItemSubtitleForMaxPlayers(count) {
|
|
|
|
|
if (count > 0) {
|
|
|
|
|
const intl2 = util.intl;
|
|
|
|
|
const obj = { count };
|
|
|
|
|
let formatToPlainStringResult = intl2.formatToPlainString(util.t["p/YmkR"], obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
|
|
|
|
formatToPlainStringResult = intl.string(util.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-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
|
|
|
|
combined = intl.string(util.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-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
|
|
|
|
combined = intl.string(util.t.zMNEiF);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
return combined;
|
|
|
|
|
};
|