fix: add strings for translation in timesheet.js (#44496)
(cherry picked from commit 6585fabdb1)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user