decord/source/modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx
2026-08-27 16:17:25 +00:00

31 lines
1.2 KiB
TypeScript

// Module ID: 12033
// Function ID: 12034
// Name: getGuildPowerupsBoostInfoText
// Dependencies: [4332, 1236, 2401, 2]
// Exports: getGuildPowerupsBoostInfoText
// Module 12033 (getGuildPowerupsBoostInfoText)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
import messagesProxyDefault from "messagesProxy" /* 2401 */;
import BoostedGuildTiers from "BoostedGuildTiers" /* 4332 */;
const BoostInfoType = BoostedGuildTiers.BoostInfoType;
const result = set.fileFinishedImporting("modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx");
export const getGuildPowerupsBoostInfoText = function getGuildPowerupsBoostInfoText(count, type) {
if (BoostInfoType.AVAILABLE === type) {
const intl3 = getSystemLocale.intl;
let obj = { boostCount: null };
obj[0] = count;
return intl3.formatToPlainString(messagesProxyDefault.BdRXZA, obj);
} else if (tmp.SPENT === type) {
const intl2 = getSystemLocale.intl;
obj = { boostCount: null };
obj[0] = count;
return intl2.formatToPlainString(messagesProxyDefault.xvgIVG, obj);
} else if (tmp.TOTAL === type) {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["/F7Z2y"]);
}
};