2026-07-27 11:26:19 +00:00
|
|
|
// Module ID: 11582
|
|
|
|
|
// Function ID: 90031
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getGuildPowerupsBoostInfoText
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [4019, 1212, 2231, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGuildPowerupsBoostInfoText
|
|
|
|
|
|
2026-07-27 11:26:19 +00:00
|
|
|
// Module 11582 (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-23 10:11:24 +00:00
|
|
|
const intl3 = require(1212) /* getSystemLocale */.intl;
|
2026-07-20 16:05:17 +00:00
|
|
|
let obj = { boostCount: count };
|
2026-07-25 08:10:48 +00:00
|
|
|
return intl3.formatToPlainString(importDefault(2231).BdRXZA, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else if (BoostInfoType.SPENT === type) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl2 = require(1212) /* getSystemLocale */.intl;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { boostCount: count };
|
2026-07-25 08:10:48 +00:00
|
|
|
return intl2.formatToPlainString(importDefault(2231).xvgIVG, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else if (BoostInfoType.TOTAL === type) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl = require(1212) /* getSystemLocale */.intl;
|
2026-07-25 08:10:48 +00:00
|
|
|
return intl.string(importDefault(2231)["/F7Z2y"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|