Skip to content

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

chore: tweak rebase wording (#10518)

h3n4le3685d1cca84
diff --git a/frontend/src/components/Branch/BranchMergeView/BranchMergeView.vue b/frontend/src/components/Branch/BranchMergeView/BranchMergeView.vue
index 14162047ee..ed3651756b 100644
--- a/frontend/src/components/Branch/BranchMergeView/BranchMergeView.vue
+++ b/frontend/src/components/Branch/BranchMergeView/BranchMergeView.vue
@@ -30,6 +30,7 @@
v-if="targetBranch && headBranch && validationState?.branch"
:project="project"
:merged-branch="validationState.branch"
+ :base-branch="targetBranch"
/>
</template>
</StepTab>
diff --git a/frontend/src/components/Branch/BranchMergeView/MergeBranchStep.vue b/frontend/src/components/Branch/BranchMergeView/MergeBranchStep.vue
index 8ee7b6c4e4..a0c6b8f68c 100644
--- a/frontend/src/components/Branch/BranchMergeView/MergeBranchStep.vue
+++ b/frontend/src/components/Branch/BranchMergeView/MergeBranchStep.vue
@@ -1,7 +1,11 @@
<template>
<div class="flex-1 flex flex-col gap-y-1 text-sm">
<div>
- {{ $t("branch.merge-rebase.preview-merge-result") }}
+ {{
+ $t("branch.merge-rebase.preview-merge-result", {
+ branch: baseBranch.branchId,
+ })
+ }}
</div>
<NTabs v-model:value="tab">
<NTab name="schema-editor">
@@ -50,6 +54,7 @@ type TabValue = "schema-editor" | "raw-schema-text";
const props = defineProps<{
project: ComposedProject;
+ baseBranch: Branch;
mergedBranch: Branch;
}>();
diff --git a/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue b/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue
index fd9c588cd7..da95c351a0 100644
--- a/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue
+++ b/frontend/src/components/Branch/BranchRebaseView/BranchRebaseView.vue
@@ -34,6 +34,7 @@
ref="rebaseBranchStepRef"
:project="project"
:validation-state="validationState"
+ :base-branch="headBranch"
/>
</template>
</StepTab>
diff --git a/frontend/src/components/Branch/BranchRebaseView/RebaseBranchStep.vue b/frontend/src/components/Branch/BranchRebaseView/RebaseBranchStep.vue
index 5904df86f3..3971ee499e 100644
--- a/frontend/src/components/Branch/BranchRebaseView/RebaseBranchStep.vue
+++ b/frontend/src/components/Branch/BranchRebaseView/RebaseBranchStep.vue
@@ -1,9 +1,12 @@
<template>
<div class="flex-1 flex flex-col gap-y-1 text-sm">
<template v-if="validationState.branch">
- <div class="flex flex-row items-center gap-x-1">
- <CheckIcon class="w-4 h-4 text-success" />
- <span>{{ $t("branch.merge-rebase.able-to-rebase") }}</span>
+ <div>
+ {{
+ $t("branch.merge-rebase.preview-rebase-result", {
+ branch: baseBranch.branchId,
+ })
+ }}
</div>
<!-- BranchService.RebaseBranch now returns empty schema and metadata -->
<!-- so we have nothing to show by now -->
@@ -57,7 +60,6 @@
</template>
<script setup lang="ts">
-import { CheckIcon } from "lucide-vue-next";
import { computed, reactive, ref, watch } from "vue";
import {
LineHighlightOption,
@@ -98,6 +100,7 @@ const ConflictMarkers = [
const props = defineProps<{
project: ComposedProject;
validationState: RebaseBranchValidationState;
+ baseBranch: Branch;
}>();
const schemaEditorRef = ref<InstanceType<typeof SchemaEditorLite>>();
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 79ffc4f03a..b9a5e2b9c9 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -3420,7 +3420,8 @@
"confirm-rebase": "Confirm rebase?",
"conflict-not-resolved": "It seems that some conflicts haven't been resolved yet.",
"resolve-conflicts-to-rebase": "Resolve conflicts to rebase",
- "preview-merge-result": "Preview merge result"
+ "preview-merge-result": "Preview changes on {branch} after merge",
+ "preview-rebase-result": "Preview changes on {branch} after rebase"
},
"source": {
"baseline-version": "Baseline version",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index bb244d4677..02e9557d7c 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -3418,7 +3418,8 @@
"confirm-rebase": "¿Confirmar rebase?",
"conflict-not-resolved": "Parece que algunos conflictos aún no se han resuelto.",
"resolve-conflicts-to-rebase": "Resolver conflictos para rebase",
- "preview-merge-result": "Vista previa del resultado de la fusión"
+ "preview-merge-result": "Vista previa de los cambios en {branch} después de la fusión",
+ "preview-rebase-result": "Vista previa de los cambios en {branch} después de la rebase"
},
"source": {
"baseline-version": "Versión básica",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index b88bc423e9..cd4bbe655d 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -3418,7 +3418,8 @@
"confirm-rebase": "リベースを確認しますか?",
"conflict-not-resolved": "まだ解決されていない衝突があるようです",
"resolve-conflicts-to-rebase": "リベースするために衝突を解決してください",
- "preview-merge-result": "マージ結果のプレビュー"
+ "preview-merge-result": "merge 後に {branch} の変更をプレビューする",
+ "preview-rebase-result": "rebase 後に {branch} の変更をプレビューする"
},
"source": {
"baseline-version": "ベースラインバージョン",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index d672ed9e6b..22a9eec32a 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -3420,7 +3420,8 @@
"confirm-rebase": "Xác nhận rebase?",
"conflict-not-resolved": "Có vẻ như một số xung đột vẫn chưa được giải quyết.",
"resolve-conflicts-to-rebase": "Giải quyết xung đột để rebase",
- "preview-merge-result": "Xem trước kết quả hợp nhất"
+ "preview-merge-result": "Xem trước các thay đổi trên {branch} sau khi hợp nhất",
+ "preview-rebase-result": "Xem trước các thay đổi trên {branch} sau rebase"
},
"source": {
"baseline-version": "Phiên bản cơ bản",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index d1e9b8b2e7..be19a9f61c 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -3413,7 +3413,8 @@
"confirm-rebase": "确认 rebase?",
"conflict-not-resolved": "似乎还有尚未解决的冲突。",
"resolve-conflicts-to-rebase": "解决冲突以进行 rebase",
- "preview-merge-result": "预览合并结果"
+ "preview-merge-result": "预览合并后 {branch} 上的更改",
+ "preview-rebase-result": "预览 rebase 后 {branch} 上的修改"
},
"source": {
"baseline-version": "基线版本",