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

feat(frontend): tendbcluster 和 es 部分文案国际化 #8233 #8283

Merged
merged 1 commit into from
Nov 29, 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
5 changes: 3 additions & 2 deletions dbm-ui/frontend/src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1602,12 +1602,12 @@
"迁移主从": "Migrate master-slave",
"访问入口": "Access Entry",
"部署只读接入层": "Deploy read-only proxy",
"运维spider管理": "运维节点管理/O&M Node Management",
"运维节点管理": "O&M Node",
"添加运维节点": "Add O&M nodes",
"克隆开区": "Clone and open a zone",
"开区模版": "Template for Opening a zone",
"数据查询": "Data Query",
"DB 重命名": "database rename",
"DB 重命名": "DB Rename",
"原 DB 名": "Original DB Name",
"新 DB 名": "New DB Name",
"主从互切:主机级别操作,即同机所有集群均会完成主从关系互切": "It is an operation at the host level, all clusters on the same machine will complete the mutual switchover of the master-slave relationship.",
Expand Down Expand Up @@ -1643,5 +1643,6 @@
"副本集": "ReplicaSet",
"分片集群": "Sharded Cluster",
"主从管理": "HA Management",
"DB 重命名:database 重命名": "DB Rename:database rename",
"这行勿动!新增翻译请在上一行添加!": ""
}
4 changes: 2 additions & 2 deletions dbm-ui/frontend/src/locales/zh-cn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1757,7 +1757,7 @@
"TendbCluster分布式集群实例详情name": "TendbCluster 分布式集群实例详情【{name}】",
"请输入单个源 DB 名": "请输入单个源 DB 名",
"DB 重命名": "DB 重命名",
"运维 Spider 管理": "运维 Spider 管理",
"运维节点管理": "运维节点管理",
"添加运维节点": "添加运维节点",
"数据校验修复:对集群的主库和从库进行数据一致性校验和修复,其中 MyISAM 引擎库表不会被校验和修复": "数据校验修复:对集群的主库和从库进行数据一致性校验和修复,其中 MyISAM 引擎库表不会被校验和修复",
"校验范围": "校验范围",
Expand All @@ -1781,7 +1781,7 @@
"检查业务来源的连接": "检查业务来源的连接",
"检查主从同步延迟": "检查主从同步延迟",
"检查主从数据校验结果": "检查主从数据校验结果",
" DB 名": " DB 名",
" DB 名": " DB 名",
"新 DB 名": "新 DB 名",
"DB 重命名:database 重命名": "DB 重命名:database 重命名",
"DB 实例权限克隆": "DB 实例权限克隆",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
<RenderTableHeadColumn
:min-width="100"
:width="400">
{{ t(' DB 名') }}
{{ t(' DB 名') }}
<BatchEditColumn
v-model="batchEditShow.fromDatabase"
:title="t(' DB 名')"
:title="t(' DB 名')"
type="input"
@change="(value) => handleBatchEditChange(value, 'fromDatabase')">
<span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<RenderTableHeadColumn
:min-width="100"
:width="400">
{{ t(' DB 名') }}
{{ t(' DB 名') }}
</RenderTableHeadColumn>
<RenderTableHeadColumn
:min-width="100"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
<RenderTableHeadColumn
:min-width="100"
:width="400">
{{ t(' DB 名') }}
{{ t(' DB 名') }}
<template #append>
<BatchEditColumn
v-model="batchEditShow.fromDatabase"
:title="t(' DB 名')"
:title="t(' DB 名')"
type="input"
@change="(value) => handleBatchEditChange(value, 'fromDatabase')">
<span
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export default [
],
},
{
name: t('运维 Spider 管理'),
name: t('运维节点管理'),
id: 'spider_mnt',
icon: 'db-icon-jiankong',
children: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</BkTableColumn>
<BkTableColumn
field="from_database"
:label="t(' DB 名')">
:label="t(' DB 名')">
<template #default="{ data }: { data: RowData }">
<BkTag v-if="data">
{{ data.from_database }}
Expand Down