fix: Add missing translation function (#22813)
* fix: Add missing translation function
Add missing translation function
* fix: Add missing function for translation
* fix: Add missing translation function
* fix: Add missing translation function
diff --git a/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js b/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js
index cc9607d..0384505 100644
--- a/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js
+++ b/erpnext/education/doctype/student_attendance_tool/student_attendance_tool.js
@@ -140,7 +140,7 @@
frappe.call({
method: "erpnext.education.api.mark_attendance",
freeze: true,
- freeze_message: "Marking attendance",
+ freeze_message: __("Marking attendance"),
args: {
"students_present": students_present,
"students_absent": students_absent,
@@ -180,4 +180,4 @@
</div>`
);
}
-});
\ No newline at end of file
+});
diff --git a/erpnext/healthcare/doctype/lab_test/lab_test_list.js b/erpnext/healthcare/doctype/lab_test/lab_test_list.js
index 6783bb3..b7f157c 100644
--- a/erpnext/healthcare/doctype/lab_test/lab_test_list.js
+++ b/erpnext/healthcare/doctype/lab_test/lab_test_list.js
@@ -58,7 +58,7 @@
}
},
freeze: true,
- freeze_message: 'Creating Lab Tests...'
+ freeze_message: __('Creating Lab Tests...')
});
dialog.hide();
}
diff --git a/erpnext/healthcare/doctype/patient_encounter/patient_encounter.js b/erpnext/healthcare/doctype/patient_encounter/patient_encounter.js
index edcee99..6353d19 100644
--- a/erpnext/healthcare/doctype/patient_encounter/patient_encounter.js
+++ b/erpnext/healthcare/doctype/patient_encounter/patient_encounter.js
@@ -220,7 +220,7 @@
}
},
freeze: true,
- freeze_message: 'Scheduling Patient Admission'
+ freeze_message: __('Scheduling Patient Admission')
});
frm.refresh_fields();
dialog.hide();
diff --git a/erpnext/payroll/doctype/payroll_entry/payroll_entry.js b/erpnext/payroll/doctype/payroll_entry/payroll_entry.js
index 8d35a7b..1abc869 100644
--- a/erpnext/payroll/doctype/payroll_entry/payroll_entry.js
+++ b/erpnext/payroll/doctype/payroll_entry/payroll_entry.js
@@ -213,7 +213,7 @@
},
doc: frm.doc,
freeze: true,
- freeze_message: 'Validating Employee Attendance...'
+ freeze_message: __('Validating Employee Attendance...')
});
}else{
frm.fields_dict.attendance_detail_html.html("");
@@ -237,7 +237,7 @@
callback: function() {frm.events.refresh(frm);},
doc: frm.doc,
freeze: true,
- freeze_message: 'Submitting Salary Slips and creating Journal Entry...'
+ freeze_message: __('Submitting Salary Slips and creating Journal Entry...')
});
},
function() {