From f0eba9ea3693247cf9a05f0ae83803e0c130eb28 Mon Sep 17 00:00:00 2001 From: Cooper-X-Oak Date: Fri, 1 May 2026 15:40:42 +0800 Subject: [PATCH 1/2] fix(settings): clarify Volcengine ASR credential mapping --- openless-all/app/src/i18n/en.ts | 4 ++++ openless-all/app/src/i18n/zh-CN.ts | 4 ++++ openless-all/app/src/pages/Settings.tsx | 25 ++++++++++++++++++++++--- 3 files changed, 30 insertions(+), 3 deletions(-) diff --git a/openless-all/app/src/i18n/en.ts b/openless-all/app/src/i18n/en.ts index 34afd088..479f0dc7 100644 --- a/openless-all/app/src/i18n/en.ts +++ b/openless-all/app/src/i18n/en.ts @@ -285,6 +285,10 @@ export const en: typeof zhCN = { asrSiliconflow: 'SiliconFlow SenseVoice', asrWhisper: 'OpenAI Whisper (compatible)', }, + volcengineAppKeyLabel: 'App Key (Volcengine APP ID)', + volcengineAccessKeyLabel: 'Access Key (Volcengine Access Token)', + volcengineResourceIdLabel: 'Resource ID', + volcengineMappingNote: 'OpenLess currently uses only the APP ID, Access Token, and Resource ID for Volcengine streaming ASR. Secret Key is not used in this connection. The common default value is volc.bigasr.sauc.duration.', fillDefault: 'Fill default value', readFailed: 'Read failed', apiKeyLabel: 'API Key', diff --git a/openless-all/app/src/i18n/zh-CN.ts b/openless-all/app/src/i18n/zh-CN.ts index fddfccd6..a224aaf8 100644 --- a/openless-all/app/src/i18n/zh-CN.ts +++ b/openless-all/app/src/i18n/zh-CN.ts @@ -283,6 +283,10 @@ export const zhCN = { asrSiliconflow: '硅基流动 SenseVoice', asrWhisper: 'OpenAI Whisper(兼容)', }, + volcengineAppKeyLabel: 'App Key(对应火山 APP ID)', + volcengineAccessKeyLabel: 'Access Key(对应火山 Access Token)', + volcengineResourceIdLabel: 'Resource ID(资源 ID)', + volcengineMappingNote: 'OpenLess 当前的 Volcengine 流式 ASR 只使用 APP ID、Access Token 和 Resource ID。Secret Key 在这条连接里不会被填写。常用默认值为 volc.bigasr.sauc.duration。', fillDefault: '填入默认值', readFailed: '读取失败', apiKeyLabel: 'API 密钥', diff --git a/openless-all/app/src/pages/Settings.tsx b/openless-all/app/src/pages/Settings.tsx index b0f7bc04..ce317e35 100644 --- a/openless-all/app/src/pages/Settings.tsx +++ b/openless-all/app/src/pages/Settings.tsx @@ -369,10 +369,29 @@ function ProvidersSection() { {asrProvider === 'volcengine' ? ( <> - - - + + +
+ {t('settings.providers.volcengineMappingNote')} +
) : ( <> From 46134eb6b22d5f6b25716256e0cc79bc1e09cb4b Mon Sep 17 00:00:00 2001 From: Cooper-X-Oak Date: Fri, 1 May 2026 16:47:42 +0800 Subject: [PATCH 2/2] fix(settings): align Volcengine labels with console --- openless-all/app/src/i18n/en.ts | 6 +++--- openless-all/app/src/i18n/zh-CN.ts | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/openless-all/app/src/i18n/en.ts b/openless-all/app/src/i18n/en.ts index 479f0dc7..3a23103c 100644 --- a/openless-all/app/src/i18n/en.ts +++ b/openless-all/app/src/i18n/en.ts @@ -285,10 +285,10 @@ export const en: typeof zhCN = { asrSiliconflow: 'SiliconFlow SenseVoice', asrWhisper: 'OpenAI Whisper (compatible)', }, - volcengineAppKeyLabel: 'App Key (Volcengine APP ID)', - volcengineAccessKeyLabel: 'Access Key (Volcengine Access Token)', + volcengineAppKeyLabel: 'APP ID', + volcengineAccessKeyLabel: 'Access Token', volcengineResourceIdLabel: 'Resource ID', - volcengineMappingNote: 'OpenLess currently uses only the APP ID, Access Token, and Resource ID for Volcengine streaming ASR. Secret Key is not used in this connection. The common default value is volc.bigasr.sauc.duration.', + volcengineMappingNote: 'Secret Key is not required right now. Resource ID defaults to volc.bigasr.sauc.duration.', fillDefault: 'Fill default value', readFailed: 'Read failed', apiKeyLabel: 'API Key', diff --git a/openless-all/app/src/i18n/zh-CN.ts b/openless-all/app/src/i18n/zh-CN.ts index a224aaf8..c3d4a4ed 100644 --- a/openless-all/app/src/i18n/zh-CN.ts +++ b/openless-all/app/src/i18n/zh-CN.ts @@ -283,10 +283,10 @@ export const zhCN = { asrSiliconflow: '硅基流动 SenseVoice', asrWhisper: 'OpenAI Whisper(兼容)', }, - volcengineAppKeyLabel: 'App Key(对应火山 APP ID)', - volcengineAccessKeyLabel: 'Access Key(对应火山 Access Token)', - volcengineResourceIdLabel: 'Resource ID(资源 ID)', - volcengineMappingNote: 'OpenLess 当前的 Volcengine 流式 ASR 只使用 APP ID、Access Token 和 Resource ID。Secret Key 在这条连接里不会被填写。常用默认值为 volc.bigasr.sauc.duration。', + volcengineAppKeyLabel: 'APP ID', + volcengineAccessKeyLabel: 'Access Token', + volcengineResourceIdLabel: 'Resource ID', + volcengineMappingNote: 'Secret Key 当前无需填写。Resource ID 默认使用 volc.bigasr.sauc.duration。', fillDefault: '填入默认值', readFailed: '读取失败', apiKeyLabel: 'API 密钥',