1 import { c } from 'ttag';
3 import { APPS, APPS_CONFIGURATION } from '../constants';
6 isReferralProgramLinkEnabled?: boolean;
7 referralProgramUserLink?: string;
10 export const getProtonMailSignature = ({
11 isReferralProgramLinkEnabled = false,
12 referralProgramUserLink,
15 isReferralProgramLinkEnabled && referralProgramUserLink
16 ? referralProgramUserLink
17 : 'https://proton.me/mail/home';
19 // translator: full sentence is: "Sent with Proton Mail secure email"
20 const signature = c('Info').t`Sent with <a href="${link}" target="_blank">${
21 APPS_CONFIGURATION[APPS.PROTONMAIL].name