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

28 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 11659
// Function ID: 11660
2026-07-20 16:05:17 +00:00
// Name: getGuildPowerupsBoostInfoText
2026-07-31 08:44:05 +00:00
// Dependencies: [4081, 1236, 2257, 2]
2026-07-20 16:05:17 +00:00
// Exports: getGuildPowerupsBoostInfoText
2026-07-31 08:44:05 +00:00
// Module 11659 (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;
2026-07-31 08:44:05 +00:00
return intl3.formatToPlainString(importDefault(2257).BdRXZA, obj);
2026-07-29 08:29:29 +00:00
} else if (tmp.SPENT === type) {
const intl2 = require(1236) /* getSystemLocale */.intl;
obj = { boostCount: null };
obj[0] = count;
2026-07-31 08:44:05 +00:00
return intl2.formatToPlainString(importDefault(2257).xvgIVG, obj);
2026-07-29 08:29:29 +00:00
} else if (tmp.TOTAL === type) {
const intl = require(1236) /* getSystemLocale */.intl;
2026-07-31 08:44:05 +00:00
return intl.string(importDefault(2257)["/F7Z2y"]);
2026-07-20 16:05:17 +00:00
}
};