2026-07-24 07:16:23 +00:00
|
|
|
// Module ID: 11614
|
|
|
|
|
// Function ID: 90303
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getGuildPowerupsBoostInfoText
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [4018, 1212, 2230, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGuildPowerupsBoostInfoText
|
|
|
|
|
|
2026-07-24 07:16:23 +00:00
|
|
|
// Module 11614 (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-23 10:11:24 +00:00
|
|
|
return intl3.formatToPlainString(importDefault(2230).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-23 10:11:24 +00:00
|
|
|
return intl2.formatToPlainString(importDefault(2230).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;
|
|
|
|
|
return intl.string(importDefault(2230)["/F7Z2y"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|