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

28 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-15 05:55:55 +00:00
// Module ID: 11723
// Function ID: 11724
2026-07-20 16:05:17 +00:00
// Name: getGuildPowerupsBoostInfoText
2026-08-15 05:55:55 +00:00
// Dependencies: [4262, 1236, 2367, 2]
2026-07-20 16:05:17 +00:00
// Exports: getGuildPowerupsBoostInfoText
2026-08-15 05:55:55 +00:00
// Module 11723 (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-08-15 05:55:55 +00:00
return intl3.formatToPlainString(importDefault(2367).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-08-15 05:55:55 +00:00
return intl2.formatToPlainString(importDefault(2367).xvgIVG, obj);
2026-07-29 08:29:29 +00:00
} else if (tmp.TOTAL === type) {
const intl = require(1236) /* getSystemLocale */.intl;
2026-08-15 05:55:55 +00:00
return intl.string(importDefault(2367)["/F7Z2y"]);
2026-07-20 16:05:17 +00:00
}
};