diff --git a/frappe/integrations/oauth2.py b/frappe/integrations/oauth2.py index 41f2e67b04..369539e634 100644 --- a/frappe/integrations/oauth2.py +++ b/frappe/integrations/oauth2.py @@ -115,7 +115,7 @@ def authorize(**kwargs): resp_html = frappe.render_template( "templates/includes/oauth_confirmation.html", response_html_params ) - frappe.respond_as_web_page("Confirm Access", resp_html, primary_action=None) + frappe.respond_as_web_page(frappe._("Confirm Access"), resp_html, primary_action=None) except (FatalClientError, OAuth2Error) as e: return generate_json_error_response(e) diff --git a/frappe/templates/includes/oauth_confirmation.html b/frappe/templates/includes/oauth_confirmation.html index b5b3947ceb..8e1df6c57c 100644 --- a/frappe/templates/includes/oauth_confirmation.html +++ b/frappe/templates/includes/oauth_confirmation.html @@ -7,7 +7,7 @@