Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
fix: delete hint text (#425)
STEVEN64ac268ba29d
diff --git a/frontend/src/locales/en.yml b/frontend/src/locales/en.ymlindex c0c2de3fa4..d11cbccaa4 100644--- a/frontend/src/locales/en.yml+++ b/frontend/src/locales/en.yml@@ -1093,11 +1093,13 @@ sql-editor:can-not-execute-query: Can not execute query when loading data.rows: row | rowsno-history-found: No history found+ no-saved-query-found: No saved query foundsearch-history: Search Historysearch-saved-queries: Search Saved Queriesqueries: Querieshint-tips:confirm-to-delete-this-history: Confirm to delete this history?+ confirm-to-delete-this-saved-query: Confirm to delete this saved query?please-input-the-tab-label: Please input the tab label!label:empty-label-value: <Empty Value>diff --git a/frontend/src/locales/zh-CN.yml b/frontend/src/locales/zh-CN.ymlindex 4fd052c71f..57dd6eeb63 100644--- a/frontend/src/locales/zh-CN.yml+++ b/frontend/src/locales/zh-CN.yml@@ -960,11 +960,13 @@ sql-editor:can-not-execute-query: 加载数据时无法执行查询rows: 条记录no-history-found: 无历史记录+ no-saved-query-found: 无归档查询语句search-history: 搜索历史记录search-saved-queries: 搜索归档查询queries: 归档查询hint-tips:confirm-to-delete-this-history: 确定删除这条记录?+ confirm-to-delete-this-saved-query: 确定删除这条查询语句?please-input-the-tab-label: 请输入标签页名称!label:empty-label-value: <空值>diff --git a/frontend/src/views/SqlEditor/AsidePanel/QueryHistoryView.vue b/frontend/src/views/SqlEditor/AsidePanel/QueryHistoryView.vueindex a58fc36f87..f2c342bc01 100644--- a/frontend/src/views/SqlEditor/AsidePanel/QueryHistoryView.vue+++ b/frontend/src/views/SqlEditor/AsidePanel/QueryHistoryView.vue@@ -23,7 +23,7 @@<span class="text-xs text-gray-500">{{ history.createdAt }}</span><NDropdowntrigger="click"- :options="historyDropdownOptions"+ :options="actionDropdownOptions"@select="(key: string) => handleActionBtnClick(key, history)"@clickoutside="handleActionBtnOutsideClick">@@ -150,7 +150,7 @@ const notifyMessage = computed(() => {return "";});-const historyDropdownOptions = computed(() => [+const actionDropdownOptions = computed(() => [{label: t("common.delete"),key: "delete",diff --git a/frontend/src/views/SqlEditor/AsidePanel/SavedQueryView.vue b/frontend/src/views/SqlEditor/AsidePanel/SavedQueryView.vueindex 41bb07f027..15d8a7a42a 100644--- a/frontend/src/views/SqlEditor/AsidePanel/SavedQueryView.vue+++ b/frontend/src/views/SqlEditor/AsidePanel/SavedQueryView.vue@@ -43,7 +43,7 @@</div><NDropdowntrigger="click"- :options="historyDropdownOptions"+ :options="actionDropdownOptions"@select="(key: string) => handleActionBtnClick(key, query)"@clickoutside="handleActionBtnOutsideClick">@@ -85,7 +85,7 @@@close="handleHintClose"><DeleteHint- :content="$t('sql-editor.hint-tips.confirm-to-delete-this-history')"+ :content="$t('sql-editor.hint-tips.confirm-to-delete-this-saved-query')"@close="handleHintClose"@confirm="handleDeleteSavedQuery"/>@@ -191,13 +191,13 @@ const notifyMessage = computed(() => {return "";}if (savedQueryList.value.length === null) {- return t("sql-editor.no-history-found");+ return t("sql-editor.no-saved-query-found");}return "";});-const historyDropdownOptions = computed(() => [+const actionDropdownOptions = computed(() => [{label: t("common.delete"),key: "delete",