Browse Source

优化语言和部分功能

master
ltlzx 4 years ago
parent
commit
ec2b8d218f
  1. 4
      src/i18n/cn.json
  2. 114
      src/i18n/en.json
  3. 4
      src/views/contract/exchange-store.vue
  4. 2
      src/views/contract/handicap copy.vue
  5. 3
      src/views/contract/handicap.vue
  6. 8
      src/views/contract/hold-position.vue
  7. 2
      src/views/exchange/index.vue
  8. 1
      src/views/option/kline.vue

4
src/i18n/cn.json

@ -625,7 +625,7 @@
"profile": { "profile": {
"realName": "实名认证", "realName": "实名认证",
"primaryCertification": "初级认证", "primaryCertification": "初级认证",
"advancedCertification": "高级认证申请提交", "advancedCertification": "高级认证申请提交",
"toExamine": "审核", "toExamine": "审核",
"fullName": "姓名", "fullName": "姓名",
"legal": "法定", "legal": "法定",
@ -652,7 +652,7 @@
"pelaseDownload": "请从以下文件中选择一份未过期的", "pelaseDownload": "请从以下文件中选择一份未过期的",
"passport": "护照", "passport": "护照",
"drivingLicense": "驾照", "drivingLicense": "驾照",
"iD": "身份证", "iD": "证",
"upload": "进行上传", "upload": "进行上传",
"explain": "说明", "explain": "说明",
"unexpired": "未过期证件文件可以是图片或扫描件", "unexpired": "未过期证件文件可以是图片或扫描件",

114
src/i18n/en.json

@ -40,7 +40,7 @@
"common": { "common": {
"a3":"Purchase records", "a3":"Purchase records",
"option": "Option", "option": "Option",
"exchange": "Exchange", "exchange": "Spot Trading",
"markets": "Markets", "markets": "Markets",
"helps": "Help", "helps": "Help",
"course": "Support Center", "course": "Support Center",
@ -139,16 +139,16 @@
"securitySetting": "Security", "securitySetting": "Security",
"wallet": "Wallet", "wallet": "Wallet",
"allAssets": "Assets", "allAssets": "Assets",
"contractaccount": "Contract Account", "contractaccount": "Derivatives Account",
"transferFunds": "Transfer", "transferFunds": "Transfer",
"rechargeWithdraw": "Deposit & Withdraw", "rechargeWithdraw": "Deposit & Withdraw",
"order": "Orders", "order": "Orders",
"spotConsignment": "Exchange Orders", "spotConsignment": "Exchange Orders",
"optionOrders": "Option Orders", "optionOrders": "Option Orders",
"perpetualContract": "Perpetual Swap", "perpetualContract": "Derivatives",
"foreignContract": "Crypto FX Contract", "foreignContract": "Crypto FX Contract",
"notCertified": "No Certification", "notCertified": "No Certification",
"notData": "No Data", "notData": "No open orders",
"assets": "Assets", "assets": "Assets",
"myCommission": "My Commission", "myCommission": "My Commission",
"addressManagement": "Address Management", "addressManagement": "Address Management",
@ -193,8 +193,8 @@
"order-book": "Order Book", "order-book": "Order Book",
"price": "Price", "price": "Price",
"amount": "Amount", "amount": "Amount",
"total": "Total", "total": "Sum",
"recent-trades": "Recent Trades", "recent-trades": "Trades",
"time": "Time", "time": "Time",
"order-total": "Order Total", "order-total": "Order Total",
"balance": "Available Balance", "balance": "Available Balance",
@ -390,7 +390,7 @@
"history": "view history", "history": "view history",
"balance": "balance", "balance": "balance",
"transferQuantity": "Amount", "transferQuantity": "Amount",
"capitalAccount": "Account Assets", "capitalAccount": "Spot Account",
"contract": "Contract", "contract": "Contract",
"financial": "Financial Account", "financial": "Financial Account",
"leverage": "Margin Account", "leverage": "Margin Account",
@ -424,16 +424,16 @@
"edit": "edit", "edit": "edit",
"address": "adress", "address": "adress",
"selectAssets": "choose assets", "selectAssets": "choose assets",
"drawAddress": "Withdrawal Address", "drawAddress": "Withdraw Address",
"addressRemarks": "notes for address", "addressRemarks": "notes for address",
"remarksDelete": "Are you sure you want to delete this address", "remarksDelete": "Are you sure you want to delete this address",
"optionSuccess": "The operation was successful", "optionSuccess": "The operation was successful",
"allAssets": "Total Assets", "allAssets": "Total Value",
"showNum": "show number", "showNum": "show number",
"contractAccount": "Contract Account", "contractAccount": "Derivatives Account",
"marginAccount": "Margin Account", "marginAccount": "Margin Account",
"financialAccount": "Financial Account", "financialAccount": "Financial Account",
"spotAccount": "Account Assets", "spotAccount": "Spot Account",
"hide": "Hide", "hide": "Hide",
"balanceAssets": "Balance", "balanceAssets": "Balance",
"searchCurrency": "Search Coin", "searchCurrency": "Search Coin",
@ -443,7 +443,7 @@
"fee": "Freezed", "fee": "Freezed",
"valuation": " Valution", "valuation": " Valution",
"recharge": "Deposit", "recharge": "Deposit",
"withdrawal": "Withdrawal", "withdrawal": "Withdraw",
"transaction": "Trade", "transaction": "Trade",
"rechargeAddress": "Deposit Address", "rechargeAddress": "Deposit Address",
"rechargeQuantity": "Amount", "rechargeQuantity": "Amount",
@ -451,7 +451,7 @@
"rechargeInstructions": "Tips", "rechargeInstructions": "Tips",
"automaticallyCredited": "This address is your latest recharge address. When the system receives the recharge, it will be automatically recorded", "automaticallyCredited": "This address is your latest recharge address. When the system receives the recharge, it will be automatically recorded",
"tran": "The transfer needs to be confirmed by the whole blockchain network. When {num} network is confirmed, your {name} will be automatically deposited into the account", "tran": "The transfer needs to be confirmed by the whole blockchain network. When {num} network is confirmed, your {name} will be automatically deposited into the account",
"only": "Name {will only cause other currency loss if it is sent to this address", "only": "Please only send {name} to this address. Sending other digital currencies to this address will cause permanent losses.",
"low": "Low", "low": "Low",
"addressList": "Address Book", "addressList": "Address Book",
"enterDrawAddress": "Please enter the address", "enterDrawAddress": "Please enter the address",
@ -460,7 +460,7 @@
"enterDrawNum": "Please enter the Amount", "enterDrawNum": "Please enter the Amount",
"withdrawalInstructions": "Tips", "withdrawalInstructions": "Tips",
"enterAddress": "Please check and enter the correct address of the coin wallet", "enterAddress": "Please check and enter the correct address of the coin wallet",
"notSend": "The digital currency address sent to the wallet will not cause a permanent loss", "notSend": "Sending an unmatched digital currency to the wallet address will cause permanent loss",
"deductionFee": "The handling fee will be deducted from the amount of withdrawal", "deductionFee": "The handling fee will be deducted from the amount of withdrawal",
"submitSuccess": "Submitted successfully, under review", "submitSuccess": "Submitted successfully, under review",
"operationComplete": "Withdrawal operation completed, waiting for approval", "operationComplete": "Withdrawal operation completed, waiting for approval",
@ -493,7 +493,7 @@
"all": "All", "all": "All",
"dateTime": "Date", "dateTime": "Date",
"UserWallet": "Assets Account", "UserWallet": "Assets Account",
"ContractAccount": "Contract Account", "ContractAccount": "Derivatives Account",
"LeverageAccount": "Leverage Account", "LeverageAccount": "Leverage Account",
"FinancialAccount": "Financial Account", "FinancialAccount": "Financial Account",
"contractFlow": "Contract Flow", "contractFlow": "Contract Flow",
@ -690,7 +690,7 @@
"country1":"Please enter your country", "country1":"Please enter your country",
"realName": "Real Name Authentication", "realName": "Real Name Authentication",
"primaryCertification": "primary certification", "primaryCertification": "primary certification",
"advancedCertification": "Advanced certification application has been submitted", "advancedCertification": "Submit advanced certification application",
"toExamine": "audit", "toExamine": "audit",
"fullName": "Name", "fullName": "Name",
"legal": "Legal", "legal": "Legal",
@ -717,11 +717,11 @@
"pelaseDownload": "Please select an unexpired one from the following files", "pelaseDownload": "Please select an unexpired one from the following files",
"passport": "Passport", "passport": "Passport",
"drivingLicense": "Driving License", "drivingLicense": "Driving License",
"iD": "ID Card", "iD": "Certificates",
"upload": "To upload", "upload": "To upload",
"explain": "Explain", "explain": "Explain",
"unexpired": "Unexpired documents can be pictures or scans", "unexpired": "Unexpired documents can be pictures or scans",
"pleaseConfirm": "Please make sure that all the details on the ID photo are clear and not covered up", "pleaseConfirm": "Please make sure that all the details on the certificates photo are clear and not covered up",
"fileFormat": "File Format", "fileFormat": "File Format",
"maximumFileSize": "Maximum File Size", "maximumFileSize": "Maximum File Size",
"positive": "Certificate front", "positive": "Certificate front",
@ -862,25 +862,25 @@
"subscribeSuccess": "Apply Success" "subscribeSuccess": "Apply Success"
}, },
"contract": { "contract": {
"a0": "Contract Account", "a0": "Futures Account",
"a1": "Funds Transfer", "a1": "Wallets Transfer",
"a2": "Account Equity", "a2": "Account Equity",
"a3": "Available", "a3": "Available Max",
"a4": "position margin", "a4": "position margin",
"a5": "Entrust freeze", "a5": "Entrust freeze",
"a6": "Unrealized Profit /Loss", "a6": "Unrealized PNL",
"a7": "Risk Rate", "a7": "Risk Rate",
"a8": "Forced closing price estimate", "a8": "Liq Price",
"a9": "Contract", "a9": "Symbol",
"b0": "Leverage", "b0": "Leverage",
"b1": "Time", "b1": "Time",
"b2": "Transaction Type", "b2": "Transaction Type",
"b3": "Closed", "b3": "Filled",
"b4": "Commissioned Total", "b4": "Amount",
"b5": "Average Transaction Price", "b5": "Avg.",
"b6": "Order Price", "b6": "Price",
"b7": "Margin", "b7": "Margin",
"b8": "Handling Fee", "b8": "Fee",
"b9": "Status", "b9": "Status",
"c0": "Operation", "c0": "Operation",
"c1": "Cancel Order", "c1": "Cancel Order",
@ -892,24 +892,24 @@
"c7": "Unsold", "c7": "Unsold",
"c8": "Partial Transaction", "c8": "Partial Transaction",
"c9": "Full deal", "c9": "Full deal",
"d0": "Buy open long", "d0": "Open long",
"d1": "Buy to close short", "d1": "Close Short",
"d2": "Sell to open short", "d2": "Open short",
"d3": "Sell flat and long", "d3": "Close Long",
"d4": "Undo successfully", "d4": "Undo successfully",
"d5": "Open Position", "d5": "Open",
"d6": "Hirakura", "d6": "Close",
"d7": "Trigger Price", "d7": "Trigger Price",
"d8": "Price", "d8": "Price",
"d9": "Market Price", "d9": "Market Price",
"e0": "Limit Price", "e0": "Limit Price",
"e1": "Quantity", "e1": "Size",
"e2": "Leaf", "e2": "Leaf",
"e3": "Required Margin", "e3": "Required Margin",
"e4": "Multiple positions", "e4": "Multiple positions",
"e5": "Short position holding", "e5": "Short position holding",
"e6": "bullish", "e6": "bullish",
"e7": "Can be opened", "e7": "Max",
"e8": "Bearish", "e8": "Bearish",
"e9": "Keping", "e9": "Keping",
"f0": "The price", "f0": "The price",
@ -919,40 +919,40 @@
"f4": "Leverage times", "f4": "Leverage times",
"f5": "Delegation successful", "f5": "Delegation successful",
"f6": "Successfully closed position", "f6": "Successfully closed position",
"f7": "Handicap", "f7": "Order Book",
"f8": "Real-time transaction", "f8": "Trades",
"f9": "All", "f9": "All",
"g0": "Buy", "g0": "Buy",
"g1": "Sell", "g1": "Sell",
"g2": "Accumulation", "g2": "Sum",
"g3": "Latest Price", "g3": "Last Price",
"g4": "Details", "g4": "Details",
"g5": "History", "g5": "History",
"g6": "Deal time", "g6": "Deal time",
"g7": "Position", "g7": "Position",
"g8": "Hirakura quantity", "g8": "Hirakura quantity",
"g9": "Opening price", "g9": "Entry Price",
"h0": "Yield", "h0": "ROE %",
"h1": "Close the position at market price", "h1": "Close the position at market price",
"h2": "Whether to balance at market price", "h2": "Whether to balance at market price",
"h3": "Full Ping", "h3": "Full Ping",
"h4": "Success", "h4": "Success",
"h5": "Trading Pair", "h5": "Symbols",
"h6": "Rise and fall", "h6": "Change",
"h7": "Highest Price", "h7": "High Price",
"h8": "Lowest Price", "h8": "Low Price",
"h9": "Volume", "h9": "Volume",
"i0": "Hold Position", "i0": "Positions",
"i1": "Current Order", "i1": "Open Orders",
"i2": "Historical Commission", "i2": "Order History",
"i3": "Direction", "i3": "Side",
"i4": "Multi", "i4": "Multi",
"i5": "Empty", "i5": "Empty",
"i6": "Only display current", "i6": "Only display current",
"i7": "Stop Profit", "i7": "TP",
"i8": "Stop Loss", "i8": "SL",
"i9": "Closed P/L", "i9": "TP/SL",
"j0": "Profit and Loss", "j0": "Realized PNL",
"j1": "Latest Transaction Price", "j1": "Latest Transaction Price",
"j2": "Average opening price", "j2": "Average opening price",
"j3": "Take Profit Trigger Price", "j3": "Take Profit Trigger Price",
@ -964,7 +964,7 @@
"j9": "Opened successfully", "j9": "Opened successfully",
"k0": "Set up successfully", "k0": "Set up successfully",
"k1": "Settlement profit and loss", "k1": "Settlement profit and loss",
"k2": "One-key full leveling", "k2": "Close All Positions",
"k3": "Reverse", "k3": "Reverse",
"k4": "Whether one-key full leveling", "k4": "Whether one-key full leveling",
"k5": "Whether one key is reversed", "k5": "Whether one key is reversed",
@ -973,7 +973,7 @@
"k8": "Please log in first to apply", "k8": "Please log in first to apply",
"k9":"Please enter the subscription code", "k9":"Please enter the subscription code",
"l1":"Proportion of increase", "l1":"Proportion of increase",
"l2":"Bond" "l2":"Cost"
}, },
"otc": { "otc": {
"a0": "Please select transaction type", "a0": "Please select transaction type",

4
src/views/contract/exchange-store.vue

@ -152,7 +152,7 @@
class="sub w-24/24 btn-success btn btn-sm" class="sub w-24/24 btn-success btn btn-sm"
> >
{{ $t("contract.d0") }} {{ $t("contract.d0") }}
<span class="fn-12"> {{ $t("contract.e6") }} </span> <!-- <span class="fn-12"> {{ $t("contract.e6") }} </span> -->
</button> </button>
<div class="text-center"> <div class="text-center">
{{ $t("contract.e7") }} {{ maxNum }} {{ $t("contract.e7") }} {{ maxNum }}
@ -166,7 +166,7 @@
class="sub w-24/24 btn-danger btn btn-sm" class="sub w-24/24 btn-danger btn btn-sm"
> >
{{ $t("contract.d2") }} {{ $t("contract.d2") }}
<span class="fn-12"> {{ $t("contract.e8") }} </span> <!-- <span class="fn-12"> {{ $t("contract.e8") }} </span> -->
</button> </button>
<div class="text-center"> <div class="text-center">
{{ $t("contract.e7") }} {{ maxNum }} {{ $t("contract.e7") }} {{ maxNum }}

2
src/views/contract/handicap copy.vue

@ -269,4 +269,4 @@ export default {
} }
} }
}; };
</script> </script>

