Skip to content

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

chore: tweak sql oversized tips (#14942)

boojack1b7a836c19d8
diff --git a/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue b/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue
index c5509f234f..e83272a260 100644
--- a/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue
+++ b/frontend/src/components/PlanCheckRun/PlanCheckRunModal.vue
@@ -3,6 +3,7 @@
:title="$t('task.check-result.title-general')"
class="!w-[56rem]"
header-class="whitespace-pre-wrap break-all gap-x-1"
+ :mask-closable="true"
@close="$emit('close')"
>
<PlanCheckRunPanel
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 5fb05814dd..8375929fd3 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1235,7 +1235,7 @@
"edit-sql-statement": "Edit SQL statement",
"upload-sql": "Upload SQL",
"upload-sql-as-sheet": "Upload SQL as Sheet",
- "statement-from-sheet-warning": "SQL is oversized and inline-editing is disallowed. You can upload a new SQL file to overwrite it.",
+ "statement-from-sheet-warning": "Due to the SQL being oversized, it has been truncated to display, and editing is disabled. You can upload a new SQL file to overwrite it.",
"overwrite-current-statement": "Overwrite current SQL statement",
"upload-sql-file-max-size-exceeded": "Max file size ({size}) exceeded.",
"waiting-earliest-allowed-time": "Will run after {time}",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 1ecc64ca13..c78c9a6764 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -1235,7 +1235,7 @@
"edit-sql-statement": "Editar declaración SQL",
"upload-sql": "Cargar SQL",
"upload-sql-as-sheet": "Cargar SQL como Hoja",
- "statement-from-sheet-warning": "SQL está sobredimensionado y no se permite la edición en línea. \nPuede cargar un nuevo archivo SQL para sobrescribirlo.",
+ "statement-from-sheet-warning": "Debido a que el SQL es demasiado grande, se ha truncado para mostrarlo y la edición está deshabilitada. Puede cargar un nuevo archivo SQL para sobrescribirlo.",
"overwrite-current-statement": "Sobrescribir la declaración SQL actual",
"upload-sql-file-max-size-exceeded": "Se ha excedido el tamaño máximo del archivo ({size}).",
"waiting-earliest-allowed-time": "Se ejecutará después de {time}",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 84916dec65..4f9136b64b 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -1235,7 +1235,7 @@
"edit-sql-statement": "SQL文を編集する",
"upload-sql": "SQLのアップロード",
"upload-sql-as-sheet": "SQLをワークシートにアップロード",
- "statement-from-sheet-warning": "SQL は大きすぎて直接編集できません。新しい SQL ファイルをアップロードして上書きできます。",
+ "statement-from-sheet-warning": "SQL が大きすぎるため、表示時に切り捨てられ、編集が無効になっています。新しい SQL ファイルをアップロードして上書きすることができます。",
"overwrite-current-statement": "現在の SQL ステートメントを上書きする",
"upload-sql-file-max-size-exceeded": "アップロード ファイルのサイズは {size} を超えることはできません。",
"waiting-earliest-allowed-time": "{time}の後に実行されます",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index da557d7ebe..41c7671d6d 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1235,7 +1235,7 @@
"edit-sql-statement": "编辑 SQL 语句",
"upload-sql": "上传 SQL",
"upload-sql-as-sheet": "上传 SQL 至工作表",
- "statement-from-sheet-warning": "SQL 过大所以无法直接编辑。你可以上传新的 SQL 文件以将其覆盖。",
+ "statement-from-sheet-warning": "由于 SQL 文件过大,因此被截断以便显示,并且编辑功能已禁用。你可以上传新的 SQL 文件以将其覆盖。",
"overwrite-current-statement": "覆盖当前的 SQL 语句",
"upload-sql-file-max-size-exceeded": "上传文件大小不能超过 {size}。",
"waiting-earliest-allowed-time": "将于 {time} 之后执行",