Files
discord-decomp/modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx
T
2026-11-01 12:12:55 +02:00

20 lines
655 B
TypeScript

// Metro module 11645 (f11646).
import { BoostInfoType } from "../constants/GuildPowerupsConstants";
import { intl } from "../../../../intl/index.native";
import GuildPowerups_messages from "../GuildPowerups.messages";
export function getGuildPowerupsBoostInfoText(a0, a1) {
if (BoostInfoType.AVAILABLE === a1) {
return intl.formatToPlainString(GuildPowerups_messages.BdRXZA, {
boostCount: a0
});
}
if (BoostInfoType.SPENT === a1) {
return intl.formatToPlainString(GuildPowerups_messages.xvgIVG, {
boostCount: a0
});
}
if (BoostInfoType.TOTAL === a1) {
return intl.string(GuildPowerups_messages["/F7Z2y"]);
}
}