2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 12697
|
|
|
|
|
// Function ID: 12698
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getGuildPowerupsBoostInfoText
|
2026-09-16 07:03:15 +00:00
|
|
|
// Dependencies: [4527, 1115, 2429, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGuildPowerupsBoostInfoText
|
|
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 12697 (getGuildPowerupsBoostInfoText)
|
2026-09-15 14:23:42 +00:00
|
|
|
import util from "util" /* 1115 */;
|
|
|
|
|
import _modDef2429 from "module_2429" /* 2429 */;
|
2026-09-16 07:03:15 +00:00
|
|
|
import GuildPowerupsConstants from "GuildPowerupsConstants" /* 4527 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const BoostInfoType = GuildPowerupsConstants.BoostInfoType;
|
|
|
|
|
const result = size.fileFinishedImporting("modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getGuildPowerupsBoostInfoText = function getGuildPowerupsBoostInfoText(count, type) {
|
|
|
|
|
if (BoostInfoType.AVAILABLE === type) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl3 = util.intl;
|
|
|
|
|
const obj2 = { boostCount: count };
|
2026-09-15 14:23:42 +00:00
|
|
|
return intl3.formatToPlainString(_modDef2429.BdRXZA, obj2);
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SPENT === type) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl2 = util.intl;
|
|
|
|
|
const obj = { boostCount: count };
|
2026-09-15 14:23:42 +00:00
|
|
|
return intl2.formatToPlainString(_modDef2429.xvgIVG, obj);
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.TOTAL === type) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
2026-09-15 14:23:42 +00:00
|
|
|
return intl.string(_modDef2429["/F7Z2y"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|