decord/source/modules/activities/confirmActivityChangeAlert.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

50 lines
1.7 KiB
TypeScript

// Module ID: 9469
// Function ID: 9470
// Name: confirmActivityChangeModal
// Dependencies: [4130, 1921, 4681, 4865, 1233, 1901, 2]
// Exports: default
// Module 9469 (confirmActivityChangeModal)
import getSystemLocale from "getSystemLocale" /* 1233 */;
import computeChannelName from "computeChannelName" /* 4681 */;
import setDefault from "set" /* 4865 */;
import closure_3 from "markAllUserIdListsStale" /* 4130 */;
import closure_4 from "mergeGuildAvatar" /* 1921 */;
require = arg1;
const result = require("set").fileFinishedImporting("modules/activities/confirmActivityChangeAlert.tsx");
export default function confirmActivityChangeModal(name, channel) {
let str = "";
if (null != channel) {
let obj = computeChannelName;
str = obj.computeChannelName(channel, closure_4, closure_3);
}
obj = { title: null, cancelText: null, confirmText: null, onConfirm: null, onCancel: null, body: null };
const intl = getSystemLocale.intl;
obj[0] = intl.string(getSystemLocale.t.XkIWkk);
const intl2 = getSystemLocale.intl;
obj[1] = intl2.string(getSystemLocale.t["ETE/oC"]);
const intl3 = getSystemLocale.intl;
obj[2] = intl3.string(getSystemLocale.t["cY+Oob"]);
obj[3] = arg2;
obj[4] = arg3;
const intl4 = getSystemLocale.intl;
name = undefined;
if (name != null) {
name = name.name;
}
if (name == null) {
const intl5 = tmp6(1233).intl;
name = intl5.string(tmp6(1233).t.G99XFs);
}
obj = { currentApplicationName: name, currentApplicationChannelName: null };
const obj2 = setDefault;
if (tmp6Result.isNullOrEmpty(str)) {
const intl6 = tmp6(1233).intl;
str = intl6.string(tmp6(1233).t.OGUjmt);
}
obj[1] = str;
obj[5] = intl4.format(getSystemLocale.t["5/Xort"], obj);
obj2.show(obj);
};