Skip to content

Commit

Permalink
feat(frontend): tendbcluster 和 es 部分文案国际化 #8233
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 25328
  • Loading branch information
royalpioneer committed Nov 29, 2024
1 parent ae619aa commit 42fca99
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
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

0 comments on commit 42fca99

Please sign in to comment.