Node.js based forum software built for the modern web
fix: translate
Barış Soner Uşaklıae65675ced86
diff --git a/src/socket.io/admin/email.js b/src/socket.io/admin/email.jsindex a22a865718..f355b8ca4b 100644--- a/src/socket.io/admin/email.js+++ b/src/socket.io/admin/email.js@@ -59,7 +59,7 @@ Email.test = async function (socket, data) {path: notification.path,subject: utils.stripHTMLTags(notification.subject || '[[notifications:new-notification]]'),intro: utils.stripHTMLTags(notification.bodyShort),- body: tx.translate(notification.bodyLong || ''),+ body: await tx.translate(notification.bodyLong || ''),notification,showUnsubscribe: true,});