55 lines
1.6 KiB
TypeScript
55 lines
1.6 KiB
TypeScript
// Module ID: 13210
|
|
// Function ID: 13211
|
|
// Name: getHeaderTextForInvite
|
|
// Dependencies: [1114, 2]
|
|
// Exports: getHeaderTextForInvite
|
|
|
|
// Module 13210 (getHeaderTextForInvite)
|
|
import set from "set" /* 2 */;
|
|
import getSystemLocale from "getSystemLocale" /* 1114 */;
|
|
|
|
const result = set.fileFinishedImporting("modules/messages/getHeaderTextForInvite.tsx");
|
|
|
|
export const getHeaderTextForInvite = function getHeaderTextForInvite(arg0) {
|
|
({ isOwnInvite, isGuest, isStage, isStream } = arg0);
|
|
({ isVoiceChannel, isHubGuild } = arg0);
|
|
const intl = getSystemLocale.intl;
|
|
const string = intl.string;
|
|
let N85DCl = getSystemLocale.t;
|
|
if (isVoiceChannel) {
|
|
if (!isOwnInvite) {
|
|
if (isStream) {
|
|
let stringResult = string(N85DCl.Mnvc3C);
|
|
} else if (isStage) {
|
|
stringResult = string(N85DCl.FdPNr5);
|
|
} else if (isGuest) {
|
|
stringResult = string(N85DCl.f4gmrf);
|
|
} else {
|
|
stringResult = string(N85DCl.H39rEY);
|
|
}
|
|
}
|
|
if (isStream) {
|
|
N85DCl = N85DCl.N85DCl;
|
|
let stringResult1 = string(N85DCl);
|
|
} else if (isStage) {
|
|
stringResult1 = string(N85DCl.TJQcNv);
|
|
} else if (isGuest) {
|
|
stringResult1 = string(N85DCl.mJyBir);
|
|
} else {
|
|
stringResult1 = string(N85DCl.lxTgP9);
|
|
}
|
|
} else if (isHubGuild) {
|
|
if (isOwnInvite) {
|
|
let stringResult2 = string(N85DCl.UxmnHx);
|
|
} else {
|
|
stringResult2 = string(N85DCl.sigPEf);
|
|
}
|
|
} else {
|
|
if (isOwnInvite) {
|
|
let stringResult3 = string(N85DCl["oU/lsl"]);
|
|
} else {
|
|
stringResult3 = string(N85DCl.BoQUFf);
|
|
}
|
|
return stringResult3;
|
|
}
|
|
};
|