add zh-tw calculator phrases

This commit is contained in:
rjpeterson 2022-01-19 11:29:02 -06:00
parent 7cab37ea70
commit ebddebaf81
5 changed files with 41 additions and 33 deletions

View File

@ -1467,8 +1467,8 @@ export default function RiskCalculator() {
}`}
>
{scenarioDetails.get('initHealth') * 100 >= 0
? 'Yes'
: 'No'}
? t('calculator:yes')
: t('calculator:no')}
</div>
</div>
<div className="flex items-center justify-between pb-3">
@ -2069,8 +2069,8 @@ export default function RiskCalculator() {
}`}
>
{scenarioDetails.get('initHealth') * 100 >= 0
? 'Yes'
: 'No'}
? t('calculator:yes')
: t('calculator:no')}
</div>
</div>
<div className="flex items-center justify-between pb-3 mb-6">

View File

@ -24,6 +24,7 @@
"maint-weighted-liabilities": "Maint. Weighted Liabilities Value",
"maintenance-health": "Maintenance Health",
"new-positions-openable": "New Positions Can Be Opened",
"no": "No",
"ok": "OK",
"percent-move-liquidation": "Percent Move To Liquidation",
"perp-entry": "Perp Entry",
@ -39,5 +40,6 @@
"tooltip-anchor-slider": "Set current pricing to be the anchor point (0%) for slider",
"tooltip-init-health": "Initial health must be above 0% to open new positions.",
"tooltip-maint-health": "Maintenance health must be above 0% to avoid liquidation.",
"very-poor": "Very Poor"
"very-poor": "Very Poor",
"yes": "Yes"
}

View File

@ -24,6 +24,7 @@
"maint-weighted-liabilities": "Maint. Weighted Liabilities Value",
"maintenance-health": "Maintenance Health",
"new-positions-openable": "New Positions Can Be Opened",
"no": "No",
"ok": "OK",
"percent-move-liquidation": "Percent Move To Liquidation",
"perp-entry": "Perp Entry",
@ -39,5 +40,6 @@
"tooltip-anchor-slider": "Set current pricing to be the anchor point (0%) for slider",
"tooltip-init-health": "Initial health must be above 0% to open new positions.",
"tooltip-maint-health": "Maintenance health must be above 0% to avoid liquidation.",
"very-poor": "Very Poor"
"very-poor": "Very Poor",
"yes": "Yes"
}

View File

@ -24,6 +24,7 @@
"maint-weighted-liabilities": "Maint. Weighted Liabilities Value",
"maintenance-health": "Maintenance Health",
"new-positions-openable": "New Positions Can Be Opened",
"no": "No",
"ok": "OK",
"percent-move-liquidation": "Percent Move To Liquidation",
"perp-entry": "Perp Entry",
@ -39,5 +40,6 @@
"tooltip-anchor-slider": "Set current pricing to be the anchor point (0%) for slider",
"tooltip-init-health": "Initial health must be above 0% to open new positions.",
"tooltip-maint-health": "Maintenance health must be above 0% to avoid liquidation.",
"very-poor": "Very Poor"
"very-poor": "Very Poor",
"yes": "Yes"
}

View File

@ -1,10 +1,10 @@
{
"anchor-slider": "Anchor slider",
"edit-all-prices": "Edit All Prices",
"great": "Great",
"init-weighted-assets": "Init. Weighted Assets Value",
"init-weighted-liabilities": "Init. Weighted Liabilities Value",
"initial-health": "Initial Health",
"anchor-slider": "定滑快",
"edit-all-prices": "調整所有價格",
"great": "很好",
"init-weighted-assets": "初始加權資產價值",
"init-weighted-liabilities": "初始加權借貸價值",
"initial-health": "初始健康度",
"joke-get-party-started": "Let's get this party started",
"joke-hit-em-with": "Hit 'em with everything you've got...",
"joke-insert-coin": "Insert coin to continue...",
@ -19,25 +19,27 @@
"joke-sun-shining": "The sun is shining and the mangoes are ripe...",
"joke-throw-some-money": "Throw some money at them to make them go away...",
"joke-zero-borrows-risk": "0 Borrows = 0 Risk",
"liq-price": "Liq. Price",
"maint-weighted-assets": "Maint. Weighted Assets Value",
"maint-weighted-liabilities": "Maint. Weighted Liabilities Value",
"maintenance-health": "Maintenance Health",
"new-positions-openable": "New Positions Can Be Opened",
"liq-price": "清算價格",
"maint-weighted-assets": "維持加權資產價值",
"maint-weighted-liabilities": "維持加權借貸價值",
"maintenance-health": "維持健康度",
"new-positions-openable": "可擴大當前持倉",
"no": "不行",
"ok": "OK",
"percent-move-liquidation": "Percent Move To Liquidation",
"perp-entry": "Perp Entry",
"poor": "Poor",
"rekt": "Rekt",
"risk-calculator": "Risk Calculator",
"scenario-balances": "Scenario Balances",
"scenario-details": "Scenario Details",
"scenario-maint-health": "Scenario Maintenance Health:",
"simulate-orders-cancelled": "Simulate orders cancelled",
"single-asset-liq": "Single asset liquidation price assuming all other asset prices remain constant",
"spot-val-perp-val": "Spot Value + Perp Balance",
"tooltip-anchor-slider": "Set current pricing to be the anchor point (0%) for slider",
"tooltip-init-health": "Initial health must be above 0% to open new positions.",
"tooltip-maint-health": "Maintenance health must be above 0% to avoid liquidation.",
"very-poor": "Very Poor"
"percent-move-liquidation": "多大漲落導致清算",
"perp-entry": "永續合約入點",
"poor": "不好",
"rekt": "糟糕了",
"risk-calculator": "風險計算器",
"scenario-balances": "模擬餘額",
"scenario-details": "模擬細節",
"scenario-maint-health": "模擬維持健康度:",
"simulate-orders-cancelled": "架設取消掛單",
"single-asset-liq": "單個資產虛擬清算價格會假設所有其他資產價格不變",
"spot-val-perp-val": "現貨價直+合約餘額",
"tooltip-anchor-slider": "將目前資產價格定為滑快起點(0%)",
"tooltip-init-health": "為了擴大當前持倉,初始健康度必須高於0%。",
"tooltip-maint-health": "為了避免清算,維持健康度必須高於0%。",
"very-poor": "很不好",
"yes": "行"
}