diff --git a/healthcare/healthcare/doctype/patient/patient.js b/healthcare/healthcare/doctype/patient/patient.js index ab78fca03c..18160cee2c 100644 --- a/healthcare/healthcare/doctype/patient/patient.js +++ b/healthcare/healthcare/doctype/patient/patient.js @@ -108,7 +108,7 @@ let get_age = function (birth) { let age = new Date(); age.setTime(ageMS); let years = age.getFullYear() - 1970; - return years + ' Year(s) ' + age.getMonth() + ' Month(s) ' + age.getDate() + ' Day(s)'; + return `${years} ${__('Year(s)')} ${age.getMonth()} ${__('Month(s)')} ${age.getDate()} ${__('Day(s)')}` }; let create_vital_signs = function (frm) {