Merge pull request #28141 from cogk/fix-translate-oauth-confirmation-details
fix: Translate OAuth confirmation details
This commit is contained in:
commit
ad9e237e08
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<div class="panel-body">
|
||||
<ul>
|
||||
{% for dtl in details %}
|
||||
<li>{{ dtl.title() }}</li>
|
||||
<li>{{ _(dtl.title()) }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
<div class="action-buttons d-flex">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue