Merge pull request #44499 from frappe/mergify/bp/version-15-hotfix/pr-44496

fix: add strings for translation in timesheet.js (backport #44496)
This commit is contained in:
ruthra kumar
2024-12-04 16:21:10 +05:30
committed by GitHub

View File

@@ -58,10 +58,10 @@ frappe.ui.form.on("Timesheet", {
}
if (frm.doc.docstatus < 1) {
let button = "Start Timer";
let button = __("Start Timer");
$.each(frm.doc.time_logs || [], function (i, row) {
if (row.from_time <= frappe.datetime.now_datetime() && !row.completed) {
button = "Resume Timer";
button = __("Resume Timer");
}
});