Skip to content

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

chore: use explicit wording for locating open ai key (#6982)

Tianzhou (天舟)9cbcd2e98880
diff --git a/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue b/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue
index e997e5ec52..a450281fd3 100644
--- a/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue
+++ b/frontend/src/components/GeneralSetting/AIAugmentationSetting.vue
@@ -36,7 +36,11 @@
href="https://platform.openai.com/account/api-keys"
class="normal-link"
target="_blank"
- >{{ $t("common.view-doc") }}</a
+ >{{
+ $t(
+ "settings.general.workspace.plugin.openai.openai-key.find-my-key"
+ )
+ }}</a
>
</template>
</i18n-t>
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 24d30578a3..65bd0233bc 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -551,6 +551,7 @@
"openai-key": {
"self": "OpenAI API Key",
"description": "Supply OpenAI API Key to enable ChatSQL capability in SQL Editor. {viewDoc}",
+ "find-my-key": "Find my key",
"placeholder": "An OpenAI API Key usually starts with sk-*****"
},
"openai-endpoint": {
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 56043b6b5b..ec6f16010c 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -547,6 +547,7 @@
"openai-key": {
"self": "Clave de API de OpenAI",
"description": "Proporcione una clave de API de OpenAI para habilitar la capacidad ChatSQL en el Editor de SQL. {viewDoc}",
+ "find-my-key": "Encuentra mi llave",
"placeholder": "Una clave de API de OpenAI generalmente comienza con sk-*****"
},
"openai-endpoint": {
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 7bf9f34556..c61a0ff3f2 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -548,6 +548,7 @@
"openai-key": {
"self": "OpenAI API Key",
"description": "提供 OpenAI API Key 以在 SQL 编辑器中开启 ChatSQL 的能力。{viewDoc}",
+ "find-my-key": "找到我的 Key",
"placeholder": "OpenAI API Key 通常以 sk-***** 开头"
},
"openai-endpoint": {