decord/source/modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx

28 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 11645
// Function ID: 11646
2026-07-20 16:05:17 +00:00
// Name: getGuildPowerupsBoostInfoText
2026-07-29 08:29:29 +00:00
// Dependencies: [4077, 1236, 2255, 2]
2026-07-20 16:05:17 +00:00
// Exports: getGuildPowerupsBoostInfoText
2026-07-29 08:29:29 +00:00
// Module 11645 (getGuildPowerupsBoostInfoText)
2026-07-23 10:11:24 +00:00
import { BoostInfoType } from "BoostedGuildTiers";
const result = require("messagesProxy").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-07-29 08:29:29 +00:00
const intl3 = require(1236) /* getSystemLocale */.intl;
let obj = { boostCount: null };
obj[0] = count;
return intl3.formatToPlainString(importDefault(2255).BdRXZA, obj);
} else if (tmp.SPENT === type) {
const intl2 = require(1236) /* getSystemLocale */.intl;
obj = { boostCount: null };
obj[0] = count;
return intl2.formatToPlainString(importDefault(2255).xvgIVG, obj);
} else if (tmp.TOTAL === type) {
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(importDefault(2255)["/F7Z2y"]);
2026-07-20 16:05:17 +00:00
}
};