Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Bk Bcs
Commits
d6651419
Unverified
Commit
d6651419
authored
3 years ago
by
hito
Committed by
GitHub
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Front end i18n (#1707)
* feat: 国际化版本 * feat: 国际化 * fix: 国际化体验修复 * fix: 国际化问题修复
parent
972053e0
i18n
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
bcs-ui/frontend/src/i18n/lang.js
+7
-1
bcs-ui/frontend/src/i18n/lang.js
bcs-ui/frontend/src/views/configuration/k8s-create/yaml-mode/index.vue
+1
-1
...nd/src/views/configuration/k8s-create/yaml-mode/index.vue
bcs-ui/frontend/src/views/crdcontroller/log_list.css
+1
-1
bcs-ui/frontend/src/views/crdcontroller/log_list.css
bcs-ui/frontend/src/views/dashboard/workload/detail/pod-detail.vue
+1
-1
...ontend/src/views/dashboard/workload/detail/pod-detail.vue
bcs-ui/frontend/src/views/metric/create.vue
+22
-21
bcs-ui/frontend/src/views/metric/create.vue
with
32 additions
and
25 deletions
+32
-25
bcs-ui/frontend/src/i18n/lang.js
+
7
-
1
View file @
d6651419
...
...
@@ -1968,7 +1968,7 @@ export default {
"
Container arrangement engine based on the MESOS framework
"
],
"
申请权限
"
:
[
"
r
equest for access
"
"
R
equest 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
"
]
}
This diff is collapsed.
Click to expand it.
bcs-ui/frontend/src/views/configuration/k8s-create/yaml-mode/index.vue
+
1
-
1
View file @
d6651419
...
...
@@ -473,7 +473,7 @@
<
th
>
{{
$t
(
'
版本号
'
)
}}
<
/th
>
<
th
>
{{
$t
(
'
更新时间
'
)
}}
<
/th
>
<
th
>
{{
$t
(
'
最后更新人
'
)
}}
<
/th
>
<
th
style
=
"
width: 1
2
8px;
"
>
{{
$t
(
'
操作
'
)
}}
<
/th
>
<
th
style
=
"
width: 1
3
8px;
"
>
{{
$t
(
'
操作
'
)
}}
<
/th
>
<
/tr
>
<
/thead
>
<
tbody
>
...
...
This diff is collapsed.
Click to expand it.
bcs-ui/frontend/src/views/crdcontroller/log_list.css
+
1
-
1
View file @
d6651419
...
...
@@ -253,7 +253,7 @@
color
:
#979BA5
;
display
:
inline-block
;
margin-bottom
:
0
;
min-width
:
1
0
0px
;
min-width
:
1
2
0px
;
}
.value
{
...
...
This diff is collapsed.
Click to expand it.
bcs-ui/frontend/src/views/dashboard/workload/detail/pod-detail.vue
+
1
-
1
View file @
d6651419
...
...
@@ -84,7 +84,7 @@
</
template
>
</bk-table-column>
<bk-table-column
:label=
"$t('镜像')"
prop=
"image"
></bk-table-column>
<bk-table-column
:label=
"$t('操作')"
width=
"
18
0"
:resizable=
"false"
:show-overflow-tooltip=
"false"
>
<bk-table-column
:label=
"$t('操作')"
width=
"
20
0"
: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"
>
...
...
This diff is collapsed.
Click to expand it.
bcs-ui/frontend/src/views/metric/create.vue
+
22
-
21
View file @
d6651419
...
...
@@ -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"
>
</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>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help