فهرست منبع

fix: spark provider field name (#955)

zxhlyh 1 سال پیش
والد
کامیت
a7c78d2cd2
1فایلهای تغییر یافته به همراه12 افزوده شده و 12 حذف شده
  1. 12 12
      web/app/components/header/account-setting/model-page/configs/spark.tsx

+ 12 - 12
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',
         },
       },
     ],