fix: Make strings translatable

This commit is contained in:
Suraj Shetty 2021-11-26 19:16:40 +05:30 committed by GitHub
parent b60452ca18
commit 171ff3ba4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
};