Skip to content

Commit

Permalink
feat: 调整文案
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 22875
  • Loading branch information
hyunfa committed Nov 5, 2024
1 parent 32a7d8d commit 9d6c548
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
6 changes: 4 additions & 2 deletions frontend/src/i18n/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,8 +372,10 @@ export default {
BT节点探测提示: 'After BT accelerate is enable, the transmission efficiency of the Agent\'s file distribution through the file pipeline can be greatly improved, and at the same time, the execution speed of the agent installation task can be correspondingly improved.\n\nNote: The cross-VPC network environment may occupy the dedicated line bandwidth, it is recommended to turn off BT transmission in this scenario',
启用: 'enabled',
停用: 'disabled',
启用状态按钮: 'Enable',
停用状态按钮: 'Disable',
启用状态: 'Enabled',
停用状态: 'Disabled',
启用操作: 'Enable',
停用操作: 'Disable',
稳定版本不可删除: 'Stable version cannot be deleted',
稳定版本不可停用: 'Stable version cannot be disabled',
无法查看完整Agent信息: 'There are unauthorized businesses in this "BK-Net", so the Agent information cannot be viewed completely.',
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/i18n/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,10 @@ export default {
BT节点探测提示: '开启 BT 传输后可大大提升 Agent通过文件管道进行文件分发的传输效率, 同时相应提高agent安装任务的执行速度。\n\n注:跨 VPC 网络环境可能会占用专线带宽,建议此场景下关闭 BT 传输',
启用: '启用',
停用: '停用',
启用状态按钮:'启用',
停用状态按钮:'停用',
启用状态: '启用',
停用状态: '停用',
启用操作:'启用',
停用操作:'停用',
稳定版本不可删除: '稳定版本不可删除',
稳定版本不可停用: '稳定版本不可停用',
无法查看完整Agent信息: '该「管控区域」存在无权限业务,故无法完整查看 Agent 信息。',
Expand Down
8 changes: 4 additions & 4 deletions frontend/src/views/agent/package/package-cols.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,19 +79,19 @@
:render-header="renderFilterHeader">
<template #default="{ row }">
<span :class="['tag-switch', { 'tag-enable': row.is_ready }]">
{{ row.is_ready ? $t('启用状态按钮') : $t('停用状态按钮')}}
{{ row.is_ready ? $t('启用状态') : $t('停用状态')}}
</span>
</template>
</NmColumn>
<NmColumn key="message" :label="$t('操作')" prop="message" min-width="115" fixed="right">
<template #default="{ row }">
<bk-button v-if="!row.is_ready" text theme="primary" :disabled="btnLoading[row.id]" @click="switchPkgStatus(row)">
{{ $t('启用状态按钮')}}
{{ $t('启用操作')}}
</bk-button>
<bk-popconfirm
width="320"
trigger="click"
:confirm-text="$t('停用状态按钮')"
:confirm-text="$t('停用操作')"
@confirm="switchPkgStatus(row)">
<div slot="content">
<div class="title">{{ $t('确认停用该Agent包') }}</div>
Expand All @@ -108,7 +108,7 @@
v-if="row.is_ready" text
theme="primary"
:disabled="btnLoading[row.id] || getDisable(row)">
{{ $t('停用状态按钮') }}
{{ $t('停用操作') }}
</bk-button>
</div>

Expand Down

0 comments on commit 9d6c548

Please sign in to comment.