Skip to content

Commit 2063cb6

Browse files
authored
i18n (#4805)
* i18n * version * copy node
1 parent 12acaf4 commit 2063cb6

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

packages/web/i18n/en/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"FAQ.ai_point_q": "What are AI points?",
3030
"FAQ.check_subscription_a": "Go to Account - Personal Information - Package Details - Usage. You can view the effective and expiration dates of your subscribed packages. After the paid package expires, it will automatically switch to the free version.",
3131
"FAQ.check_subscription_q": "Where can I view my subscribed packages?",
32-
"FAQ.dataset_compute_a": "1 Dataset storage equals 1 Dataset index. A piece of Dataset data can contain one or more Dataset indexes. In enhanced training, 1 piece of data generates 5 indexes.",
32+
"FAQ.dataset_compute_a": "1 knowledge base storage is equal to 1 knowledge base index. \nA single chunked data usually corresponds to multiple indexes. You can see \"n group indexes\" in a single knowledge base collection.",
3333
"FAQ.dataset_compute_q": "How is Dataset storage calculated?",
3434
"FAQ.dataset_index_a": "No, but if the Dataset index exceeds the limit, you cannot insert or update Dataset content.",
3535
"FAQ.dataset_index_q": "Will the Dataset index be deleted if it exceeds the limit?",

packages/web/i18n/zh-CN/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"FAQ.ai_point_q": "什么是AI积分?",
3030
"FAQ.check_subscription_a": "账号-个人信息-套餐详情-使用情况。您可以查看所拥有套餐的生效和到期时间。当付费套餐到期后将自动切换免费版。",
3131
"FAQ.check_subscription_q": "在哪里查看已订阅的套餐?",
32-
"FAQ.dataset_compute_a": "1条知识库存储等于1条知识库索引。一条知识库数据可以包含1条或多条知识库索引。增强训练中,1条数据会生成5条索引。",
32+
"FAQ.dataset_compute_a": "1条知识库存储等于1条知识库索引。一条分块数据,通常对应多条索引,可以在单个知识库集合中看到\"n组索引\"",
3333
"FAQ.dataset_compute_q": "知识库存储怎么计算?",
3434
"FAQ.dataset_index_a": "不会。但知识库索引超出时,无法插入和更新知识库内容。",
3535
"FAQ.dataset_index_q": "知识库索引超出会删除么?",

packages/web/i18n/zh-Hant/common.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"FAQ.ai_point_q": "什麼是 AI 點數?",
3030
"FAQ.check_subscription_a": "帳號 - 個人資訊 - 方案詳細資訊 - 使用狀況。您可以檢視已訂閱方案的生效和到期時間。當付費方案到期後,將自動切換為免費版。",
3131
"FAQ.check_subscription_q": "在哪裡可以檢視已訂閱的方案?",
32-
"FAQ.dataset_compute_a": "1 筆知識庫儲存等於 1 筆知識庫索引。一筆知識庫資料可以包含 1 筆或多筆知識庫索引。在增強訓練中,1 筆資料會產生 5 筆索引。",
32+
"FAQ.dataset_compute_a": "1條知識庫存儲等於1條知識庫索引。\n一條分塊數據,通常對應多條索引,可以在單個知識庫集合中看到\"n組索引\"",
3333
"FAQ.dataset_compute_q": "知識庫儲存如何計算?",
3434
"FAQ.dataset_index_a": "不會,但知識庫索引超出限制時,將無法插入和更新知識庫內容。",
3535
"FAQ.dataset_index_q": "知識庫索引超出是否會被刪除?",

projects/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "app",
3-
"version": "4.9.7",
3+
"version": "4.9.8",
44
"private": false,
55
"scripts": {
66
"dev": "next dev",

projects/app/src/pageComponents/app/detail/WorkflowComponents/Flow/nodes/render/NodeCard.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,9 @@ const MenuRender = React.memo(function MenuRender({
403403
outputs: node.data.outputs,
404404
showStatus: node.data.showStatus,
405405
pluginId: node.data.pluginId,
406-
version: node.data.version
406+
version: node.data.version,
407+
versionLabel: node.data.versionLabel,
408+
isLatestVersion: node.data.isLatestVersion
407409
};
408410

409411
return [
@@ -423,7 +425,9 @@ const MenuRender = React.memo(function MenuRender({
423425
pluginId: template.pluginId,
424426
inputs: template.inputs,
425427
outputs: template.outputs,
426-
version: template.version
428+
version: template.version,
429+
versionLabel: template.versionLabel,
430+
isLatestVersion: template.isLatestVersion
427431
},
428432
selected: true,
429433
parentNodeId: undefined,

0 commit comments

Comments
 (0)