Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: V7.2 外发前整体特性验收修复 #1501

Merged
merged 3 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions webfe/package_vue/src/components/authentication-info.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</span>
</template>
</bk-table-column>
<bk-table-column :label="$t('操作')" :width="120">
<bk-table-column :label="$t('操作')" :width="localLanguage === 'en' ? 150 : 120">
<template slot-scope="props">
<a
v-bk-tooltips.light="disabledTooltipsConfig"
Expand Down Expand Up @@ -287,7 +287,7 @@
:disabled="!option.enabled"
>
<span>{{ option.bk_app_secret }}</span>
({{ option.enabled ? $t('创建时间:') + smartTime(option.created_at, 'smartShorten') : $t('已禁用') }})
({{ option.enabled ? `${$t('创建时间')}: ` + smartTime(option.created_at, 'smartShorten') : $t('已禁用') }})
</bk-option>
<div
slot="extension"
Expand Down Expand Up @@ -423,6 +423,9 @@ export default {
isAddNewSecret() {
return this.appSecretList.length < 2;
},
localLanguage() {
return this.$store.state.localLanguage;
},
},
watch: {
appCode() {
Expand Down
8 changes: 5 additions & 3 deletions webfe/package_vue/src/language/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ export default {
申请记录: 'APP Record',
基本信息: 'Basic Information',
'基本信息-title': 'Basic information',
'应用名称等基本信息请在“app.yaml”文件中配置': 'For basic information such as the APP name, please configure it in the "app.yaml" file',
'应用名称等基本信息请在应用描述文件 app_desc.yaml 中配置': 'Please configure basic information such as the application name in the application description file app_desc.yaml',
'管理员、开发者和运营者可以修改应用名称等基本信息': 'Administrators, developers and operators can modify basic information such as the APP name',
应用logo: 'APP logo',
更换图片: 'Change',
Expand Down Expand Up @@ -1516,7 +1516,7 @@ export default {
'网关负责人可以对API 资源进行创建、开放、关闭等操作,并且支持YAML、JSON格式批量导入。': 'The gateway owner can create, open and close API resources, and supports batch import in YAML and JSON formats.',
网关认证: 'Gateway Authentication',
'集成鉴权体系,支持对蓝鲸应用和用户进行身份认证,获取蓝鲸应用和用户身份信息。': 'Integrated authentication system to support the authentication of APP and users and to obtain information on the identity of BlueKing APP and users.',
流量控制: 'Flow control',
流量控制: 'Flow Control',
'支持在网关或 API 资源层面进行流量控制。': 'Support for traffic control at the gateway or API resource level.',
安全防护: 'Security',
'支持 SSL 加密,并支持采用 JWT 向后端接口传递应用/用户信息。': 'Supports SSL encryption and the use of JWT to pass APP/user information to the back-end interface.',
Expand Down Expand Up @@ -2133,7 +2133,7 @@ export default {
'生产环境-label': 'Production Env',
'生产环境-desc': 'Prod',
产品文档: 'Documentation',
开源社区: 'Open Rource Community',
开源社区: 'Open Source',
'迁移应用【{name}】到新版开发者中心': 'Migrate APP [{name}] to the new version of the developer center',
'(生产环境 )': '(prod)',
'(预发布环境)': '(stag)',
Expand Down Expand Up @@ -2717,4 +2717,6 @@ export default {
'是否忽略 {n} 模块闲置提醒?': 'Ignore the idle reminder for {n} modules?',
'忽略后,该模块的': 'After ignoring, the',
'将在 6 个月内不出现在闲置应用列表中,若 6 个月后继续闲置,将重新提醒。': 'of this module will not appear in the idle application list for 6 months. If it remains idle after 6 months, you will be reminded again.',
平台内置地址: 'Built-in Platform Address',
自定义地址: 'Custom Address',
};
4 changes: 3 additions & 1 deletion webfe/package_vue/src/language/lang/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ export default {
申请记录: '申请记录',
基本信息: '基本信息',
'基本信息-title': '基本信息',
'应用名称等基本信息请在“app.yaml”文件中配置': '应用名称等基本信息请在“app.yaml”文件中配置',
'应用名称等基本信息请在应用描述文件 app_desc.yaml 中配置': '应用名称等基本信息请在应用描述文件 app_desc.yaml 中配置',
'管理员、开发者和运营者可以修改应用名称等基本信息': '管理员、开发者和运营者可以修改应用名称等基本信息',
应用logo: '应用logo',
更换图片: '更换图片',
Expand Down Expand Up @@ -2855,4 +2855,6 @@ export default {
'是否忽略 {n} 模块闲置提醒?': '是否忽略 {n} 模块闲置提醒?',
'忽略后,该模块的': '忽略后,该模块的',
'将在 6 个月内不出现在闲置应用列表中,若 6 个月后继续闲置,将重新提醒。': '将在 6 个月内不出现在闲置应用列表中,若 6 个月后继续闲置,将重新提醒。',
平台内置地址: '平台内置地址',
自定义地址: '自定义地址',
};
Loading