44 lines
1.5 KiB
TypeScript
44 lines
1.5 KiB
TypeScript
// Module ID: 12146
|
|
// Function ID: 12147
|
|
// Name: getItemSubtitleForMaxPlayers
|
|
// Dependencies: [1114, 2]
|
|
// Exports: default, getItemSubtitleForMaxPlayersShort, getItemSubtitleForMaxPlayersShorter
|
|
|
|
// Module 12146 (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;
|
|
};
|