From efaaf4aa2b313c5bd4c3a9d613a06f410363f42b Mon Sep 17 00:00:00 2001 From: robulik Date: Thu, 9 Mar 2017 06:47:07 +0100 Subject: [PATCH] Translatable "Ctrl+enter to save" and "Edit in full window" in quick entry dialog (#2830) Quick entry dialog window now with translatable footer notes. --- frappe/public/js/frappe/form/quick_entry.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frappe/public/js/frappe/form/quick_entry.js b/frappe/public/js/frappe/form/quick_entry.js index 46c77d3b82..f935caa1ec 100644 --- a/frappe/public/js/frappe/form/quick_entry.js +++ b/frappe/public/js/frappe/form/quick_entry.js @@ -93,8 +93,8 @@ frappe.ui.form.quick_entry = function(doctype, success) { } }); - var $link = $('
\ - Ctrl+enter to save | Edit in full page
').appendTo(dialog.body); + var $link = $('
' + + __("Ctrl+enter to save") + ' | ' + __("Edit in full page") + '
').appendTo(dialog.body); $link.find('.edit-full').on('click', function() { // edit in form @@ -124,4 +124,4 @@ frappe.ui.form.quick_entry = function(doctype, success) { }); }); -} \ No newline at end of file +}