Skip to content

Commit

Permalink
feat: make report name translatable (backport #20608) (#20617)
Browse files Browse the repository at this point in the history
* feat: make report name translatable (#20608)

(cherry picked from commit cd670bf)

# Conflicts:
#	frappe/public/js/frappe/views/reports/report_view.js

* Chöre: resolve merge conflicts

---------

Co-authored-by: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
  • Loading branch information
mergify[bot] and barredterra committed Apr 7, 2023
1 parent 3769bdf commit a92e69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/views/reports/report_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ frappe.views.ReportView = class ReportView extends frappe.views.ListView {
this.filters = this.report_doc.json.filters;
this.order_by = this.report_doc.json.order_by;
this.add_totals_row = this.report_doc.json.add_totals_row;
this.page_title = this.report_name;
this.page_title = __(this.report_name);
this.page_length = this.report_doc.json.page_length || 20;
this.order_by = this.report_doc.json.order_by || 'modified desc';
this.chart_args = this.report_doc.json.chart_args;
Expand Down

0 comments on commit a92e69e

Please sign in to comment.