Skip to content

Commit

Permalink
fix: 快速命令增加提示信息
Browse files Browse the repository at this point in the history
  • Loading branch information
ssongliu committed Jul 18, 2023
1 parent c62c19a commit 6aac334
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/src/lang/modules/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,8 @@ const message = {
fold: 'All contract',
batchInput: 'Batch input',
quickCommand: 'Quick command',
quickCommandHelper:
'List of frequently used commands for quick selection at the bottom of the terminal interface.',
groupDeleteHelper:
'After the group is removed, all connections in the group will be migrated to the default group. Confirm the information',
command: 'Command',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/tw.ts
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ const message = {
fold: '全部收縮',
batchInput: '批量輸入',
quickCommand: '快速命令',
quickCommandHelper: '常用命令列表用於在終端界面底部快速選擇',
groupDeleteHelper: '移除組後組內所有連接將遷移到 default 組內是否確認',
command: '命',
addHost: '添加主機',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lang/modules/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -737,6 +737,7 @@ const message = {
fold: '全部收缩',
batchInput: '批量输入',
quickCommand: '快速命令',
quickCommandHelper: '常用命令列表用於在終端界面底部快速選擇',
groupDeleteHelper: '移除组后组内所有连接将迁移到 default 组内是否确认',
command: '命',
addHost: '添加主机',
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/views/host/terminal/command/index.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<LayoutContent v-loading="loading" :title="$t('terminal.quickCommand')">
<template #prompt>
<el-alert type="info" :title="$t('terminal.quickCommandHelper')" :closable="false" />
</template>
<template #toolbar>
<el-button type="primary" @click="onCreate()">
{{ $t('commons.button.create') }}{{ $t('terminal.quickCommand') }}
Expand Down

0 comments on commit 6aac334

Please sign in to comment.