diff --git a/frappe/public/js/frappe/ui/filters/filter_list.js b/frappe/public/js/frappe/ui/filters/filter_list.js index c31949b3e9..7f79f8511a 100644 --- a/frappe/public/js/frappe/ui/filters/filter_list.js +++ b/frappe/public/js/frappe/ui/filters/filter_list.js @@ -107,8 +107,8 @@ frappe.ui.FilterGroup = class { const filters_applied = this.filters.length > 0; const button_label = filters_applied ? this.filters.length > 1 - ? __(`{0} filters`, [this.filters.length]) - : __(`{0} filter`, [this.filters.length]) + ? __("{0} filters", [this.filters.length]) + : __("{0} filter", [this.filters.length]) : __('Filter'); diff --git a/frappe/public/js/frappe/ui/group_by/group_by.js b/frappe/public/js/frappe/ui/group_by/group_by.js index 6a7155d98c..0800769466 100644 --- a/frappe/public/js/frappe/ui/group_by/group_by.js +++ b/frappe/public/js/frappe/ui/group_by/group_by.js @@ -420,7 +420,7 @@ frappe.ui.GroupBy = class { update_group_by_button() { const group_by_applied = Boolean(this.group_by_field); const button_label = group_by_applied - ? __(`Group By {0}`, [this.get_group_by_field_label()]) + ? __("Group By {0}", [this.get_group_by_field_label()]) : __('Add Group'); this.group_by_button diff --git a/frappe/public/js/frappe/widgets/chart_widget.js b/frappe/public/js/frappe/widgets/chart_widget.js index 361a135555..c1f5e6053f 100644 --- a/frappe/public/js/frappe/widgets/chart_widget.js +++ b/frappe/public/js/frappe/widgets/chart_widget.js @@ -643,9 +643,7 @@ export default class ChartWidget extends Widget { if (!this.chart_doc.last_synced_on) { return; } - let last_synced_text = __("Last synced {0}", [ - comment_when(this.chart_doc.last_synced_on) - ]); + let last_synced_text = __("Last synced {0}", [comment_when(this.chart_doc.last_synced_on)]); this.subtitle_field.html(last_synced_text); } diff --git a/frappe/website/doctype/about_us_settings/about_us_settings.js b/frappe/website/doctype/about_us_settings/about_us_settings.js index 15662a25a2..4d83cead9f 100644 --- a/frappe/website/doctype/about_us_settings/about_us_settings.js +++ b/frappe/website/doctype/about_us_settings/about_us_settings.js @@ -4,7 +4,7 @@ frappe.ui.form.on('About Us Settings', { refresh: function (frm) { frm.set_intro( - __(`Link for About Us Page is "/about".`), + __('Link for About Us Page is "/about".'), ); } });