From 8f684444d017feaea5be52e6c8880ba24c744a51 Mon Sep 17 00:00:00 2001 From: Charles-Henri Decultot Date: Fri, 12 May 2017 11:53:51 +0200 Subject: [PATCH] Correction of doctype translations in modal dialog (#3277) --- frappe/public/js/frappe/form/quick_entry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/public/js/frappe/form/quick_entry.js b/frappe/public/js/frappe/form/quick_entry.js index b3040cc1bd..2e830ce54d 100644 --- a/frappe/public/js/frappe/form/quick_entry.js +++ b/frappe/public/js/frappe/form/quick_entry.js @@ -31,7 +31,7 @@ frappe.ui.form.quick_entry = function(doctype, success) { } var dialog = new frappe.ui.Dialog({ - title: __("New {0}", [doctype]), + title: __("New {0}", [__(doctype)]), fields: mandatory, });