Skip to content

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

chore: tweak onboarding message (#2656)

tianzhoucc01c96f27f5
diff --git a/frontend/src/components/CreateInstanceForm.vue b/frontend/src/components/CreateInstanceForm.vue
index 2d667b1158..665488aa4e 100644
--- a/frontend/src/components/CreateInstanceForm.vue
+++ b/frontend/src/components/CreateInstanceForm.vue
@@ -472,6 +472,8 @@ const handleWarningModalOkClick = async () => {
style: "SUCCESS",
title: t("common.success"),
description: t("instance.successfully-created-postgresql-instance"),
+ // This is a bit magic to the user, so do not auto dismiss the notification.
+ manualHide: true,
});
state.showCreateInstanceWarningModal = false;
} else {
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index c3d4f49de7..112e77eb66 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -646,8 +646,8 @@
"password-write-only": "YOUR_DB_PWD - write only",
"test-connection": "Test Connection",
"ignore-and-create": "Ignore and create",
- "add-a-postgresql-sample-instance": "Add a PostgreSQL sample instance",
- "successfully-created-postgresql-instance": "Successfully created onboarding PostgreSQL instance and automatically filled into the form.",
+ "add-a-postgresql-sample-instance": "Add a PostgreSQL sample instance instead",
+ "successfully-created-postgresql-instance": "Successfully created a PostgreSQL sample instance and filled connection info.",
"connection-info-seems-to-be-incorrect": "Connection info seems to be incorrect",
"new-instance": "New Instance",
"unable-to-connect": "Bytebase is unable to connect the instance. We recommend you to review the connection info again. But it's OK to ignore this warning for now. You can still fix the connection info from the instance detail page after creation.\n\nError detail: {0}",
@@ -1469,16 +1469,16 @@
"go-to-project-list-page": "Go to project list page",
"click-new-project": "Click \"New Project\" to create a project",
"click-new-database": "Click \"New Database\" to create a database",
- "click-approve": "Click \"Approve\" to perform the issue",
- "wait-issue-finished": "waiting for the issue finished...",
+ "click-approve": "Click \"Approve\" to execute the change",
+ "wait-issue-finished": "Waiting for the change to be finished...",
"back-to-home": "Back to Home",
"finished-dialog": {
- "you-have-done": "You have done:",
+ "you-have-done": "You have completed:",
"add-an-instance": "Add an instance",
"create-a-project": "Create a project",
"create-an-issue": "Create an issue",
"create-a-new-database": "Create a new database",
- "keep-going-with-bytebase": "Keep going with Bytebase"
+ "keep-going-with-bytebase": "Keep going with Bytebase!"
}
}
}
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index c082fdf86d..b60cb421ad 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -646,8 +646,8 @@
"password-write-only": "YOUR_DB_PWD - 仅写入",
"test-connection": "测试连接",
"ignore-and-create": "忽略并创建",
- "add-a-postgresql-sample-instance": "创建一个 PostgreSQL 样式实例",
- "successfully-created-postgresql-instance": "成功创建临时的 PostgreSQL 数据库实例,并已经自动填充至表单。",
+ "add-a-postgresql-sample-instance": "创建一个 PostgreSQL 样本实例",
+ "successfully-created-postgresql-instance": "成功创建了 PostgreSQL 样本实例。并且填好了连接信息。",
"connection-info-seems-to-be-incorrect": "连接信息似乎错误",
"new-instance": "新实例",
"unable-to-connect": "Bytebase 无法连接到实例。我们推荐您再检查一遍连接信息。但也可以暂时忽略此警告。您在创建后仍能在实例详细页里修复连接信息。\n\n错误详情:{0}",
@@ -1473,7 +1473,7 @@
"wait-issue-finished": "等待工单执行完成...",
"back-to-home": "回到主页",
"finished-dialog": {
- "you-have-done": "你已经完成了:",
+ "you-have-done": "您成功完成了:",
"add-an-instance": "添加了一个实例",
"create-a-project": "创建了一个项目",
"create-an-issue": "创建了一个工单",