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({
|
frappe.call({
|
||||||
method: "erpnext.education.api.mark_attendance",
|
method: "erpnext.education.api.mark_attendance",
|
||||||
freeze: true,
|
freeze: true,
|
||||||
freeze_message: "Marking attendance",
|
freeze_message: __("Marking attendance"),
|
||||||
args: {
|
args: {
|
||||||
"students_present": students_present,
|
"students_present": students_present,
|
||||||
"students_absent": students_absent,
|
"students_absent": students_absent,
|
||||||
|
@ -58,7 +58,7 @@ var create_multiple_dialog = function (listview) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
freeze: true,
|
freeze: true,
|
||||||
freeze_message: 'Creating Lab Tests...'
|
freeze_message: __('Creating Lab Tests...')
|
||||||
});
|
});
|
||||||
dialog.hide();
|
dialog.hide();
|
||||||
}
|
}
|
||||||
|
@ -220,7 +220,7 @@ var schedule_inpatient = function(frm) {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
freeze: true,
|
freeze: true,
|
||||||
freeze_message: 'Scheduling Patient Admission'
|
freeze_message: __('Scheduling Patient Admission')
|
||||||
});
|
});
|
||||||
frm.refresh_fields();
|
frm.refresh_fields();
|
||||||
dialog.hide();
|
dialog.hide();
|
||||||
|
@ -213,7 +213,7 @@ frappe.ui.form.on('Payroll Entry', {
|
|||||||
},
|
},
|
||||||
doc: frm.doc,
|
doc: frm.doc,
|
||||||
freeze: true,
|
freeze: true,
|
||||||
freeze_message: 'Validating Employee Attendance...'
|
freeze_message: __('Validating Employee Attendance...')
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
frm.fields_dict.attendance_detail_html.html("");
|
frm.fields_dict.attendance_detail_html.html("");
|
||||||
@ -237,7 +237,7 @@ const submit_salary_slip = function (frm) {
|
|||||||
callback: function() {frm.events.refresh(frm);},
|
callback: function() {frm.events.refresh(frm);},
|
||||||
doc: frm.doc,
|
doc: frm.doc,
|
||||||
freeze: true,
|
freeze: true,
|
||||||
freeze_message: 'Submitting Salary Slips and creating Journal Entry...'
|
freeze_message: __('Submitting Salary Slips and creating Journal Entry...')
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
function() {
|
function() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user