3
src/views/contract/handicap.vue

@ -40,7 +40,8 @@
{{ $t("contract.e1") }} {{ $t("contract.e1") }}
</div> </div>
<div class="w-7/24 text-right"> <div class="w-7/24 text-right">
{{ $t("contract.g2") }}({{ $t("contract.e2") }}) {{ $t("contract.g2") }}
<!-- ({{ $t("contract.e2") }}) -->
</div> </div>
</div> </div>
<div class="sell"> <div class="sell">

8
src/views/contract/hold-position.vue

@ -6,7 +6,7 @@
{{$t('contract.k2')}} {{$t('contract.k2')}}
</button> </button>
</div> </div>
<div <!-- <div
class="d-flex align-items-center" class="d-flex align-items-center"
@click="$emit('isall', !holdPositionAll)" @click="$emit('isall', !holdPositionAll)"
> >
@ -17,7 +17,7 @@
:checked="holdPositionAll" :checked="holdPositionAll"
style="pointer-events: none" style="pointer-events: none"
/> />
</div> </div> -->
</div> </div>
<table class="table"> <table class="table">
<thead> <thead>
@ -67,12 +67,12 @@
> >
{{ $t("contract.h1") }} {{ $t("contract.h1") }}
</button> --> </button> -->
<button <!-- <button
class="btn btn-sm btn-outline-danger mb-1" class="btn btn-sm btn-outline-danger mb-1"
@click="reverse(item)" @click="reverse(item)"
> >
{{$t('contract.k3')}} {{$t('contract.k3')}}
</button> </button> -->
<button <button
class="btn btn-sm btn-primary mb-1" class="btn btn-sm btn-primary mb-1"
@click="toStoploss(item)" @click="toStoploss(item)"

2
src/views/exchange/index.vue

@ -20,7 +20,7 @@
<book-trades :priceCny="price_cny"></book-trades> <book-trades :priceCny="price_cny"></book-trades>
<!-- market news --> <!-- market news -->
<market-news></market-news> <!-- <market-news></market-news> -->
<!-- order list --> <!-- order list -->
<order-list ref="Order" :ordersOpen="ordersOpen" :conditionOrders="conditionOrders" :ordersHistory="ordersHistory" :priceDecimals="priceDecimals" :qtyDecimals="qtyDecimals" :isLogin="isLogin" :pair="pair" @change="currentTab = $event" @update="update"></order-list> <order-list ref="Order" :ordersOpen="ordersOpen" :conditionOrders="conditionOrders" :ordersHistory="ordersHistory" :priceDecimals="priceDecimals" :qtyDecimals="qtyDecimals" :isLogin="isLogin" :pair="pair" @change="currentTab = $event" @update="update"></order-list>

1
src/views/option/kline.vue

@ -480,7 +480,6 @@ methods: {
} }
); );
}); });
}, },
}, },
created(){ created(){

Loading…
Cancel
Save