From 171ff3ba4c8c4d3cb5f23dd1ed6bf8df2f845e6c Mon Sep 17 00:00:00 2001 From: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com> Date: Fri, 26 Nov 2021 19:16:40 +0530 Subject: [PATCH] fix: Make strings translatable --- frappe/public/js/frappe/form/form_tour.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frappe/public/js/frappe/form/form_tour.js b/frappe/public/js/frappe/form/form_tour.js index 84c7afdef4..7fefb59ac6 100644 --- a/frappe/public/js/frappe/form/form_tour.js +++ b/frappe/public/js/frappe/form/form_tour.js @@ -55,9 +55,9 @@ frappe.ui.form.FormTour = class FormTour { include_name_field() { const name_step = { - "description": `Enter a name for this ${this.frm.doctype}`, + "description": __("Enter a name for this {0}", [this.frm.doctype]), "fieldname": "__newname", - "title": "Name", + "title": __("Document Name"), "position": "right", "is_table_field": 0 };