decord/source/modules/guild_badge/GuildBadgeConstants.tsx

78 lines
3 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 9554
// Function ID: 9555
2026-07-20 16:05:17 +00:00
// Name: getBadgeTooltip
2026-08-24 06:08:38 +00:00
// Dependencies: [9192, 1236, 9191, 2]
2026-07-20 16:05:17 +00:00
// Exports: getBadgeTooltip
2026-08-24 06:08:38 +00:00
// Module 9554 (getBadgeTooltip)
import set from "set" /* 2 */;
import BadgeCategory from "BadgeCategory" /* 9191 */;
import GuildVisibility from "GuildVisibility" /* 9192 */;
const result = set.fileFinishedImporting("modules/guild_badge/GuildBadgeConstants.tsx");
2026-07-20 16:05:17 +00:00
export const getBadgeTooltip = function getBadgeTooltip(arg0, arg1) {
2026-08-24 06:08:38 +00:00
if (arg1 === GuildVisibility.GuildVisibility.PUBLIC) {
2026-07-29 08:29:29 +00:00
const intl3 = tmp(1236).intl;
let stringResult = intl3.string(tmp(1236).t.op2cJ6);
2026-08-24 06:08:38 +00:00
} else if (arg1 === tmp(9192).GuildVisibility.APPLY_TO_JOIN) {
2026-07-29 08:29:29 +00:00
const intl2 = tmp(1236).intl;
stringResult = intl2.string(tmp(1236).t.YwZfbt);
2026-07-20 16:05:17 +00:00
} else {
2026-07-29 08:29:29 +00:00
const intl = tmp(1236).intl;
stringResult = intl.string(tmp(1236).t.TME4LJ);
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
if (BadgeCategory.BadgeCategory.STAFF === arg0) {
2026-07-29 08:29:29 +00:00
let obj = { tooltipTitle: null, tooltipSubtitle: null, tooltipDescription: null };
const intl14 = tmp(1236).intl;
obj[0] = intl14.string(tmp(1236).t.lMrv96);
const intl15 = tmp(1236).intl;
obj[1] = intl15.string(tmp(1236).t.lMrv96);
const intl16 = tmp(1236).intl;
obj[2] = intl16.string(tmp(1236).t.lMrv96);
2026-07-20 16:05:17 +00:00
return obj;
2026-08-24 06:08:38 +00:00
} else if (tmp(9191).BadgeCategory.VERIFIED === arg0) {
2026-07-29 08:29:29 +00:00
obj = { tooltipTitle: null, tooltipSubtitle: null, tooltipDescription: null };
const intl12 = tmp(1236).intl;
obj[0] = intl12.string(tmp(1236).t.K7iRig);
const intl13 = tmp(1236).intl;
obj[1] = intl13.string(tmp(1236).t.iCehw9);
obj[2] = stringResult;
2026-07-20 16:05:17 +00:00
return obj;
2026-08-24 06:08:38 +00:00
} else if (tmp(9191).BadgeCategory.PARTNERED === arg0) {
obj1 = { tooltipTitle: null, tooltipSubtitle: null, tooltipDescription: null };
2026-07-29 08:29:29 +00:00
const intl10 = tmp(1236).intl;
obj1[0] = intl10.string(tmp(1236).t.K7iRig);
const intl11 = tmp(1236).intl;
obj1[1] = intl11.string(tmp(1236).t.hfYfEE);
obj1[2] = stringResult;
2026-07-20 16:05:17 +00:00
return obj1;
2026-08-24 06:08:38 +00:00
} else if (tmp(9191).BadgeCategory.VERIFIED_AND_PARTNERED === arg0) {
2026-07-29 08:29:29 +00:00
const obj2 = { tooltipTitle: null, tooltipSubtitle: null, tooltipDescription: null };
const intl8 = tmp(1236).intl;
obj2[0] = intl8.string(tmp(1236).t.K7iRig);
const intl9 = tmp(1236).intl;
obj2[1] = intl9.string(tmp(1236).t["TX+iFC"]);
obj2[2] = stringResult;
2026-07-20 16:05:17 +00:00
return obj2;
2026-08-24 06:08:38 +00:00
} else if (tmp(9191).BadgeCategory.COMMUNITY === arg0) {
2026-07-29 08:29:29 +00:00
const obj3 = { tooltipTitle: null, tooltipDescription: null };
const intl7 = tmp(1236).intl;
obj3[0] = intl7.string(tmp(1236).t.K7iRig);
obj3[1] = stringResult;
2026-07-20 16:05:17 +00:00
return obj3;
2026-08-24 06:08:38 +00:00
} else if (tmp(9191).BadgeCategory.DISCOVERABLE === arg0) {
2026-07-29 08:29:29 +00:00
const obj4 = { tooltipTitle: null, tooltipDescription: null };
const intl5 = tmp(1236).intl;
obj4[0] = intl5.string(tmp(1236).t.K7iRig);
const intl6 = tmp(1236).intl;
obj4[1] = intl6.string(tmp(1236).t.op2cJ6);
2026-07-20 16:05:17 +00:00
return obj4;
} else {
2026-07-29 08:29:29 +00:00
obj = { tooltipTitle: null };
const intl4 = tmp(1236).intl;
obj[0] = intl4.string(tmp(1236).t["iZRkC/"]);
2026-07-20 16:05:17 +00:00
return obj;
}
};