Skip to content

Commit

Permalink
fix: add strings for translation in timesheet.js (#44496)
Browse files Browse the repository at this point in the history
  • Loading branch information
mahsem authored Dec 4, 2024
1 parent e6be102 commit 6585fab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erpnext/projects/doctype/timesheet/timesheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
});

Expand Down

0 comments on commit 6585fab

Please sign in to comment.