Skip to content

Commit 638b41b

Browse files
authored
Merge pull request #120 from jumpserver/pr@v3@feat_change_hotkey
feat: chage stop button hotkey
2 parents 34adf67 + b1d3bee commit 638b41b

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

frontend/src/components/Main/Explore/QueryConsole/CodeEditor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export default {
133133
'Ctrl-Enter': (cm) => {
134134
this.onRun()
135135
},
136-
'Ctrl-C': (cm) => {
136+
'Ctrl-D': (cm) => {
137137
this.onStop()
138138
},
139139
'Ctrl-S': (cm) => {

frontend/src/i18n/lang/en-US.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const message = {
2424
},
2525
tip: {
2626
run: 'Run (Ctrl + Enter)',
27-
stop: 'Stop (Ctrl + C)',
27+
stop: 'Stop (Ctrl + D)',
2828
format: 'Format (Ctrl + L)'
2929
},
3030
option: {

frontend/src/i18n/lang/ja-JP.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const message = {
2424
},
2525
tip: {
2626
run: '実行 (Ctrl + Enter)',
27-
stop: '停止 (Ctrl + C)',
27+
stop: '停止 (Ctrl + D)',
2828
format: 'フォーマット (Ctrl + L)'
2929
},
3030
option: {

frontend/src/i18n/lang/zh-CN.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const message = {
2828
tip: {
2929
upload: '运行SQL文件',
3030
run: '运行 (Ctrl + Enter)',
31-
stop: '停止 (Ctrl + C)',
31+
stop: '停止 (Ctrl + D)',
3232
format: '格式化 (Ctrl + L)',
3333
open: '打开 (Ctrl + R)',
3434
save: '保存 (Ctrl + S)'

frontend/src/i18n/lang/zh-Hant.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const message = {
2828
tip: {
2929
upload: '運行SQL文件',
3030
run: '運行 (Ctrl + Enter)',
31-
stop: '停止 (Ctrl + C)',
31+
stop: '停止 (Ctrl + D)',
3232
format: '格式化 (Ctrl + L)',
3333
open: '打開 (Ctrl + R)',
3434
save: '保存 (Ctrl + S)'

0 commit comments

Comments
 (0)