Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4823.js (118.4 MB)
29 lines
1.1 KiB
TypeScript
29 lines
1.1 KiB
TypeScript
// Module ID: 12697
|
|
// Function ID: 12698
|
|
// Name: getGuildPowerupsBoostInfoText
|
|
// Dependencies: [4527, 1115, 2429, 2]
|
|
// Exports: getGuildPowerupsBoostInfoText
|
|
|
|
// Module 12697 (getGuildPowerupsBoostInfoText)
|
|
import util from "util" /* 1115 */;
|
|
import _modDef2429 from "module_2429" /* 2429 */;
|
|
import GuildPowerupsConstants from "GuildPowerupsConstants" /* 4527 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const BoostInfoType = GuildPowerupsConstants.BoostInfoType;
|
|
const result = size.fileFinishedImporting("modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx");
|
|
|
|
export const getGuildPowerupsBoostInfoText = function getGuildPowerupsBoostInfoText(count, type) {
|
|
if (BoostInfoType.AVAILABLE === type) {
|
|
const intl3 = util.intl;
|
|
const obj2 = { boostCount: count };
|
|
return intl3.formatToPlainString(_modDef2429.BdRXZA, obj2);
|
|
} else if (tmp.SPENT === type) {
|
|
const intl2 = util.intl;
|
|
const obj = { boostCount: count };
|
|
return intl2.formatToPlainString(_modDef2429.xvgIVG, obj);
|
|
} else if (tmp.TOTAL === type) {
|
|
const intl = util.intl;
|
|
return intl.string(_modDef2429["/F7Z2y"]);
|
|
}
|
|
};
|