Unverified Commit d6651419 authored by hito's avatar hito Committed by GitHub
Browse files

Front end i18n (#1707)

* feat: 国际化版本

* feat: 国际化

* fix: 国际化体验修复

* fix: 国际化问题修复
parent 972053e0
No related merge requests found
Showing with 32 additions and 25 deletions
+32 -25
......@@ -1968,7 +1968,7 @@ export default {
"Container arrangement engine based on the MESOS framework"
],
"申请权限": [
"request for access"
"Request for access"
],
"前往iwiki查看": [
"Go to IWIKI to view"
......@@ -2772,5 +2772,11 @@ export default {
],
"集群Service网段": [
"Cluster service network segment"
],
"续期API密钥": [
"Renewal API key"
],
"复制示例成功": [
"Copy example success"
]
}
......@@ -473,7 +473,7 @@
<th>{{$t('版本号')}}</th>
<th>{{$t('更新时间')}}</th>
<th>{{$t('最后更新人')}}</th>
<th style="width: 128px;">{{$t('操作')}}</th>
<th style="width: 138px;">{{$t('操作')}}</th>
</tr>
</thead>
<tbody>
......
......@@ -253,7 +253,7 @@
color: #979BA5;
display: inline-block;
margin-bottom: 0;
min-width: 100px;
min-width: 120px;
}
.value {
......
......@@ -84,7 +84,7 @@
</template>
</bk-table-column>
<bk-table-column :label="$t('镜像')" prop="image"></bk-table-column>
<bk-table-column :label="$t('操作')" width="180" :resizable="false" :show-overflow-tooltip="false">
<bk-table-column :label="$t('操作')" width="200" :resizable="false" :show-overflow-tooltip="false">
<template #default="{ row }">
<bk-button text @click="handleShowTerminal(row)">WebConsole</bk-button>
<bk-popover placement="bottom" theme="light dropdown" :arrow="false" v-if="row.container_id && $INTERNAL && !isSharedCluster">
......
......@@ -15,28 +15,29 @@
<bk-input style="width: 282px;" v-model="createParams.name" :placeholder="$t('请输入')" maxlength="253" />
</div>
</div>
<div class="bk-form-item flex-item">
<div class="left">
<label class="bk-label label">
{{$t('选择Service')}}<span class="red">*</span>
<span class="tip">{{$t('选择Service以获取Label')}}</span>
</label>
<div class="bk-form-content">
<bkbcs-input style="cursor: not-allowed;" type="text" disabled :value.sync="clusterName"></bkbcs-input>
<div class="bk-form-item">
<label class="bk-label label">
{{$t('选择Service')}}<span class="red">*</span>
<span class="tip">{{$t('选择Service以获取Label')}}</span>
</label>
<div class="bk-form-content flex-item">
<div class="left">
<div class="bk-form-content">
<bkbcs-input style="cursor: not-allowed;" type="text" disabled :value.sync="clusterName"></bkbcs-input>
</div>
</div>
</div>
<div class="right">
<label class="bk-label label">&nbsp;</label>
<div class="bk-form-content">
<bk-selector
searchable
:selected.sync="createParams.displayName"
:list="serviceList"
:search-key="'displayName'"
:setting-key="'displayName'"
:display-key="'displayName'"
@item-selected="changeSelectedService">
</bk-selector>
<div class="right">
<div class="bk-form-content">
<bk-selector
searchable
:selected.sync="createParams.displayName"
:list="serviceList"
:search-key="'displayName'"
:setting-key="'displayName'"
:display-key="'displayName'"
@item-selected="changeSelectedService">
</bk-selector>
</div>
</div>
</div>
</div>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment