From ede927f03e12dff4643f60ee478c366e9b346fda Mon Sep 17 00:00:00 2001 From: Suraj Shetty Date: Wed, 15 Dec 2021 17:39:13 +0530 Subject: [PATCH] fix: Make description translatable --- frappe/public/js/frappe/form/form.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frappe/public/js/frappe/form/form.js b/frappe/public/js/frappe/form/form.js index a96e09d1f1..d96eb883c5 100644 --- a/frappe/public/js/frappe/form/form.js +++ b/frappe/public/js/frappe/form/form.js @@ -140,39 +140,39 @@ frappe.ui.form.Form = class FrappeForm { let grid_shortcut_keys = [ { 'shortcut': 'Up Arrow', - 'description': 'Move cursor to above row' + 'description': __('Move cursor to above row') }, { 'shortcut': 'Down Arrow', - 'description': 'Move cursor to below row' + 'description': __('Move cursor to below row') }, { 'shortcut': 'tab', - 'description': 'Move cursor to next column' + 'description': __('Move cursor to next column') }, { 'shortcut': 'shift+tab', - 'description': 'Move cursor to previous column' + 'description': __('Move cursor to previous column') }, { 'shortcut': 'Ctrl+up', - 'description': 'Add a row at above the current row' + 'description': __('Add a row at above the current row') }, { 'shortcut': 'Ctrl+down', - 'description': 'Add a row at below the current row' + 'description': __('Add a row at below the current row') }, { 'shortcut': 'Ctrl+shift+up', - 'description': 'Add a row on top of the table' + 'description': __('Add a row on top of the table') }, { 'shortcut': 'Ctrl+shift+down', - 'description': 'Add a row on bottom of the table' + 'description': __('Add a row on bottom of the table') }, { 'shortcut': 'shift+alt+down', - 'description': 'To duplcate current row' + 'description': __('To duplcate current row') } ];