feat(i18n): add missing translations for trading-assistant modal
- Add step2Params and step3Signal translations - Add execution mode related translations (signal/live) - Add notification channel translations (browser/email/phone/telegram/discord/webhook) - Add live trading config translations (savedCredential, credentialName, etc.) - Add batch operation message translations (batchCreateSuccess, batchStart/Stop/Delete) - Add placeholders for email, phone, telegram, discord, webhook inputs - Add validation messages for email and notify channel - Add strategy group translations (startAll, stopAll, deleteAll, symbolCount) - Support both zh-CN (Simplified Chinese) and zh-TW (Traditional Chinese)
This commit is contained in:
@@ -1079,6 +1079,10 @@ const locale = {
|
||||
'trading-assistant.stopStrategy': '停止策略',
|
||||
'trading-assistant.editStrategy': '編輯策略',
|
||||
'trading-assistant.deleteStrategy': '刪除策略',
|
||||
'trading-assistant.startAll': '全部啟動',
|
||||
'trading-assistant.stopAll': '全部停止',
|
||||
'trading-assistant.deleteAll': '全部刪除',
|
||||
'trading-assistant.symbolCount': '個幣種',
|
||||
'trading-assistant.status.running': '運行中',
|
||||
'trading-assistant.status.stopped': '已停止',
|
||||
'trading-assistant.status.error': '錯誤',
|
||||
@@ -1091,6 +1095,8 @@ const locale = {
|
||||
'trading-assistant.form.step1': '選擇指標',
|
||||
'trading-assistant.form.step2': '交易所配置',
|
||||
'trading-assistant.form.step3': '策略參數',
|
||||
'trading-assistant.form.step2Params': '策略參數',
|
||||
'trading-assistant.form.step3Signal': '信號通知',
|
||||
'trading-assistant.form.indicator': '選擇指標',
|
||||
'trading-assistant.form.indicatorHint': '只能選擇您已購買或創建的技術指標',
|
||||
'trading-assistant.form.qdtCostHints': '使用策略將消耗QDT,請確保賬戶有足夠的QDT餘額',
|
||||
@@ -1103,7 +1109,10 @@ const locale = {
|
||||
'trading-assistant.form.testConnection': '測試連接',
|
||||
'trading-assistant.form.strategyName': '策略名稱',
|
||||
'trading-assistant.form.symbol': '交易對',
|
||||
'trading-assistant.form.symbols': '交易對(多選)',
|
||||
'trading-assistant.form.symbolHint': '目前僅支持加密貨幣交易對',
|
||||
'trading-assistant.form.symbolHintCrypto': '加密貨幣:使用BTC/USDT等交易對格式',
|
||||
'trading-assistant.form.symbolsHint': '選擇多個交易對,將自動創建多個策略',
|
||||
'trading-assistant.form.initialCapital': '投入金額',
|
||||
'trading-assistant.form.marketType': '市場類型',
|
||||
'trading-assistant.form.marketTypeFutures': '合約',
|
||||
@@ -1135,6 +1144,23 @@ const locale = {
|
||||
'trading-assistant.form.enableAiFilterHint': '啟用後,指標信號將經過AI智能過濾,提高交易質量',
|
||||
'trading-assistant.form.aiFilterPrompt': '自定義提示詞',
|
||||
'trading-assistant.form.aiFilterPromptHint': '為AI過濾提供自定義指令,留空則使用系統默認',
|
||||
'trading-assistant.form.executionMode': '執行模式',
|
||||
'trading-assistant.form.executionModeSignal': '僅信號通知',
|
||||
'trading-assistant.form.executionModeLive': '實盤自動交易',
|
||||
'trading-assistant.form.liveTradingCryptoOnlyHint': '實盤交易功能僅支持加密貨幣市場',
|
||||
'trading-assistant.form.notifyChannels': '通知渠道',
|
||||
'trading-assistant.form.notifyChannelsHint': '選擇信號觸發時的通知方式',
|
||||
'trading-assistant.form.notifyEmail': '郵箱地址',
|
||||
'trading-assistant.form.notifyPhone': '手機號碼',
|
||||
'trading-assistant.form.notifyTelegram': 'Telegram ID',
|
||||
'trading-assistant.form.notifyDiscord': 'Discord Webhook',
|
||||
'trading-assistant.form.notifyWebhook': 'Webhook 地址',
|
||||
'trading-assistant.form.liveTradingConfigTitle': '實盤交易配置',
|
||||
'trading-assistant.form.liveTradingConfigHint': '請填寫交易所API資訊,實盤交易將使用您的API進行真實交易',
|
||||
'trading-assistant.form.savedCredential': '已儲存的憑證',
|
||||
'trading-assistant.form.savedCredentialHint': '選擇已儲存的交易所憑證,自動填充API配置',
|
||||
'trading-assistant.form.saveCredential': '儲存此憑證以便下次使用',
|
||||
'trading-assistant.form.credentialName': '憑證名稱',
|
||||
'trading-assistant.validation.strategyTypeRequired': '請選擇策略類型',
|
||||
'trading-assistant.form.advancedSettings': '高級設置',
|
||||
'trading-assistant.form.orderMode': '下單模式',
|
||||
@@ -1183,6 +1209,20 @@ const locale = {
|
||||
'trading-assistant.messages.loadIndicatorsFailed': '加載指標列表失敗,請稍後重試',
|
||||
'trading-assistant.messages.spotLimitations': '現貨交易已自動設置爲僅做多、1倍槓杆',
|
||||
'trading-assistant.messages.autoFillApiConfig': '已自動填充該交易所的歷史API配置',
|
||||
'trading-assistant.messages.batchCreateSuccess': '成功創建 {count} 個策略',
|
||||
'trading-assistant.messages.batchStartSuccess': '成功啟動 {count} 個策略',
|
||||
'trading-assistant.messages.batchStartFailed': '批量啟動策略失敗',
|
||||
'trading-assistant.messages.batchStopSuccess': '成功停止 {count} 個策略',
|
||||
'trading-assistant.messages.batchStopFailed': '批量停止策略失敗',
|
||||
'trading-assistant.messages.batchDeleteSuccess': '成功刪除 {count} 個策略',
|
||||
'trading-assistant.messages.batchDeleteFailed': '批量刪除策略失敗',
|
||||
'trading-assistant.messages.batchDeleteConfirm': '確定要刪除策略組"{name}"下的 {count} 個策略嗎?此操作不可恢復。',
|
||||
'trading-assistant.notify.browser': '瀏覽器通知',
|
||||
'trading-assistant.notify.email': '郵箱',
|
||||
'trading-assistant.notify.phone': '簡訊',
|
||||
'trading-assistant.notify.telegram': 'Telegram',
|
||||
'trading-assistant.notify.discord': 'Discord',
|
||||
'trading-assistant.notify.webhook': 'Webhook',
|
||||
'trading-assistant.placeholders.selectIndicator': '請選擇指標',
|
||||
'trading-assistant.placeholders.selectExchange': '請選擇交易所',
|
||||
'trading-assistant.placeholders.inputApiKey': '請輸入API Key',
|
||||
@@ -1190,9 +1230,17 @@ const locale = {
|
||||
'trading-assistant.placeholders.inputPassphrase': '請輸入Passphrase',
|
||||
'trading-assistant.placeholders.inputStrategyName': '請輸入策略名稱',
|
||||
'trading-assistant.placeholders.selectSymbol': '請選擇交易對',
|
||||
'trading-assistant.placeholders.selectSymbols': '請選擇交易對(支持多選)',
|
||||
'trading-assistant.placeholders.selectTimeframe': '請選擇時間周期',
|
||||
'trading-assistant.placeholders.selectKlinePeriod': '請選擇K線周期',
|
||||
'trading-assistant.placeholders.inputAiFilterPrompt': '請輸入自定義提示詞(可選)',
|
||||
'trading-assistant.placeholders.selectSavedCredential': '請選擇已儲存的憑證',
|
||||
'trading-assistant.placeholders.inputEmail': '請輸入郵箱地址',
|
||||
'trading-assistant.placeholders.inputPhone': '請輸入手機號碼',
|
||||
'trading-assistant.placeholders.inputTelegram': '請輸入Telegram ID或Chat ID',
|
||||
'trading-assistant.placeholders.inputDiscord': '請輸入Discord Webhook地址',
|
||||
'trading-assistant.placeholders.inputWebhook': '請輸入Webhook地址',
|
||||
'trading-assistant.placeholders.inputCredentialName': '請輸入憑證名稱(如:我的OKX帳戶)',
|
||||
'trading-assistant.validation.indicatorRequired': '請選擇指標',
|
||||
'trading-assistant.validation.exchangeRequired': '請選擇交易所',
|
||||
'trading-assistant.validation.apiKeyRequired': '請輸入API Key',
|
||||
@@ -1203,6 +1251,9 @@ const locale = {
|
||||
'trading-assistant.validation.testConnectionFailed': '連接測試失敗,請檢查配置後重新測試',
|
||||
'trading-assistant.validation.strategyNameRequired': '請輸入策略名稱',
|
||||
'trading-assistant.validation.symbolRequired': '請選擇交易對',
|
||||
'trading-assistant.validation.symbolsRequired': '請至少選擇一個交易對',
|
||||
'trading-assistant.validation.emailInvalid': '請輸入有效的郵箱地址',
|
||||
'trading-assistant.validation.notifyChannelRequired': '請至少選擇一個通知渠道',
|
||||
'trading-assistant.validation.initialCapitalRequired': '請輸入投入金額',
|
||||
'trading-assistant.validation.leverageRequired': '請輸入槓杆倍數',
|
||||
'trading-assistant.table.time': '時間',
|
||||
|
||||
Reference in New Issue
Block a user