Skip to content

Commit 0ca559f

Browse files
authored
fix: 快速命令增加提示信息 (#1710)
1 parent 1fd31ff commit 0ca559f

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

frontend/src/lang/modules/en.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ const message = {
763763
fold: 'All contract',
764764
batchInput: 'Batch input',
765765
quickCommand: 'Quick command',
766+
quickCommandHelper: 'Frequently used command list for quick selection at the bottom of the terminal interface',
766767
groupDeleteHelper:
767768
'After the group is removed, all connections in the group will be migrated to the default group. Confirm the information',
768769
command: 'Command',

frontend/src/lang/modules/tw.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ const message = {
737737
fold: '全部收縮',
738738
batchInput: '批量輸入',
739739
quickCommand: '快速命令',
740+
quickCommandHelper: '常用命令列表,用於在終端界面底部快速選擇',
740741
groupDeleteHelper: '移除組後,組內所有連接將遷移到 default 組內,是否確認',
741742
command: '命令',
742743
addHost: '添加主機',

frontend/src/lang/modules/zh.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ const message = {
737737
fold: '全部收缩',
738738
batchInput: '批量输入',
739739
quickCommand: '快速命令',
740+
quickCommandHelper: '常用命令列表,用于在终端界面底部快速选择',
740741
groupDeleteHelper: '移除组后,组内所有连接将迁移到 default 组内,是否确认',
741742
command: '命令',
742743
addHost: '添加主机',

frontend/src/views/host/terminal/command/index.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<template>
22
<div>
33
<LayoutContent v-loading="loading" :title="$t('terminal.quickCommand')">
4+
<template #prompt>
5+
<el-alert type="info" :title="$t('terminal.quickCommandHelper')" :closable="false" />
6+
</template>
47
<template #toolbar>
58
<el-button type="primary" @click="onCreate()">
69
{{ $t('commons.button.create') }}{{ $t('terminal.quickCommand') }}

0 commit comments

Comments
 (0)