From a7c78d2cd252cb95059d2ec33a57c1f9c607d5d8 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Tue, 22 Aug 2023 17:28:18 +0800 Subject: [PATCH] fix: spark provider field name (#955) --- .../model-page/configs/spark.tsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/web/app/components/header/account-setting/model-page/configs/spark.tsx b/web/app/components/header/account-setting/model-page/configs/spark.tsx index 4ddec68e5a..e7ede20022 100644 --- a/web/app/components/header/account-setting/model-page/configs/spark.tsx +++ b/web/app/components/header/account-setting/model-page/configs/spark.tsx @@ -42,12 +42,12 @@ const config: ProviderConfig = { key: 'app_id', required: true, label: { - 'en': 'API ID', - 'zh-Hans': 'API ID', + 'en': 'APPID', + 'zh-Hans': 'APPID', }, placeholder: { - 'en': 'Enter your API ID here', - 'zh-Hans': '在此输入您的 API ID', + 'en': 'Enter your APPID here', + 'zh-Hans': '在此输入您的 APPID', }, }, { @@ -55,12 +55,12 @@ const config: ProviderConfig = { key: 'api_secret', required: true, label: { - 'en': 'API Secret', - 'zh-Hans': 'API Secret', + 'en': 'APISecret', + 'zh-Hans': 'APISecret', }, placeholder: { - 'en': 'Enter your API Secret here', - 'zh-Hans': '在此输入您的 API Secret', + 'en': 'Enter your APISecret here', + 'zh-Hans': '在此输入您的 APISecret', }, }, { @@ -68,12 +68,12 @@ const config: ProviderConfig = { key: 'api_key', required: true, label: { - 'en': 'API Key', - 'zh-Hans': 'API Key', + 'en': 'APIKey', + 'zh-Hans': 'APIKey', }, placeholder: { - 'en': 'Enter your API key here', - 'zh-Hans': '在此输入您的 API Key', + 'en': 'Enter your APIKey here', + 'zh-Hans': '在此输入您的 APIKey', }, }, ],