Skip to content

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

chore: improve database name template wording (#3814)

Tianzhou (天舟)67f4c3ec7615
diff --git a/frontend/src/components/ProjectDeploymentConfigPanel.vue b/frontend/src/components/ProjectDeploymentConfigPanel.vue
index 154185ded1..d3ba5deef9 100644
--- a/frontend/src/components/ProjectDeploymentConfigPanel.vue
+++ b/frontend/src/components/ProjectDeploymentConfigPanel.vue
@@ -25,7 +25,7 @@
<template #link>
<a
class="normal-link inline-flex items-center"
- href="https://bytebase.com/docs/tenant-database-management#database-name-template?source=console"
+ href="https://www.bytebase.com/docs/tenant-database-management/overview#database-name-template?source=console"
target="__BLANK"
>
{{ $t("common.learn-more") }}
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 7a9939b490..e811d91bbd 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1180,7 +1180,7 @@
"standard": "Standard",
"tenant": "Tenant"
},
- "db-name-template": "@:common.database @:common.name @:common.template",
+ "db-name-template": "Tenant Database Name Template",
"select": "Select project",
"lgtm-check": {
"self": "LGTM check",
@@ -1476,7 +1476,7 @@
"setting": {
"description": "A label is a key-value pair that helps you identify the tenant for a database. {link}."
},
- "db-name-template-tips": "All tenant databases should follow this naming template. The databases with the same {placeholder} will be in the same group. {link}.",
+ "db-name-template-tips": "If your tenant databases follow a naming template, you can specify it here. The databases with the same {placeholder} will be grouped together. If you don't want grouping, please uncheck the box. {link}.",
"confirm-change": "Are you sure to change '{label}' ?",
"parsed-from-template": "Parsed from {name} by template {template}.",
"cannot-transfer-template-not-match": "Database '{name}' cannot be transferred to this project. Since its name doesn't match the template {template}."
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 3804c5a666..21073de7f5 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1180,7 +1180,7 @@
"standard": "标准",
"tenant": "多租户"
},
- "db-name-template": "数据库名称模板",
+ "db-name-template": "租户数据库名称模板",
"select": "选择项目",
"lgtm-check": {
"self": "LGTM 检查",
@@ -1477,7 +1477,7 @@
"setting": {
"description": "标签是一组可用于标识数据库租户的键值对。{link}。"
},
- "db-name-template-tips": "所有租户数据库名字遵循命名模版。有着相同 {placeholder} 的数据库会被分成一组。{link}。",
+ "db-name-template-tips": "如果您的租户数据库名字遵循命名模版,您可以在这里指定。有着相同 {placeholder} 的数据库会分在一组。如果您不想分组,就让它为空。{link}。",
"confirm-change": "您确定要修改 '{label}' 吗?",
"parsed-from-template": "从 {name} 中依据模板 {template} 解析得出",
"cannot-transfer-template-not-match": "数据库 '{name}' 无法转移到这个项目,因为它的名称不符合模板 {template}。"