Skip to content

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

chore: update i18n for schema migration type (#2618)

boojack3acdb13a709c
diff --git a/frontend/src/components/RepositoryForm.vue b/frontend/src/components/RepositoryForm.vue
index fd3552b8fe..49ef5581e8 100644
--- a/frontend/src/components/RepositoryForm.vue
+++ b/frontend/src/components/RepositoryForm.vue
@@ -75,7 +75,7 @@
<!-- Project schemaMigrationType selector -->
<div v-if="isDev">
<div class="textlabel">
- {{ $t("project.settings.schema-migration-type") }}
+ {{ $t("project.settings.schema-change-type") }}
<span class="text-red-600">*</span>
</div>
<BBSelect
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 070e345350..52ab6476ab 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1062,9 +1062,9 @@
"success-member-sync-prompt": "Sync member from VCS Succeeded",
"view-vcs-member": "View members in VCS",
"switch-role-provider-to-bytebase-success-prompt": "Successfully turning off VCS project membership sync.",
- "schema-migration-type": "Schema migration type",
- "select-schema-migration-type-ddl": "Data Definition Language (DDL)",
- "select-schema-migration-type-sdl": "Schema Definition Language (SDL)",
+ "schema-change-type": "Schema change type",
+ "select-schema-migration-type-ddl": "Migration-based",
+ "select-schema-migration-type-sdl": "State-based",
"schema-path-template-sdl-description": "The schema file that contains the desired state of the database schema. Bytebase creates new migrations for any discrepancy found between the desired state and the actual database schema."
},
"mode": {
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index e486a54ba7..de5cb13d82 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1062,9 +1062,9 @@
"success-member-sync-prompt": "从 VCS 同步成功",
"view-vcs-member": "在 VCS 中查看成员",
"switch-role-provider-to-bytebase-success-prompt": "成功关闭了 VCS 项目成员同步",
- "schema-migration-type": "Schema 迁移类型",
- "select-schema-migration-type-ddl": "数据定义语言(DDL)",
- "select-schema-migration-type-sdl": "Schema 定义语言(SDL)",
+ "schema-change-type": "Schema 变更类型",
+ "select-schema-migration-type-ddl": "通过指定过程 DDL 变更到期望的 Schema",
+ "select-schema-migration-type-sdl": "直接指定期望达到的 Schema",
"schema-path-template-sdl-description": "Schema 定义文件应该包括了数据库 Schema 所在的状态。Bytebase 将会为在 Schema 状态和实际数据库之间发现的任何差异创建新的迁移。"
},
"mode": {