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