Skip to content

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

chore: update `set as context` placeholder (#1563)

STEVEN2effe399a08d
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 5331b85c2a..5ad1a88f1b 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1165,7 +1165,7 @@
"view-all-tabs": "View all Tabs",
"sheet": "Sheet",
"sheets": "Sheets",
- "connection-holder": "Select a connection from left panel to get started",
+ "connection-holder": "Set a connection context from left panel to get started",
"link-access": "Link access",
"private": "Private",
"private-desc": "Only you can access this sheet",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index d8a7839920..9dc229b142 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1165,7 +1165,7 @@
"view-all-tabs": "查看所有标签页",
"sheet": "工作表",
"sheets": "工作表",
- "connection-holder": "选择一个数据连接以开始",
+ "connection-holder": "请先从左侧数据库列表中设置一个连接上下文",
"link-access": "链接访问权限",
"private": "私有",
"private-desc": "只有您自己可以访问此工作表",
diff --git a/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue b/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue
index cb5a805178..b75e6df83a 100644
--- a/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue
+++ b/frontend/src/views/sql-editor/AsidePanel/DatabaseTree.vue
@@ -92,13 +92,13 @@ const dropdownOptions = computed(() => {
} else {
return [
{
- label: "Open in new tab",
- key: "editor.sheet.new",
+ label: "Set as context",
+ key: "editor.sheet.set-context",
item: sheetContext.value,
},
{
- label: "Set as context",
- key: "editor.sheet.set-context",
+ label: "Open in new tab",
+ key: "editor.sheet.new",
item: sheetContext.value,
},
];