From 99265330493875176693d9ee4c52614221e2bdb2 Mon Sep 17 00:00:00 2001 From: WrBug Date: Tue, 20 Jan 2026 22:57:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=9A=E8=AF=AD?= =?UTF-8?q?=E8=A8=80=E9=85=8D=E7=BD=AE=E4=B8=AD=E7=9A=84=E9=94=AE=E5=80=BC?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E5=92=8C=E7=BC=BA=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复 copyTradingOrders 对象中重复的键值 - 统一键名规范:allFullyMatched -> allFullySold, partiallyMatched -> partiallySold - 添加缺失的 filterMarketTitle 键值 - 确保中英文和繁体中文的键值配置一致 - 修复所有语言文件的 JSON 格式(添加换行符) --- frontend/src/locales/en/common.json | 12 +++++++----- frontend/src/locales/zh-CN/common.json | 6 +++--- frontend/src/locales/zh-TW/common.json | 10 +++++----- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/frontend/src/locales/en/common.json b/frontend/src/locales/en/common.json index c619864..9047b91 100644 --- a/frontend/src/locales/en/common.json +++ b/frontend/src/locales/en/common.json @@ -1099,6 +1099,7 @@ "price": "Price", "amount": "Amount", "filterMarketId": "Filter Market ID", + "filterMarketTitle": "Filter Market Title", "filterSide": "Filter Side", "filterStatus": "Filter Status", "filterSellOrderId": "Filter Sell Order ID", @@ -1109,13 +1110,15 @@ "groupByMarket": "Group by Market", "expandAll": "Expand All", "collapseAll": "Collapse All", - "allFullyMatched": "All Fully Sold", + "allFullySold": "All Fully Sold", "notSold": "Not Sold", - "partiallyMatched": "Partially Sold", + "partiallySold": "Partially Sold", "orderCount": "Order Count", "totalAmount": "Total Amount", - "totalPnl": "Total PnL", "statusBreakdown": "Status", + "allFullyMatched": "All Fully Sold", + "partiallyMatched": "Partially Sold", + "totalPnl": "Total PnL", "markets": "markets", "fetchBuyOrdersFailed": "Failed to fetch buy orders", "fetchSellOrdersFailed": "Failed to fetch sell orders", @@ -1127,7 +1130,6 @@ "totalMatchedOrders": "Total Matched Orders", "totalBuyAmount": "Total Buy Amount", "totalSellAmount": "Total Sell Amount", - "totalPnl": "Total PnL", "totalRealizedPnl": "Total Realized PnL", "totalUnrealizedPnl": "Total Unrealized PnL", "winRate": "Win Rate", @@ -1196,4 +1198,4 @@ "providerChainstack": "Chainstack", "providerGetBlock": "GetBlock" } -} +} \ No newline at end of file diff --git a/frontend/src/locales/zh-CN/common.json b/frontend/src/locales/zh-CN/common.json index a32aefc..ef77790 100644 --- a/frontend/src/locales/zh-CN/common.json +++ b/frontend/src/locales/zh-CN/common.json @@ -1110,9 +1110,9 @@ "groupByMarket": "按市场分组", "expandAll": "展开全部", "collapseAll": "折叠全部", - "allFullyMatched": "全部卖出", + "allFullySold": "全部卖出", "notSold": "未卖出", - "partiallyMatched": "部分卖出", + "partiallySold": "部分卖出", "orderCount": "订单数", "totalAmount": "总金额", "statusBreakdown": "状态", @@ -1196,4 +1196,4 @@ "providerChainstack": "Chainstack", "providerGetBlock": "GetBlock" } -} +} \ No newline at end of file diff --git a/frontend/src/locales/zh-TW/common.json b/frontend/src/locales/zh-TW/common.json index 670f8b5..946c88d 100644 --- a/frontend/src/locales/zh-TW/common.json +++ b/frontend/src/locales/zh-TW/common.json @@ -1018,7 +1018,7 @@ "telegramConfig": { "title": "Telegram 配置說明", "step1": "通過 @BotFather 創建 Telegram 機器人,獲取 Bot Token", - "step2": "填寫 Bot Token 後,點擊\"獲取 Chat ID\"按鈕自動獲取(需要先向機器人發送消息)", + "step2": "填寫 Bot Token 後,點擊\"獲取 Chat ID\"按鈕自動獲取(需要先向機器人發送消息)", "step3": "或通過 @userinfobot 手動獲取 Chat ID", "step4": "支持配置多個 Chat ID(用逗號分隔),所有配置的用戶都會收到通知", "step5": "訂單成功或失敗時會自動發送 Telegram 消息", @@ -1099,6 +1099,7 @@ "price": "價格", "amount": "金額", "filterMarketId": "篩選市場ID", + "filterMarketTitle": "篩選市場標題", "filterSide": "篩選方向", "filterStatus": "篩選狀態", "filterSellOrderId": "篩選賣出訂單ID", @@ -1109,9 +1110,9 @@ "groupByMarket": "按市場分組", "expandAll": "展開全部", "collapseAll": "折疊全部", - "allFullyMatched": "全部賣出", + "allFullySold": "全部賣出", "notSold": "未賣出", - "partiallyMatched": "部分賣出", + "partiallySold": "部分賣出", "orderCount": "訂單數", "totalAmount": "總金額", "totalPnl": "總盈虧", @@ -1127,7 +1128,6 @@ "totalMatchedOrders": "總匹配訂單數", "totalBuyAmount": "總買入金額", "totalSellAmount": "總賣出金額", - "totalPnl": "總盈虧", "totalRealizedPnl": "總已實現盈虧", "totalUnrealizedPnl": "總未實現盈虧", "winRate": "勝率", @@ -1196,4 +1196,4 @@ "providerChainstack": "Chainstack", "providerGetBlock": "GetBlock" } -} +} \ No newline at end of file