From f08f6ca0a9d337efff280d4d1669a41b5d9c31c2 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Thu, 2 Sep 2021 22:28:11 +0200 Subject: finish translations, force maximize --- helpers/email.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'helpers/email.js') diff --git a/helpers/email.js b/helpers/email.js index d79426c..30e95c8 100644 --- a/helpers/email.js +++ b/helpers/email.js @@ -1,4 +1,6 @@ -export const subject = 'Verification of your new Notes App account' -export const text = key => `Thank you for creating an account in Notes App.\nWe are sending you the verification code:\n\n${key}\n\nTo finish verification log in and paste this code.` -export const html = key => `

Thank you for creating an account in Notes App.
We are sending you the verification code:

${key}

To finish verification log in and paste this code.


` +import {t} from 'configs/translations' + +export const subject = l => t(l, 'mail_ver_subject') +export const text = (l, key) => `${t(l, 'mail_ver_t1')}\n${t(l, 'mail_ver_t2')}\n\n${key}\n\n${t(l, 'mail_ver_t3')}` +export const html = (l, key) => `

${t(l, 'mail_ver_t1')}
${t(l, 'mail_ver_t2')}

${key}

${t(l, 'mail_ver_t3')}


` -- cgit v1.2.3