Translatable "Ctrl+enter to save" and "Edit in full window" in quick entry dialog (#2830)

Quick entry dialog window now with translatable footer notes.
This commit is contained in:
robulik 2017-03-09 06:47:07 +01:00 committed by Rushabh Mehta
parent af70ae8071
commit efaaf4aa2b

View file

@ -93,8 +93,8 @@ frappe.ui.form.quick_entry = function(doctype, success) {
}
});
var $link = $('<div class="text-muted small" style="padding-left: 10px; padding-top: 15px;">\
Ctrl+enter to save | <a class="edit-full">Edit in full page</a></div>').appendTo(dialog.body);
var $link = $('<div class="text-muted small" style="padding-left: 10px; padding-top: 15px;">' +
__("Ctrl+enter to save") + ' | <a class="edit-full">' + __("Edit in full page") + '</a></div>').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) {
});
});
}
}