diff --git a/frappe/twofactor.py b/frappe/twofactor.py index 5a2799bc54..9e9a2c5d76 100644 --- a/frappe/twofactor.py +++ b/frappe/twofactor.py @@ -277,7 +277,9 @@ def get_email_subject_for_qr_code(kwargs_dict): def get_email_body_for_qr_code(kwargs_dict): """Get QRCode email body.""" - body_template = "Please click on the following link and follow the instructions on the page.

{{qrcode_link}}" + body_template = _( + "Please click on the following link and follow the instructions on the page. {0}" + ).format("

{{qrcode_link}}") body = frappe.render_template(body_template, kwargs_dict) return body