jinhai-2012 commited on
Commit
c3b184f
·
1 Parent(s): f89901e

Refactor display Text (#1999)

Browse files

### What problem does this PR solve?

'Api Key' and 'API Document' isn't aligned.

### Type of change

- [x] Refactoring

Signed-off-by: Jin Hai <[email protected]>

docs/references/api.md CHANGED
@@ -30,13 +30,13 @@ To get your Chat API key or Agent API key:
30
  For Chat API key:
31
  1. In RAGFlow, click **Chat** tab in the middle top of the page.
32
  2. Hover over the corresponding dialogue **>** **Chat Bot API** to show the chatbot API configuration page.
33
- 3. Click **Api Key** **>** **Create new key** to create your API key.
34
  4. Copy and keep your API key safe.
35
 
36
  For Agent API key:
37
  1. In RAGFlow, click **Agent** tab in the middle top of the page.
38
  2. Click your agent **>** ** Chat Bot API** to show the chatbot API configuration page.
39
- 3. Click **Api Key** **>** **Create new key** to create your API key.
40
  4. Copy and keep your API key safe.
41
 
42
  ## Create conversation
 
30
  For Chat API key:
31
  1. In RAGFlow, click **Chat** tab in the middle top of the page.
32
  2. Hover over the corresponding dialogue **>** **Chat Bot API** to show the chatbot API configuration page.
33
+ 3. Click **API Key** **>** **Create new key** to create your API key.
34
  4. Copy and keep your API key safe.
35
 
36
  For Agent API key:
37
  1. In RAGFlow, click **Agent** tab in the middle top of the page.
38
  2. Click your agent **>** ** Chat Bot API** to show the chatbot API configuration page.
39
+ 3. Click **API Key** **>** **Create new key** to create your API key.
40
  4. Copy and keep your API key safe.
41
 
42
  ## Create conversation
docs/references/ragflow_api.md CHANGED
@@ -29,7 +29,7 @@ To get your API key:
29
 
30
  1. In RAGFlow, click **Chat** tab in the middle top of the page.
31
  2. Hover over the corresponding dialogue **>** **Chat Bot API** to show the chatbot API configuration page.
32
- 3. Click **Api Key** **>** **Create new key** to create your API key.
33
  4. Copy and keep your API key safe.
34
 
35
  ## Create dataset
 
29
 
30
  1. In RAGFlow, click **Chat** tab in the middle top of the page.
31
  2. Hover over the corresponding dialogue **>** **Chat Bot API** to show the chatbot API configuration page.
32
+ 3. Click **API Key** **>** **Create new key** to create your API key.
33
  4. Copy and keep your API key safe.
34
 
35
  ## Create dataset
web/src/locales/en.ts CHANGED
@@ -406,7 +406,7 @@ The above is the content you need to summarize.`,
406
  preview: 'Preview',
407
  embedded: 'Embedded',
408
  serviceApiEndpoint: 'Service API Endpoint',
409
- apiKey: 'Api Key',
410
  apiReference: 'API Documents',
411
  dateRange: 'Date Range:',
412
  backendServiceApi: 'Backend service API',
@@ -664,7 +664,7 @@ The above is the content you need to summarize.`,
664
  bing: 'Bing',
665
  bingTip:
666
  'This component is used to get search result from https://www.bing.com/. Typically, it performs as a supplement to knowledgebases. Top N and Bing Subscription-Key specifies the number of search results you need to adapt.',
667
- apiKey: 'Api Key',
668
  country: 'Country',
669
  language: 'Language',
670
  googleScholar: 'Google Scholar',
 
406
  preview: 'Preview',
407
  embedded: 'Embedded',
408
  serviceApiEndpoint: 'Service API Endpoint',
409
+ apiKey: 'API Key',
410
  apiReference: 'API Documents',
411
  dateRange: 'Date Range:',
412
  backendServiceApi: 'Backend service API',
 
664
  bing: 'Bing',
665
  bingTip:
666
  'This component is used to get search result from https://www.bing.com/. Typically, it performs as a supplement to knowledgebases. Top N and Bing Subscription-Key specifies the number of search results you need to adapt.',
667
+ apiKey: 'API Key',
668
  country: 'Country',
669
  language: 'Language',
670
  googleScholar: 'Google Scholar',
web/src/locales/zh-traditional.ts CHANGED
@@ -378,7 +378,7 @@ export default {
378
  embedded: '嵌入',
379
  serviceApiEndpoint: '服務 API 端點',
380
  apiKey: 'API 鍵',
381
- apiReference: 'API 文件',
382
  dateRange: '日期範圍:',
383
  backendServiceApi: '後端服務 API',
384
  createNewKey: '創建新密鑰',
@@ -390,7 +390,7 @@ export default {
390
  fullScreenDescription: '將以下iframe嵌入您的網站處於所需位置',
391
  partialTitle: '部分嵌入',
392
  extensionTitle: 'Chrome 插件',
393
- tokenError: '請先創建 Api Token!',
394
  searching: '搜索中',
395
  parsing: '解析中',
396
  uploading: '上傳中',
@@ -623,7 +623,7 @@ export default {
623
  bing: 'Bing',
624
  bingTip:
625
  '此元件用於從 https://www.bing.com/ 取得搜尋結果。通常,它充當知識庫的補充。 Top N 和 Bing Subscription-Key 指定您需要適配的搜尋結果數量。',
626
- apiKey: 'Api Key',
627
  country: '國家',
628
  language: '語言',
629
  googleScholar: '谷歌學術',
 
378
  embedded: '嵌入',
379
  serviceApiEndpoint: '服務 API 端點',
380
  apiKey: 'API 鍵',
381
+ apiReference: 'API 文檔',
382
  dateRange: '日期範圍:',
383
  backendServiceApi: '後端服務 API',
384
  createNewKey: '創建新密鑰',
 
390
  fullScreenDescription: '將以下iframe嵌入您的網站處於所需位置',
391
  partialTitle: '部分嵌入',
392
  extensionTitle: 'Chrome 插件',
393
+ tokenError: '請先創建 API Token!',
394
  searching: '搜索中',
395
  parsing: '解析中',
396
  uploading: '上傳中',
 
623
  bing: 'Bing',
624
  bingTip:
625
  '此元件用於從 https://www.bing.com/ 取得搜尋結果。通常,它充當知識庫的補充。 Top N 和 Bing Subscription-Key 指定您需要適配的搜尋結果數量。',
626
+ apiKey: 'API Key',
627
  country: '國家',
628
  language: '語言',
629
  googleScholar: '谷歌學術',
web/src/locales/zh.ts CHANGED
@@ -407,7 +407,7 @@ export default {
407
  fullScreenDescription: '将以下iframe嵌入您的网站处于所需位置',
408
  partialTitle: '部分嵌入',
409
  extensionTitle: 'Chrome 插件',
410
- tokenError: '请先创建 Api Token!',
411
  searching: '搜索中',
412
  parsing: '解析中',
413
  uploading: '上传中',
@@ -641,7 +641,7 @@ export default {
641
  bing: 'Bing',
642
  bingTip:
643
  '此组件用于从 https://www.bing.com/ 获取搜索结果。通常,它作为知识库的补充。Top N 和 Bing Subscription-Key 指定您需要调整的搜索结果数量。',
644
- apiKey: 'Api Key',
645
  country: '国家',
646
  language: '语言',
647
  googleScholar: '谷歌学术',
 
407
  fullScreenDescription: '将以下iframe嵌入您的网站处于所需位置',
408
  partialTitle: '部分嵌入',
409
  extensionTitle: 'Chrome 插件',
410
+ tokenError: '请先创建 API Token!',
411
  searching: '搜索中',
412
  parsing: '解析中',
413
  uploading: '上传中',
 
641
  bing: 'Bing',
642
  bingTip:
643
  '此组件用于从 https://www.bing.com/ 获取搜索结果。通常,它作为知识库的补充。Top N 和 Bing Subscription-Key 指定您需要调整的搜索结果数量。',
644
+ apiKey: 'API Key',
645
  country: '国家',
646
  language: '语言',
647
  googleScholar: '谷歌学术',