refactor: Format translation strings (#24004)

* fix: translation strings

* fix: linting
This commit is contained in:
Mohammad Hasnain Mohsin Rajan
2020-11-25 15:37:54 +05:30
committed by GitHub
parent e60a62bde5
commit 90e33e53fd
6 changed files with 7 additions and 14 deletions

View File

@@ -5,8 +5,7 @@ frappe.ui.form.on('Sales Person', {
refresh: function(frm) {
if(frm.doc.__onload && frm.doc.__onload.dashboard_info) {
var info = frm.doc.__onload.dashboard_info;
frm.dashboard.add_indicator(__('Total Contribution Amount: {0}',
[format_currency(info.allocated_amount, info.currency)]), 'blue');
frm.dashboard.add_indicator(__('Total Contribution Amount: {0}', [format_currency(info.allocated_amount, info.currency)]), 'blue');
}
},