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
This commit is contained in:
parent
b2fccc1d05
commit
bcb49e59e7
@ -140,7 +140,7 @@ education.StudentsEditor = Class.extend({
|
||||
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 @@ education.StudentsEditor = Class.extend({
|
||||
</div>`
|
||||
);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
@ -58,7 +58,7 @@ var create_multiple_dialog = function (listview) {
|
||||
}
|
||||
},
|
||||
freeze: true,
|
||||
freeze_message: 'Creating Lab Tests...'
|
||||
freeze_message: __('Creating Lab Tests...')
|
||||
});
|
||||
dialog.hide();
|
||||
}
|
||||
|
@ -220,7 +220,7 @@ var schedule_inpatient = function(frm) {
|
||||
}
|
||||
},
|
||||
freeze: true,
|
||||
freeze_message: 'Scheduling Patient Admission'
|
||||
freeze_message: __('Scheduling Patient Admission')
|
||||
});
|
||||
frm.refresh_fields();
|
||||
dialog.hide();
|
||||
|
@ -213,7 +213,7 @@ frappe.ui.form.on('Payroll Entry', {
|
||||
},
|
||||
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 @@ const submit_salary_slip = function (frm) {
|
||||
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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user