Skip to content

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

chore: update wording for non select warnings (#17999)

p0ny6d4cf8af8672
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 970d856e0d..6db065b4b9 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -2008,7 +2008,7 @@
"table-empty-placeholder": "Click Run to execute the query.",
"no-data-available": "No data available",
"download-as-file": "Download as {file}",
- "only-select-allowed": "Only {select} statements are allowed to execute.",
+ "only-select-allowed": "Only read-only statements are allowed to execute.",
"enable-ddl-for-environment": "You can enable the DDL/DML statement for the environment {environment}.",
"and-submit-an-issue": "and submit an issue",
"to-enable-admin-mode": "to enable the admin mode",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 46fa3d3447..aa470b27ba 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -2008,7 +2008,7 @@
"table-empty-placeholder": "Haga clic en Ejecutar para ejecutar la consulta.",
"no-data-available": "No hay datos disponibles",
"download-as-file": "Descargar como {file}",
- "only-select-allowed": "Solo se permiten declaraciones {select} para ejecutar.",
+ "only-select-allowed": "Solo se permiten ejecutar declaraciones de solo lectura.",
"enable-ddl-for-environment": "Puede habilitar la declaración DDL/DML para el entorno {environment}.",
"and-submit-an-issue": "y enviar un problema",
"to-enable-admin-mode": "para habilitar el modo administrador",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index 6d31265fd4..3618ea8abe 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -2008,7 +2008,7 @@
"table-empty-placeholder": "「実行」をクリックしてクエリを実行します。",
"no-data-available": "データなし",
"download-as-file": "{file} 形式でダウンロード",
- "only-select-allowed": "{select} ステートメントのみが実行を許可されます",
+ "only-select-allowed": "読み取り専用ステートメントのみが実行を許可されます",
"enable-ddl-for-environment": "環境 {environment} に対して DDL/DML ステートメントを有効にすることができます。",
"and-submit-an-issue": "そしてイシューを提出してください",
"to-enable-admin-mode": "管理者モードを有効にするには",
diff --git a/frontend/src/locales/vi-VN.json b/frontend/src/locales/vi-VN.json
index 39ce3ec024..87d383bcc0 100644
--- a/frontend/src/locales/vi-VN.json
+++ b/frontend/src/locales/vi-VN.json
@@ -2008,7 +2008,7 @@
"table-empty-placeholder": "Nhấp vào Chạy để thực hiện truy vấn.",
"no-data-available": "Không có dữ liệu",
"download-as-file": "Tải xuống dưới dạng {file}",
- "only-select-allowed": "Chỉ cho phép câu lệnh {select}.",
+ "only-select-allowed": "Chỉ cho phép thực thi câu lệnh chỉ đọc.",
"enable-ddl-for-environment": "Bạn có thể bật câu lệnh DDL/DML cho môi trường {environment}.",
"and-submit-an-issue": "và gửi một vấn đề",
"to-enable-admin-mode": "để bật chế độ quản trị",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 3083074cc5..069e138f45 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -2008,7 +2008,7 @@
"table-empty-placeholder": "点击 ”运行“ 执行查询",
"no-data-available": "暂无数据",
"download-as-file": "下载为 {file} 格式",
- "only-select-allowed": "只允许执行 {select} 语句",
+ "only-select-allowed": "只允许执行只读语句",
"enable-ddl-for-environment": "您可以为环境 {environment} 启用 DDL/DML 语句。",
"and-submit-an-issue": "并提交一个工单",
"to-enable-admin-mode": "来开启管理员模式",
diff --git a/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue b/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue
index 0f44826df7..5f79d40570 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ExecuteHint.vue
@@ -3,14 +3,7 @@
<NAlert type="info">
<section class="space-y-2">
<p>
- <i18n-t keypath="sql-editor.only-select-allowed">
- <template #select>
- <strong
- ><code>SELECT</code>, <code>SHOW</code> and
- <code>SET</code></strong
- >
- </template>
- </i18n-t>
+ {{ $t("sql-editor.only-select-allowed") }}
</p>
<p v-if="database">
<i18n-t keypath="sql-editor.enable-ddl-for-environment">