decord/source/modules/premium_apps/ApplicationSubscriptionSystemMessageUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

30 lines
1.2 KiB
TypeScript

// Module ID: 7995
// Function ID: 7996
// Name: getApplicationSubscriptionSystemMessageASTContent
// Dependencies: [1114, 2]
// Exports: getApplicationSubscriptionSystemMessageASTContent
// Module 7995 (getApplicationSubscriptionSystemMessageASTContent)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
const result = set.fileFinishedImporting("modules/premium_apps/ApplicationSubscriptionSystemMessageUtils.tsx");
export const getApplicationSubscriptionSystemMessageASTContent = function getApplicationSubscriptionSystemMessageASTContent(arg0) {
({ application, username, usernameOnClick } = arg0);
if (null != application) {
const intl2 = getSystemLocale.intl;
let obj = { username: null, applicationName: null, usernameOnClick: null };
obj[0] = username;
obj[1] = application.name;
obj[2] = usernameOnClick;
let formatToPartsResult = intl2.formatToParts(getSystemLocale.t.Tes5Ou, obj);
} else {
const intl = getSystemLocale.intl;
obj = { username: null, usernameOnClick: null };
obj[0] = username;
obj[1] = usernameOnClick;
formatToPartsResult = intl.formatToParts(getSystemLocale.t.PUJtgi, obj);
}
return formatToPartsResult;
};