2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 12683
|
|
|
|
|
// Function ID: 12684
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getGuildPowerupsBoostInfoText
|
2026-09-12 13:45:10 +00:00
|
|
|
// Dependencies: [4526, 1114, 2428, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGuildPowerupsBoostInfoText
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 12683 (getGuildPowerupsBoostInfoText)
|
2026-09-10 05:38:07 +00:00
|
|
|
import util from "util" /* 1114 */;
|
|
|
|
|
import _modDef2428 from "module_2428" /* 2428 */;
|
2026-09-12 13:45:10 +00:00
|
|
|
import GuildPowerupsConstants from "GuildPowerupsConstants" /* 4526 */;
|
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 };
|
|
|
|
|
return intl3.formatToPlainString(_modDef2428.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 };
|
|
|
|
|
return intl2.formatToPlainString(_modDef2428.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;
|
|
|
|
|
return intl.string(_modDef2428["/F7Z2y"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|