fix: 修复多语言配置中的键值重复和缺失问题

- 修复 copyTradingOrders 对象中重复的键值
- 统一键名规范:allFullyMatched -> allFullySold, partiallyMatched -> partiallySold
- 添加缺失的 filterMarketTitle 键值
- 确保中英文和繁体中文的键值配置一致
- 修复所有语言文件的 JSON 格式(添加换行符)
This commit is contained in:
WrBug
2026-01-20 22:57:17 +08:00
parent 4d72017b97
commit 9926533049
3 changed files with 15 additions and 13 deletions
+7 -5
View File
@@ -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"
}
}
}
+3 -3
View File
@@ -1110,9 +1110,9 @@
"groupByMarket": "按市场分组",
"expandAll": "展开全部",
"collapseAll": "折叠全部",
"allFullyMatched": "全部卖出",
"allFullySold": "全部卖出",
"notSold": "未卖出",
"partiallyMatched": "部分卖出",
"partiallySold": "部分卖出",
"orderCount": "订单数",
"totalAmount": "总金额",
"statusBreakdown": "状态",
@@ -1196,4 +1196,4 @@
"providerChainstack": "Chainstack",
"providerGetBlock": "GetBlock"
}
}
}
+5 -5
View File
@@ -1018,7 +1018,7 @@
"telegramConfig": {
"title": "Telegram 配置說明",
"step1": "通過 <strong>@BotFather</strong> 創建 Telegram 機器人,獲取 Bot Token",
"step2": "填寫 Bot Token 後,點擊\"獲取 Chat ID\"按鈕自動獲取(需要先向機器人發送消息)",
"step2": "填寫 Bot Token 後,點擊\"獲取 Chat ID\"按鈕自動獲取(需要先向機器人發送消息)",
"step3": "或通過 <strong>@userinfobot</strong> 手動獲取 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"
}
}
}