decord/source/modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

31 lines
1.2 KiB
TypeScript

// Module ID: 12558
// Function ID: 12559
// Name: getGuildPowerupsBoostInfoText
// Dependencies: [4450, 1114, 2428, 2]
// Exports: getGuildPowerupsBoostInfoText
// Module 12558 (getGuildPowerupsBoostInfoText)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import messagesProxyDefault from "messagesProxy" /* 2428 */;
import BoostedGuildTiers from "BoostedGuildTiers" /* 4450 */;
const BoostInfoType = BoostedGuildTiers.BoostInfoType;
const result = set.fileFinishedImporting("modules/premium/powerups/utils/getGuildPowerupsBoostInfoText.tsx");
export const getGuildPowerupsBoostInfoText = function getGuildPowerupsBoostInfoText(count, type) {
if (BoostInfoType.AVAILABLE === type) {
const intl3 = getSystemLocale.intl;
let obj = { boostCount: null };
obj[0] = count;
return intl3.formatToPlainString(messagesProxyDefault.BdRXZA, obj);
} else if (tmp.SPENT === type) {
const intl2 = getSystemLocale.intl;
obj = { boostCount: null };
obj[0] = count;
return intl2.formatToPlainString(messagesProxyDefault.xvgIVG, obj);
} else if (tmp.TOTAL === type) {
const intl = getSystemLocale.intl;
return intl.string(messagesProxyDefault["/F7Z2y"]);
}
};