Skip to content

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

fix(sql-editor): update DDL/DML blocked popup wording (BYT-9321) (#20076)

boojacke0d47c912e00
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index cf56c7ec45..299e83da74 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -207,6 +207,7 @@
"abandon": "Abandon",
"access-denied": "Access denied",
"access-expires": "Access Expires",
+ "action-required": "Action Required",
"activated": "Activated",
"active": "Active",
"activity": "Activity",
@@ -1379,6 +1380,7 @@
"no-results-match-filters": "No results match your filters",
"self": "Checks"
},
+ "create-plan": "Create Plan",
"description": {
"placeholder": "Add a description"
},
@@ -2585,11 +2587,11 @@
"copy-selected-results": "Copy selected data by {action} or {button}",
"copy-url": "Copy URL",
"current-connection": "Current connection",
+ "ddl-dml-requires-data-change-plan": "To execute DDL/DML statements in {environment}, please submit a Data Change Plan for approval.",
"download-as-file": "Download as {file}",
"duration-day": "{days} day",
"duration-days": "{days} days",
"duration-hours": "{hours} hour | {hours} hours",
- "enable-ddl-for-environment": "You can enable the DDL/DML statement for the environment {environment}.",
"execute-query": "Execute query",
"executing-query": "Executing query",
"expire-at": "Expire at {time}",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 5c8a8a8271..06086a25e9 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -207,6 +207,7 @@
"abandon": "Abandonar",
"access-denied": "Acceso denegado",
"access-expires": "El acceso expira",
+ "action-required": "Acción requerida",
"activated": "Activado",
"active": "Activo",
"activity": "Actividad",
@@ -1379,6 +1380,7 @@
"no-results-match-filters": "No hay resultados que coincidan con sus filtros",
"self": "Verificaciones"
},
+ "create-plan": "Crear plan",
"description": {
"placeholder": "Añadir descripción"
},
@@ -2585,11 +2587,11 @@
"copy-selected-results": "Copiar datos seleccionados por {action} o {button}",
"copy-url": "Copiar URL",
"current-connection": "Conexión actual",
+ "ddl-dml-requires-data-change-plan": "Para ejecutar sentencias DDL/DML en {environment}, envíe un Plan de Cambio de Datos para su aprobación.",
"download-as-file": "Descargar como {file}",
"duration-day": "{days} day",
"duration-days": "{days} days",
"duration-hours": "{hours} hour | {hours} hours",
- "enable-ddl-for-environment": "Puede habilitar la declaración DDL/DML para el entorno {environment}.",
"execute-query": "Ejecutar consulta",
"executing-query": "Ejecutando consulta",
"expire-at": "Expire at {time}",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 0a3a67704a..4c62e5e3e5 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -207,6 +207,7 @@
"abandon": "破棄",
"access-denied": "アクセスが拒否されました",
"access-expires": "アクセスは期限切れです",
+ "action-required": "対応が必要",
"activated": "有効化しました",
"active": "アクティブ",
"activity": "活動",
@@ -1379,6 +1380,7 @@
"no-results-match-filters": "フィルターに一致する結果がありません",
"self": "チェック"
},
+ "create-plan": "プランを作成",
"description": {
"placeholder": "説明を追加"
},
@@ -2585,11 +2587,11 @@
"copy-selected-results": "選択したデータを{action}または{button}でコピーします",
"copy-url": "URLをコピー",
"current-connection": "現在の接続",
+ "ddl-dml-requires-data-change-plan": "{environment} で DDL/DML ステートメントを実行するには、承認のためデータ変更プランを送信してください。",
"download-as-file": "{file} 形式でダウンロード",
"duration-day": "{days} day",
"duration-days": "{days} days",
"duration-hours": "{hours} hour | {hours} hours",
- "enable-ddl-for-environment": "環境 {environment} に対して DDL/DML ステートメントを有効にすることができます。",
"execute-query": "クエリを実行する",
"executing-query": "クエリの実行",
"expire-at": "Expire at {time}",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index b26d3dcd3e..214134f0e7 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -207,6 +207,7 @@
"abandon": "Hủy bỏ",
"access-denied": "Truy cập bị từ chối",
"access-expires": "Truy cập hết hạn",
+ "action-required": "Cần thực hiện hành động",
"activated": "Đã kích hoạt",
"active": "Hoạt động",
"activity": "Hoạt động",
@@ -1379,6 +1380,7 @@
"no-results-match-filters": "Không có kết quả nào phù hợp với bộ lọc của bạn",
"self": "Kiểm tra"
},
+ "create-plan": "Tạo kế hoạch",
"description": {
"placeholder": "Thêm mô tả"
},
@@ -2585,11 +2587,11 @@
"copy-selected-results": "Sao chép dữ liệu đã chọn bằng {action} hoặc {button}",
"copy-url": "Sao chép URL",
"current-connection": "Kết nối hiện tại",
+ "ddl-dml-requires-data-change-plan": "Để thực thi câu lệnh DDL/DML trong {environment}, vui lòng gửi Kế hoạch Thay đổi Dữ liệu để được phê duyệt.",
"download-as-file": "Tải xuống dưới dạng {file}",
"duration-day": "{days} day",
"duration-days": "{days} days",
"duration-hours": "{hours} hour | {hours} hours",
- "enable-ddl-for-environment": "Bạn có thể bật câu lệnh DDL/DML cho môi trường {environment}.",
"execute-query": "Thực hiện truy vấn",
"executing-query": "Đang thực hiện truy vấn",
"expire-at": "Expire at {time}",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index ae7bc0fea7..dee08b9f88 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -207,6 +207,7 @@
"abandon": "废弃",
"access-denied": "拒绝访问",
"access-expires": "访问到期",
+ "action-required": "需要操作",
"activated": "已激活",
"active": "开启",
"activity": "活动",
@@ -1379,6 +1380,7 @@
"no-results-match-filters": "没有匹配筛选条件的结果",
"self": "检查"
},
+ "create-plan": "创建计划",
"description": {
"placeholder": "添加描述"
},
@@ -2585,11 +2587,11 @@
"copy-selected-results": "通过 {action} 或 {button} 来快速复制选定的数据",
"copy-url": "复制 URL",
"current-connection": "当前连接",
+ "ddl-dml-requires-data-change-plan": "如需在 {environment} 中执行 DDL/DML 语句,请创建变更计划以获得审批。",
"download-as-file": "下载为 {file} 格式",
"duration-day": "{days} 天",
"duration-days": "{days} 天",
"duration-hours": "{hours} 小时",
- "enable-ddl-for-environment": "您可以为环境 {environment} 启用 DDL/DML 语句。",
"execute-query": "执行查询",
"executing-query": "执行查询",
"expire-at": "{time} 过期",
diff --git a/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue b/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue
index d5b2c579b6..749fc060a3 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue
@@ -6,7 +6,7 @@
{{ $t("sql-editor.only-select-allowed") }}
</p>
<p v-if="database">
- <i18n-t keypath="sql-editor.enable-ddl-for-environment">
+ <i18n-t keypath="sql-editor.ddl-dml-requires-data-change-plan">
<template #environment>
<EnvironmentV1Name
:environment="getDatabaseEnvironment(database)"
@@ -112,13 +112,13 @@ const actions = computed(() => {
const descriptions = computed(() => {
const descriptions = {
- want: t("database.change-database").toLowerCase(),
+ want: t("plan.create-plan").toLowerCase(),
action: "",
reaction: "",
};
const { admin, issue } = actions.value;
if (issue) {
- descriptions.action = t("database.change-database");
+ descriptions.action = t("plan.create-plan");
descriptions.reaction = t("sql-editor.and-submit-an-issue");
} else if (admin) {
descriptions.action = t("sql-editor.admin-mode.self");
diff --git a/frontend/src/views/sql-editor/EditorCommon/ExecutingHintModal.vue b/frontend/src/views/sql-editor/EditorCommon/ExecutingHintModal.vue
index 902f0e6766..110ed6aa55 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ExecutingHintModal.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ExecutingHintModal.vue
@@ -1,7 +1,7 @@
<template>
<BBModal
v-if="sqlEditorStore.isShowExecutingHint"
- :title="$t('common.tips')"
+ :title="$t('common.action-required')"
@close="handleClose"
>
<ExecuteHint