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:
parent
af70ae8071
commit
efaaf4aa2b
1 changed files with 3 additions and 3 deletions
|
|
@ -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) {
|
|||
});
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue