This commit is contained in:
janisslsm committed 2026-11-01 12:12:55 +02:00
1 parent 1781d25a15
commit 732c0ad767
33051 files changed
+2591613 -3019689

No files matched your search

@@ -0,0 +1,28 @@
// Metro module 12608 (f12609).
import { AbortCodes } from "../../Constants";
import { intl, t } from "../../intl/index.native";
import { MAX_TOTAL_ATTACHMENT_SIZE_MB } from "../../utils/UploadUtils";
export function getAttachmentUploadAbortAlertContent(a0) {
const title = intl.string(t.B3vFdU);
if (AbortCodes.TOTAL_ATTACHMENT_SIZE_TOO_LARGE === a0) {
return {
title,
body: intl.formatToPlainString(t.DYFPg2, {
maxSizeMb: MAX_TOTAL_ATTACHMENT_SIZE_MB
})
};
}
if (AbortCodes.CLOUD_UPLOAD_NOT_FOUND === a0) {
return {
title,
body: intl.string(t.bQldfH)
};
}
if (AbortCodes.INVALID_PERMISSIONS === a0) {
return {
title,
body: intl.string(t.zl4Weq)
};
}
return null;
}