fix: add strings for translation in timesheet.js (#44496)

(cherry picked from commit 6585fabdb1)
This commit is contained in:
mahsem
2024-12-04 08:35:48 +01:00
committed by Mergify
parent 3e2bc139ab
commit 106671a414

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");
}
});