Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore(i18n): re-translate 'migration' in zh-CN (#1521)

ZhengXa69db6ecb4d3
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index d5879f02b7..a545155dfd 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -12,7 +12,7 @@
"wecom": "企业微信",
"custom": "自定义",
"overview": "概览",
- "migration-history": "迁移历史",
+ "migration-history": "变更历史",
"webhook": "Webhook",
"webhooks": "Webhook",
"key": "键值",
@@ -109,7 +109,7 @@
"confirm-and-update": "确认并更新",
"query": "查询",
"transfer": "转移",
- "migration": "迁移",
+ "migration": "变更",
"schema": "Schema",
"anomalies": "异常",
"do-not-show-again": "不再显示",
@@ -231,7 +231,7 @@
"syntax": "语法",
"compatibility": "兼容性",
"connection": "连接",
- "migration-schema": "迁移 schema",
+ "migration-schema": "变更 schema",
"sql-review": "SQL 审查",
"earliest-allowed-time": "最早执行时间"
},
@@ -240,8 +240,8 @@
"invoker": "执行者",
"started": "开始于",
"ended": "结束于",
- "view-migration": "查看迁移",
- "view-migration-history": "查看迁移历史",
+ "view-migration": "查看变更",
+ "view-migration-history": "查看变更历史",
"earliest-allowed-time-unset": "未设置",
"status": {
"running": "运行中",
@@ -466,7 +466,7 @@
},
"not-allowed-to-single-database-in-tenant-mode": "在多租户模式下无法对单个数据库{operation}",
"migration-mode": {
- "title": "迁移模式",
+ "title": "变更模式",
"normal": {
"title": "普通变更 (适用于正常大小的表)",
"description": "直接在目标表上执行 schema 变更。"
@@ -538,14 +538,14 @@
"create-migration-schema": "@:common.create@:common.migration @:{'common.schema'}",
"missing-migration-schema": "缺少@:common.migration @:common.schema",
"unable-to-connect-instance-to-check-migration-schema": "无法连接到@:{'common.instance'}以检查@:{'common.migration'} @:{'common.schema'}",
- "bytebase-relies-on-migration-schema-to-manage-version-control-based-schema-migration-for-databases-belonged-to-this-instance": "Bytebase 需要依赖「迁移 schema」来记录这个实例上的数据库 schema 迁移。如果没有设置「迁移 schema」,您无法对这个实例上的数据库进行表结构和数据变更。",
+ "bytebase-relies-on-migration-schema-to-manage-version-control-based-schema-migration-for-databases-belonged-to-this-instance": "Bytebase 需要依赖「变更 schema」来记录这个实例上的数据库 schema 变更。如果没有设置「变更 schema」,您无法对这个实例上的数据库进行表结构和数据变更。",
"please-contact-your-dba-to-configure-it": "请联系 DBA 配置。",
"please-check-the-instance-connection-info-is-correct": "请检查实例连接信息是否正确。",
"users": "用户",
"successfully-archived-instance-updatedinstance-name": "成功归档实例'{0}'。",
"successfully-restored-instance-updatedinstance-name": "成功恢复实例'{0}'。",
- "failed-to-create-migration-schema-for-instance-instance-value-name": "为实例'{0}'创建迁移schema失败。",
- "successfully-created-migration-schema-for-instance-value-name": "成功为'{0}'创建迁移Schema。",
+ "failed-to-create-migration-schema-for-instance-instance-value-name": "为实例'{0}'创建变更schema失败。",
+ "successfully-created-migration-schema-for-instance-value-name": "成功为'{0}'创建变更Schema。",
"failed-to-sync-schema-for-instance-instance-value-name": "为实例'{0}'同步 schema 失败。",
"successfully-synced-schema-for-instance-instance-value-name": "成功为实例'{0}'同步 schema 。",
"archive-instance-instance-name": "归档实例'{0}'?",
@@ -704,28 +704,28 @@
}
},
"migration-history": {
- "self": "迁移历史",
+ "self": "变更历史",
"workflow": "工作流",
"commit-info": "由 {author} 于 {time}",
- "no-schema-change": "本次迁移没有任何 Schema 的改动",
- "schema-drift": "上次迁移后的 Schema 与本次迁移前不一致",
+ "no-schema-change": "本次变更没有任何 Schema 的改动",
+ "schema-drift": "上次变更后的 Schema 与本次变更前不一致",
"before-left-schema-choice": "比较",
- "left-schema-choice-prev-history-schema": "上次迁移后",
- "left-schema-choice-current-history-schema-prev": "本次迁移前",
- "after-left-schema-choice": "和本次迁移后的 Schema",
+ "left-schema-choice-prev-history-schema": "上次变更后",
+ "left-schema-choice-current-history-schema-prev": "本次变更前",
+ "after-left-schema-choice": "和本次变更后的 Schema",
"show-diff": "显示差异",
"left-vs-right": "之前 (左) vs 当前版本 (右)",
- "schema-snapshot-after-migration": "完成这次迁移后的 schema 快照",
- "list-limit": "对于有迁移历史的数据库,我们会在下面最多列出5条记录。您可以点击数据库名称去进一步查看全部的记录。",
- "no-history-in-project": "这个项目下没有发现任何数据库有迁移历史。",
- "recording-info": "每当数据库 schema 变更时,我们便会记录下迁移历史。",
+ "schema-snapshot-after-migration": "完成这次变更后的 schema 快照",
+ "list-limit": "对于有变更历史的数据库,我们会在下面最多列出5条记录。您可以点击数据库名称去进一步查看全部的记录。",
+ "no-history-in-project": "这个项目下没有发现任何数据库有变更历史。",
+ "recording-info": "每当数据库 schema 变更时,我们便会记录下变更历史。",
"establish-baseline": "建立新的基线",
"refreshing-history": "刷新历史中 ...",
"config-instance": "配置实例",
"establish-baseline-description": "Bytebase 将用当前的 schema 作为新的基线。您应该检查当前的基线确实反映了期望的状态。 对于 VCS 工作流来说,也只有在建立起基线的前提下,才能进行数据库变更。",
"establish-database-baseline": "建立「{name}」基线",
- "instance-missing-migration-schema": "实例「{name}」缺失用于记录迁移历史的 schema。",
- "instance-bad-connection": "无法连接实例「{name}」以获取迁移历史。",
+ "instance-missing-migration-schema": "实例「{name}」缺失用于记录变更历史的 schema。",
+ "instance-bad-connection": "无法连接实例「{name}」以获取变更历史。",
"contact-dba": "请联系您的 DBA 进行配置。"
},
"database": {
@@ -816,10 +816,10 @@
"base-directory-description": "Bytebase 跟踪文件变更的根目录。如果为空,则他会跟踪整个仓库。",
"file-path-template": "文件路径模版",
"file-path-template-description": "Bytebase 仅会跟踪那些文件路径匹配模版 (相对于指定根目录)的文件。",
- "file-path-example-normal-migration": "针对普通迁移类型的文件路径样例",
- "file-path-example-baseline-migration": "针对基线迁移类型的文件路径样例",
+ "file-path-example-normal-migration": "针对普通变更类型的文件路径样例",
+ "file-path-example-baseline-migration": "针对基线变更类型的文件路径样例",
"schema-path-template": "Schema 路径模版",
- "schema-writeback-description": "如果指定,在每一次迁移之后,Bytebase 将把最新的 Schema 回写到本来触发迁移的提交分支,回写的具体路径则是相对于前面指定的根目录。如果您不希望 Bytebase 这样做,则置为空。",
+ "schema-writeback-description": "如果指定,在每一次变更之后,Bytebase 将把最新的 Schema 回写到本来触发变更的提交分支,回写的具体路径则是相对于前面指定的根目录。如果您不希望 Bytebase 这样做,则置为空。",
"schema-writeback-protected-branch": "请保证被变更的分支不是处于保护 (protected) 状态,或者仓库允许他的 maintainer 可以推送变更到保护分支。",
"if-specified": "如果指定",
"schema-path-example": "Schema 路径样例",
@@ -827,7 +827,7 @@
"sheet-path-template-description": "Bytebase 仅跟踪文件路径匹配模版 (相对于指定根目录)的文件。匹配的文件将被同步到 SQL Editor 以供使用。",
"git-provider": "Git 提供方",
"version-control-status": "@.capitalize:common.version-control 已{status}",
- "version-control-description-file-path": "数据库迁移脚本存放在 {fullPath}。为了进行一次变更,开发者需要创建一个匹配 {fullPathTemplate} 文件路径格式的迁移脚本。",
+ "version-control-description-file-path": "数据库变更脚本存放在 {fullPath}。为了进行一次变更,开发者需要创建一个匹配 {fullPathTemplate} 文件路径格式的变更脚本。",
"version-control-description-branch": "当脚本审核通过并且合并到 {branch} 分支后,Bytebase 将自动发起一条流水线来执行新的 schema 变更。",
"version-control-description-description-schema-path": "当 schema 变更完成后, Bytebase 会把变更后的最新 schema 回写到指定的 {schemaPathTemplate}。",
"restore-to-ui-workflow": "恢复到 UI 工作流",
@@ -853,7 +853,7 @@
"ui-workflow": "UI 工作流",
"ui-workflow-description": "经典的 SQL 审核工作流。开发者直接在 Bytebase 上提交一个 SQL 审核工单,然后等待被指派的 DBA 或者开发同事审核。在审核通过后,Bytebase 会进行相应的 SQL schema 变更。",
"gitops-workflow": "GitOps 工作流",
- "gitops-workflow-description": "数据库迁移脚本保存在 Git 仓库中。为了进行一次 schema 变更,开发者会创建一个迁移脚本并且提交至诸如 GitLab 这样的 VCS 进行审核。 当审核通过并且合并到配置的分支后,Bytebase 会自动开启流水线来进行新的 schema 变更。",
+ "gitops-workflow-description": "数据库变更脚本保存在 Git 仓库中。为了进行一次 schema 变更,开发者会创建一个变更脚本并且提交至诸如 GitLab 这样的 VCS 进行审核。 当审核通过并且合并到配置的分支后,Bytebase 会自动开启流水线来进行新的 schema 变更。",
"configure-gitops": "配置 Git",
"configure-gitops-success": "开启「{project}」GitOps 工作流成功",
"change-gitops-success": "变更「{project}」仓库成功"
@@ -866,7 +866,7 @@
"tooltip": "{env} 环境有 {criticalCount} 个严重异常, {highCount} 个高等级异常和 {mediumCount} 个中等级异常",
"types": {
"connection-failure": "连接失败",
- "missing-migration-schema": "缺少迁移 Schema",
+ "missing-migration-schema": "缺少变更 Schema",
"schema-drift": "Schema 偏差",
"backup-enforcement-viloation": "违反备份策略约束",
"missing-backup": "缺少备份"
@@ -996,7 +996,7 @@
},
"version-control": {
"setting": {
- "description": "Bytebase 支持 GitOps 工作流。该工作流下,数据库迁移脚本存储在版本控制系统上 (VCS),新创建的迁移脚本会自动触发对应的数据库变更。Bytebase 的所有者先在此配置 VCS,在这之后,项目的所有者就可以从所配置的 VCS 中选取他们的 Git 仓库。",
+ "description": "Bytebase 支持 GitOps 工作流。该工作流下,数据库变更脚本存储在版本控制系统上 (VCS),新创建的变更脚本会自动触发对应的数据库变更。Bytebase 的所有者先在此配置 VCS,在这之后,项目的所有者就可以从所配置的 VCS 中选取他们的 Git 仓库。",
"description-highlight": "配置 VCS 后,在付费版订阅下,Bytebase 将自动开启通过 VCS 的第三方认证登录",
"add-git-provider": {
"self": "添加 Git 提供方",
@@ -1293,7 +1293,7 @@
"instance-minimum-5": "5 ~ 无限制",
"instance-customized": "自定义",
"schema-change": "Schema 和数据变更",
- "migration-history": "迁移历史",
+ "migration-history": "变更历史",
"sql-editor": "SQL 编辑器",
"disaster-recovery": "数据灾备",
"disaster-recovery-basic": "基础",