From 6b223e62e19c21954e3d9cabfe19eca587a5cedf Mon Sep 17 00:00:00 2001 From: rjpeterson Date: Tue, 23 Nov 2021 22:17:17 -1000 Subject: [PATCH] rebase & add statsperps + account history translation --- components/AccountInfo.tsx | 2 +- components/DepositModal.tsx | 2 +- components/NewAccount.tsx | 2 +- components/OpenOrdersTable.tsx | 4 +- components/TradingView/index.tsx | 2 +- components/account_page/AccountFunding.tsx | 2 +- components/account_page/AccountHistory.tsx | 15 ++-- components/account_page/AccountInterest.tsx | 2 +- components/stats_page/StatsPerps.tsx | 16 ++--- components/trade_form/AdvancedTradeForm.tsx | 9 ++- pages/account.tsx | 10 +-- public/locales/en/common.json | 67 ++++++++++++------ public/locales/en/tv-chart.json | 3 +- public/locales/es/common.json | 71 ++++++++++++------- public/locales/es/tv-chart.json | 3 +- public/locales/zh/common.json | 77 +++++++++++++-------- public/locales/zh/tv-chart.json | 5 +- public/locales/zh_tw/common.json | 77 +++++++++++++-------- public/locales/zh_tw/tv-chart.json | 5 +- 19 files changed, 236 insertions(+), 138 deletions(-) diff --git a/components/AccountInfo.tsx b/components/AccountInfo.tsx index 0ffaa32a..708bac69 100644 --- a/components/AccountInfo.tsx +++ b/components/AccountInfo.tsx @@ -225,7 +225,7 @@ export default function AccountInfo() { {liquidationPrice && liquidationPrice.gt(ZERO_I80F48) ? (
- Est. Liq. Price + {t('estimated-liq-price')}
{usdFormatter(liquidationPrice)} diff --git a/components/DepositModal.tsx b/components/DepositModal.tsx index 8b9d8079..3c646251 100644 --- a/components/DepositModal.tsx +++ b/components/DepositModal.tsx @@ -211,7 +211,7 @@ const DepositModal: FunctionComponent = ({ {selectedAccount.config.symbol === 'SOL' && parseFloat(inputAmount) > selectedAccount.uiBalance - 0.01 ? (
- You must leave enough SOL in your wallet to pay for the transaction + {t('you-must-leave-enough-sol')}
) : null} {repayAmount ? ( diff --git a/components/NewAccount.tsx b/components/NewAccount.tsx index fb862629..b4e698a6 100644 --- a/components/NewAccount.tsx +++ b/components/NewAccount.tsx @@ -126,7 +126,7 @@ const NewAccount: FunctionComponent = ({ return ( <> - Create Account + {t('create-account')}
{t('insufficient-sol')}
diff --git a/components/OpenOrdersTable.tsx b/components/OpenOrdersTable.tsx index c31a41b5..05c5a748 100644 --- a/components/OpenOrdersTable.tsx +++ b/components/OpenOrdersTable.tsx @@ -78,9 +78,9 @@ const DesktopTable = ({ openOrders, cancelledOrderId, handleCancelOrder }) => { {formatUsdValue(order.price * order.size)} {order.perpTrigger && - `${order.orderType} ${ + `${t(order.orderType)} ${t( order.triggerCondition - } ${order.triggerPrice.toFixed(2)}`} + )} ${order.triggerPrice.toFixed(2)}`}
diff --git a/components/TradingView/index.tsx b/components/TradingView/index.tsx index 99be95bf..82c188c3 100755 --- a/components/TradingView/index.tsx +++ b/components/TradingView/index.tsx @@ -157,7 +157,7 @@ const TVChartContainer = () => { theme === 'Dark' || theme === 'Mango' ? 'rgb(242, 201, 76)' : 'rgb(255, 156, 36)' - button.setAttribute('title', 'Toggle order line visibility') + button.setAttribute('title', t('tv-chart:toggle-order-line')) button.addEventListener('click', function () { toggleShowOrderLines((showOrderLines) => !showOrderLines) if ( diff --git a/components/account_page/AccountFunding.tsx b/components/account_page/AccountFunding.tsx index 8b543aad..cf162893 100644 --- a/components/account_page/AccountFunding.tsx +++ b/components/account_page/AccountFunding.tsx @@ -221,7 +221,7 @@ const AccountFunding = () => { ) : (
- No funding earned/paid + {t('no-funding')}
)}
diff --git a/components/account_page/AccountHistory.tsx b/components/account_page/AccountHistory.tsx index 8496493a..1c3f398d 100644 --- a/components/account_page/AccountHistory.tsx +++ b/components/account_page/AccountHistory.tsx @@ -53,16 +53,15 @@ export default function AccountHistory() {
{t('history')}
- There may be a short delay in displaying your latest history. Use - the{' '} + {t('delay-displaying-recent')} {t('use-explorer-one')} - Explorer - {' '} - to verify any delayed transactions. + {t('use-explorer-two')} + + {t('use-explorer-three')}
@@ -80,7 +79,7 @@ export default function AccountHistory() { onClick={() => setView(key)} key={key as string} > - {label} + {t(label.toLowerCase())}
))}
@@ -482,7 +481,7 @@ const HistoryTable = ({ history, view }) => { target="_blank" rel="noopener noreferrer" > - View Transaction + {t('view-transaction')} @@ -494,7 +493,7 @@ const HistoryTable = ({ history, view }) => { ) : (
- History empty. + {t('history-empty')}
)} diff --git a/components/account_page/AccountInterest.tsx b/components/account_page/AccountInterest.tsx index 4efe4ff4..60cfbf20 100644 --- a/components/account_page/AccountInterest.tsx +++ b/components/account_page/AccountInterest.tsx @@ -323,7 +323,7 @@ const AccountInterest = () => { ) : (
- No interest earned/paid + {t('no-interest')}
)}
diff --git a/components/stats_page/StatsPerps.tsx b/components/stats_page/StatsPerps.tsx index 18185eb5..faf5de86 100644 --- a/components/stats_page/StatsPerps.tsx +++ b/components/stats_page/StatsPerps.tsx @@ -186,9 +186,9 @@ export default function StatsPerps({ perpStats }) { />
-
Liquidity Mining
+
{t('liquidity-mining')}
-
Depth Rewarded
+
{t('depth-rewarded')}
{maxDepthUi.toLocaleString() + ' ' + @@ -196,17 +196,17 @@ export default function StatsPerps({ perpStats }) {
-
Target Period Length
+
{t('target-period-length')}
{( selectedMarket.liquidityMiningInfo.targetPeriodLength.toNumber() / 60 ).toFixed()}{' '} - mins + {t('minutes')}
-
MNGO Per Period
+
{t('mngo-per-period')}
{( selectedMarket.liquidityMiningInfo.mngoPerPeriod.toNumber() / @@ -215,7 +215,7 @@ export default function StatsPerps({ perpStats }) {
-
MNGO Left In Period
+
{t('mngo-left-period')}
{( selectedMarket.liquidityMiningInfo.mngoLeft.toNumber() / @@ -225,11 +225,11 @@ export default function StatsPerps({ perpStats }) {
-
Est Period End
+
{t('est-period-end')}
{new Date(est * 1000).toUTCString()}
-
Period Progress
+
{t('period-progress')}
{(progress * 100).toFixed(2)}%
diff --git a/components/trade_form/AdvancedTradeForm.tsx b/components/trade_form/AdvancedTradeForm.tsx index 1c00b793..08818224 100644 --- a/components/trade_form/AdvancedTradeForm.tsx +++ b/components/trade_form/AdvancedTradeForm.tsx @@ -887,9 +887,14 @@ export default function AdvancedTradeForm({ )}
-
Maker fee: {(makerFee * 100).toFixed(2)}%
+
+ {t('maker-fee')}: {(makerFee * 100).toFixed(2)}%{' '} +
| -
Taker fee: {takerFee * 100}%
+
+ {' '} + {t('taker-fee')}: {takerFee * 100}% +
diff --git a/pages/account.tsx b/pages/account.tsx index 47e35be4..25a0e019 100644 --- a/pages/account.tsx +++ b/pages/account.tsx @@ -155,7 +155,7 @@ export default function Account() {

- {mangoAccount?.name || 'Account'} + {mangoAccount?.name || t('account')}

@@ -209,12 +209,12 @@ export default function Account() { ) : (
@@ -254,10 +254,10 @@ export default function Account() {
) : ( } onClickButton={() => setShowAccountsModal(true)} - title="No Account Found" + title={t('no-account-found')} /> ) ) : ( diff --git a/public/locales/en/common.json b/public/locales/en/common.json index e3c103c0..c5419613 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -4,6 +4,10 @@ "accept": "Accept", "accept-terms": "I understand and accept the risks", "account": "Account", + "account-details-tip-desc": "When you make your first deposit we'll set you up with a Mango Account. You'll need at least 0.0035 SOL in your wallet to cover the rent/cost of creating the account.", + "account-details-tip-title": "Account Details", + "account-health-tip-desc": "To avoid liquidation you must keep your account health above 0%. To increase the health of your account, reduce borrows or deposit funds.", + "account-health-tip-title": "Account Health", "account-name": "Account Name", "account-risk": "Account Risk", "account-value": "Account Value", @@ -54,23 +58,31 @@ "close-open-short": "100% close position and Open {{size}} {{symbol}} short", "close-position": "Close Position", "collateral-available": "Collateral Available", + "collateral-available-tip-desc": "The collateral value that can be used to take on leverage. Assets carry different collateral weights depending on the risk they present to the platform.", + "collateral-available-tip-title": "Collateral Available", "condition": "Condition", "confirm-deposit": "Confirm Deposit", "confirm-withdraw": "Confirm Withdraw", "connect": "Connect", "connect-view": "Connect a wallet to view your account", "connect-wallet": "Connect Wallet", + "connect-wallet-tip-desc": "We'll show you around...", + "connect-wallet-tip-title": "Connect your wallet", "connected-to": "Connected to wallet ", "copy-address": "Copy address", "country-not-allowed": "Country Not Allowed", + "create-account": "Create Account", "current-stats": "Current Stats", "custom": "Custom", "daily-change": "Daily Change", "daily-range": "Daily Range", "daily-volume": "24hr Volume", "dark": "Dark", + "data-refresh-tip-desc": "Data is refreshed automatically but you can manually refresh it here.", + "data-refresh-tip-title": "Manual Data Refresh", "date": "Date", "default-market": "Default Market", + "delay-displaying-recent": "There may be a delay in displaying the latest activity.", "deposit": "Deposit", "deposit-before": "You need more {{tokenSymbol}} in your wallet to fully repay your borrow", "deposit-failed": "Deposit failed", @@ -83,6 +95,7 @@ "deposit-value": "Deposit Value", "depositing": "You're about to deposit", "deposits": "Deposits", + "depth-rewarded": "Depth Rewarded", "details": "Details", "disconnect": "Disconnect", "done": "Done", @@ -93,6 +106,8 @@ "enter-amount": "Enter an amount to deposit", "enter-name": "Enter an account name", "equity": "Equity", + "est-period-end": "Est Period End", + "estimated-liq-price": "Est. Liq. Price", "explorer": "Explorer", "fee": "Fee", "fee-discount": "Fee Discount", @@ -104,14 +119,15 @@ "hide-all": "Hide all from Nav", "high": "High", "history": "History", + "history-empty": "History empty.", "hourly-borrow-interest": "Hourly Borrow Interest", "hourly-deposit-interest": "Hourly Deposit Interest", "hourly-funding": "Hourly Funding", "in-orders": "In Orders", "includes-borrow": "Includes borrow of", - "initial-deposit": "Initial Deposit", "init-error": "Could not perform init mango account and deposit operation", "init-health": "Init Health", + "initial-deposit": "Initial Deposit", "insufficient-balance-deposit": "Insufficient balance. Reduce the amount to deposit", "insufficient-balance-withdraw": "Insufficient balance. Borrow funds to withdraw", "insufficient-sol": "You need 0.035 SOL to create a Mango Account.", @@ -123,6 +139,10 @@ "intro-feature-3": "Deposit any asset and earn interest automatically", "intro-feature-4": "Borrow against your assets for other DeFi activities", "ioc": "IOC", + "languages-tip-desc": "Choose another language here. More coming soon...", + "languages-tip-title": "Multilingual?", + "layout-tip-desc": "Unlock to re-arrange and re-size the trading panels to your liking.", + "layout-tip-title": "Customize Layout", "learn": "Learn", "learn-more": "Learn more", "lets-go": "Let's Go", @@ -133,6 +153,7 @@ "limit-order": "Limit", "liquidations": "Liquidations", "liquidity": "Liquidity", + "liquidity-mining": "Liquidity Mining", "long": "long", "low": "Low", "maint-health": "Maint Health", @@ -148,10 +169,14 @@ "markets": "Markets", "max": "Max", "max-borrow": "Max Borrow Amount", + "max-depth-bps": "Max Depth Bps", "max-with-borrow": "Max With Borrow", + "minutes": "mins", "missing-price": "Missing price", "missing-size": "Missing size", "missing-trigger": "Missing trigger price", + "mngo-left-period": "MNGO Left In Period", + "mngo-per-period": "MNGO Per Period", "mngo-rewards": "MNGO Rewards", "moderate": "Moderate", "more": "More", @@ -166,12 +191,13 @@ "net-balance": "Net Balance", "new-account": "New", "next": "Next", + "no-account-found": "No Account Found", "no-address": "No {{tokenSymbol}} wallet address found", "no-balances": "No balances", "no-borrows": "No borrows found.", "no-funding": "No funding earned/paid", "no-history": "No trade history", - "no-interest": "No interest earned", + "no-interest": "No interest earned/paid", "no-margin": "No Margin Accounts Found", "no-orders": "No open orders", "no-perp": "No perp positions", @@ -189,9 +215,12 @@ "orderbook": "Orderbook", "orderbook-animation": "Orderbook Animation", "orders": "Orders", + "period-progress": "Period Progress", "perp": "Perp", "perp-fees": "Mango Perp Fees", "perp-positions": "Perp Positions", + "perp-positions-tip-desc": "Perp positions accrue Unsettled PnL as price moves. Settling PnL adds or removes that amount from your USDC balance.", + "perp-positions-tip-title": "Perp Position Details", "perpetual-futures": "Perpetual Futures", "perps": "Perps", "pnl-error": "Error settling PNL", @@ -207,8 +236,11 @@ "price-impact": "Est. Price Impact", "price-unavailable": "Price not available", "prices-changed": "Prices have changed and increased your leverage. Reduce the withdrawal amount.", + "profile-menu-tip-desc": "Access your Mango Accounts, copy your wallet address and disconnect here.", + "profile-menu-tip-title": "Profile Menu", "profit-price": "Profit Price", "quantity": "Quantity", + "rate": "Rate", "rates": "Deposit/Borrow Rates", "read-more": "Read More", "recent": "Recent", @@ -255,6 +287,9 @@ "take-profit": "Take Profit", "take-profit-limit": "Take Profit Limit", "taker-fee": "Taker Fee", + "target-period-length": "Target Period Length", + "themes-tip-desc": "Mango, Dark or Light (if you're that way inclined).", + "themes-tip-title": "Color Themes", "time": "Time", "token": "Token", "too-large": "Size Too Large", @@ -292,6 +327,7 @@ "totals": "Totals", "trade": "Trade", "trade-history": "Trade History", + "trades": "Trades", "transaction-sent": "Transaction sent", "trigger-price": "Trigger Price", "try-again": "Please try again", @@ -301,12 +337,16 @@ "unsettled-balance": "Unsettled Balance", "unsettled-balances": "Unsettled Balances", "unsettled-positions": "Unsettled Positions", + "use-explorer-one": "Use the ", + "use-explorer-two": "Explorer ", + "use-explorer-three": "to verify any delayed transactions.", "utilization": "Utilization", "v3-new": "V3 is a new and separate program from V2. You can access your V2 account in the 'More' section of the top bar or by using this link:", "v3-unaudited": "The V3 protocol is in public beta. This is unaudited software, use it at your own risk.", "v3-welcome": "Welcome to Mango", "value": "Value", "view-all-trades": "View all trades in the Account page", + "view-transaction": "View Transaction", "wallet-connected": "Wallet connected", "wallet-disconnected": "Disconnected from wallet", "withdraw": "Withdraw", @@ -314,27 +354,8 @@ "withdraw-funds": "Withdraw Funds", "withdraw-success": "Withdraw successful", "withdrawals": "Withdrawals", + "you-must-leave-enough-sol": "You must leave enough SOL in your wallet to pay for the transaction", "your-account": "Your Account", "your-assets": "Your Assets", - "your-borrows": "Your Borrows", - "connect-wallet-tip-title": "Connect your wallet", - "connect-wallet-tip-desc": "We'll show you around...", - "profile-menu-tip-title": "Profile Menu", - "profile-menu-tip-desc": "Access your Mango Accounts, copy your wallet address and disconnect here.", - "themes-tip-title": "Color Themes", - "themes-tip-desc": "Mango, Dark or Light (if you're that way inclined).", - "languages-tip-title": "Multilingual?", - "languages-tip-desc": "Choose another language here. More coming soon...", - "data-refresh-tip-title": "Manual Data Refresh", - "data-refresh-tip-desc": "Data is refreshed automatically but you can manually refresh it here.", - "layout-tip-title": "Customize Layout", - "layout-tip-desc": "Unlock to re-arrange and re-size the trading panels to your liking.", - "perp-positions-tip-title": "Perp Position Details", - "perp-positions-tip-desc": "Perp positions accrue Unsettled PnL as price moves. Settling PnL adds or removes that amount from your USDC balance.", - "account-details-tip-title": "Account Details", - "account-details-tip-desc": "When you make your first deposit we'll set you up with a Mango Account. You'll need at least 0.0035 SOL in your wallet to cover the rent/cost of creating the account.", - "collateral-available-tip-title": "Collateral Available", - "collateral-available-tip-desc": "The collateral value that can be used to take on leverage. Assets carry different collateral weights depending on the risk they present to the platform.", - "account-health-tip-title": "Account Health", - "account-health-tip-desc": "To avoid liquidation you must keep your account health above 0%. To increase the health of your account, reduce borrows or deposit funds." + "your-borrows": "Your Borrows" } \ No newline at end of file diff --git a/public/locales/en/tv-chart.json b/public/locales/en/tv-chart.json index 757eec39..a3953bfe 100644 --- a/public/locales/en/tv-chart.json +++ b/public/locales/en/tv-chart.json @@ -8,5 +8,6 @@ "order-details": " ({{orderType}} {{orderSide}}) if price is {{triggerCondition}} {{triggerPrice}}", "outside-range": "Order Price Outside Range", "slippage-accept": "Please use the trade input form if you wish to accept the potential slippage.", - "slippage-warning": "Your order price ({{updatedOrderPrice}}) is greater than 5% {{aboveBelow}} the current market price ({{selectedMarketPrice}}) indicating you might incur significant slippage." + "slippage-warning": "Your order price ({{updatedOrderPrice}}) is greater than 5% {{aboveBelow}} the current market price ({{selectedMarketPrice}}) indicating you might incur significant slippage.", + "toggle-order-line": "Toggle order line visibility" } \ No newline at end of file diff --git a/public/locales/es/common.json b/public/locales/es/common.json index 43e3163f..2f84ac1b 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -4,6 +4,10 @@ "accept": "Aceptar", "accept-terms": "Entiendo y acepto los riesgos", "account": "Cuenta", + "account-details-tip-desc": "Cuando haga su primer depósito, lo configuraremos con una Cuenta Mango. Necesitará al menos 0.0035 SOL en su billetera para cubrir el alquiler / costo de crear la cuenta.", + "account-details-tip-title": "Detalles de la cuenta", + "account-health-tip-desc": "Para evitar la liquidación, debe mantener el estado de su cuenta por encima del 0%. Para mejorar el estado de su cuenta, reduzca los préstamos o los fondos de depósito.", + "account-health-tip-title": "Estado de la cuenta", "account-name": "Nombre de la cuenta", "account-risk": "Riesgo de cuenta", "account-value": "Valor de la cuenta", @@ -54,22 +58,31 @@ "close-open-short": "Posición 100% cerrada + Abre un {{size}} {{symbol}} vende", "close-position": "Posición cerrada", "collateral-available": "Garantía disponible", + "collateral-available-tip-desc": "El valor de la garantía que se puede utilizar para tomar apalancamiento. Los activos tienen diferentes pesos de garantía según el riesgo que presentan para la plataforma.", + "collateral-available-tip-title": "Garantía disponible", "condition": "Condición", "confirm-deposit": "Confirmar depósito", "confirm-withdraw": "Confirmar retiro", "connect": "Conectar", "connect-view": "Conecte una billetera para ver su cuenta", "connect-wallet": "Conecte una billetera", + "connect-wallet-tip-desc": "Te mostraremos los alrededores...", + "connect-wallet-tip-title": "Conecta tu billetera", "connected-to": "Conectado a billetera ", "copy-address": "Copy address", "country-not-allowed": "País no permitido", + "create-account": "Create Account", "current-stats": "Estadísticas actuales", "custom": "Personalizada", "daily-change": "Cambio diario", "daily-range": "Rango diario", "daily-volume": "Volumen de 24 horas", "dark": "Oscura", + "data-refresh-tip-desc": "Los datos se actualizan automáticamente, pero puede actualizarlos manualmente aquí.", + "data-refresh-tip-title": "Actualización manual de datos", + "date": "Date", "default-market": "Mercado predeterminado", + "delay-displaying-recent": "There may be a delay in displaying the latest activity.", "deposit": "Depositar", "deposit-before": "Necesita más {{tokenSymbol}} en su billetera para pagar completamente su préstamo", "deposit-failed": "El depósito falló", @@ -82,15 +95,19 @@ "deposit-value": "Valor de depósito", "depositing": "Estás a punto de depositar", "deposits": "Depósitos", + "depth-rewarded": "Depth Rewarded", "details": "Detalles", "disconnect": "Disconnect", "done": "Done", "edit": "Editar", + "edit-name": "Edit Name", "edit-nickname": "Edite el apodo público de su cuenta", "english": "English", "enter-amount": "Ingrese una cantidad para depositar", "enter-name": "Ingrese un nombre de cuenta", "equity": "Capital", + "est-period-end": "Est Period End", + "estimated-liq-price": "Est. Liq. Price", "explorer": "Explorador", "fee": "Tarifa", "fee-discount": "comisiones", @@ -102,14 +119,15 @@ "hide-all": "Ocultar todo de Nav", "high": "Alta", "history": "La Historia", + "history-empty": "History empty.", "hourly-borrow-interest": "Préstamo prestado por hora", "hourly-deposit-interest": "Interés por depósito por hora", "hourly-funding": "Financiamiento por hora", "in-orders": "En ordenes", "includes-borrow": "Incluye el prestado de", - "initial-deposit": "Depósito inicial", "init-error": "No se pudo realizar la operación de depósito y cuenta de margen inicial", "init-health": "Salud Init", + "initial-deposit": "Depósito inicial", "insufficient-balance-deposit": "Saldo insuficiente. Reducir la cantidad a depositar", "insufficient-balance-withdraw": "Saldo insuficiente. Pedir prestados fondos para retirar", "insufficient-sol": "Necesita 0.035 SOL para crear una cuenta de mango.", @@ -121,6 +139,10 @@ "intro-feature-3": "Deposite cualquier activo y gane intereses automáticamente", "intro-feature-4": "Pida prestado contra sus activos para otras actividades de DeFi", "ioc": "IOC", + "languages-tip-desc": "Elija otro idioma aquí. Más próximamente...", + "languages-tip-title": "Multilingüe?", + "layout-tip-desc": "Desbloquee para reorganizar y cambiar el tamaño de los paneles comerciales a su gusto.", + "layout-tip-title": "Personalizar diseño", "learn": "Aprender", "learn-more": "Aprender mas", "lets-go": "Vamos", @@ -131,6 +153,7 @@ "limit-order": "orden de límite", "liquidations": "Liquidaciones", "liquidity": "Liquidez", + "liquidity-mining": "Liquidity Mining", "long": "larga", "low": "Bajo", "maint-health": "Salud de mantenimiento", @@ -146,10 +169,14 @@ "markets": "Mercados", "max": "Maximo", "max-borrow": "Monto máximo del préstamo", + "max-depth-bps": "Max Depth Bps", "max-with-borrow": "Máximo con préstamo", + "minutes": "mins", "missing-price": "Falta el precio", "missing-size": "Falta el tamaño", "missing-trigger": "Falta el precio de activación", + "mngo-left-period": "MNGO Left In Period", + "mngo-per-period": "MNGO Per Period", "mngo-rewards": "Recompensas MNGO", "moderate": "Moderada", "more": "Mas", @@ -164,12 +191,13 @@ "net-balance": "Balance neto", "new-account": "Nuevo", "next": "Próximo", + "no-account-found": "No Account Found", "no-address": "No ${tokenSymbol} dirección de billetera encontrada", "no-balances": "Sin saldos", "no-borrows": "No se encontraron préstamos.", "no-funding": "Sin fondos ganados / pagados", "no-history": "Sin historial comercial", - "no-interest": "Sin intereses devengados", + "no-interest": "Sin intereses ganados / pagados", "no-margin": "No se encontraron cuentas de margen", "no-orders": "No hay órdenes abiertas", "no-perp": "No hay puestos de delincuentes", @@ -187,9 +215,12 @@ "orderbook": "libro de ordenes", "orderbook-animation": "Animación del libro de ordenes", "orders": "ordenes", + "period-progress": "Period Progress", "perp": "perpetuo", "perp-fees": "Tarifas de Mango Perp", "perp-positions": "Posiciones perpetuas", + "perp-positions-tip-desc": "Las posiciones de perp acumulan PnL sin liquidar a medida que se mueve el precio. La liquidación de PnL agrega o elimina esa cantidad de su saldo en USDC.", + "perp-positions-tip-title": "Detalles de la posición de perp", "perpetual-futures": "Futuros perpetuos", "perps": "perpetuos", "pnl-error": "Solución de errores PNL", @@ -205,8 +236,11 @@ "price-impact": "Est. Impacto en el precio:", "price-unavailable": "Precio no disponible", "prices-changed": "Los precios han cambiado y han aumentado su apalancamiento. Reducir la cantidad de retiro.", + "profile-menu-tip-desc": "Acceda a sus cuentas de Mango, copie la dirección de su billetera y desconéctese aquí.", + "profile-menu-tip-title": "Menú de perfil", "profit-price": "Precio de beneficio", "quantity": "Cantidad", + "rate": "Rate", "rates": "Tasas de depósito / préstamo", "read-more": "Leer más", "recent": "Reciente", @@ -253,6 +287,9 @@ "take-profit": "Tomar ganancias", "take-profit-limit": "Tomar el límite de ganancias", "taker-fee": "Orden mercado", + "target-period-length": "Target Period Length", + "themes-tip-desc": "Mango, Dark o Light (si te gusta eso).", + "themes-tip-title": "Temas de color", "time": "Tiempo", "token": "Simbólico", "too-large": "Tamaño demasiado grande", @@ -290,6 +327,7 @@ "totals": "Totales", "trade": "Comercio", "trade-history": "Historial comercial", + "trades": "Trades", "transaction-sent": "Transacción enviada", "trigger-price": "Precio de activación", "try-again": "Inténtalo de nuevo", @@ -299,12 +337,16 @@ "unsettled-balance": "saldo pendiente", "unsettled-balances": "Saldos pendientes", "unsettled-positions": "Posiciones sin saldar", + "use-explorer-one": "Use the ", + "use-explorer-two": "Explorer ", + "use-explorer-three": "to verify any delayed transactions.", "utilization": "Utilización", "v3-new": "V3 es un programa nuevo e independiente de V2. Puede acceder a su cuenta V2 en el 'More' sección de la barra superior o usando este enlace:", "v3-unaudited": "El protocolo V3 está en versión beta pública. Este es un software no auditado, utilícelo bajo su propio riesgo.", "v3-welcome": "Bienvenido a Mango V3", "value": "Valor", "view-all-trades": "Ver todas las operaciones en la página de la cuenta", + "view-transaction": "View Transaction", "wallet-connected": "Wallet connected", "wallet-disconnected": "Disconnected from wallet", "withdraw": "Retirar", @@ -312,27 +354,8 @@ "withdraw-funds": "Retirar Fondos", "withdraw-success": "Retirarse exitoso", "withdrawals": "Withdrawals", + "you-must-leave-enough-sol": "You must leave enough SOL in your wallet to pay for the transaction", "your-account": "Su cuenta", "your-assets": "Sus activos", - "your-borrows": "Sus préstamos", - "connect-wallet-tip-title": "Conecta tu billetera", - "connect-wallet-tip-desc": "Te mostraremos los alrededores...", - "profile-menu-tip-title": "Menú de perfil", - "profile-menu-tip-desc": "Acceda a sus cuentas de Mango, copie la dirección de su billetera y desconéctese aquí.", - "themes-tip-title": "Temas de color", - "themes-tip-desc": "Mango, Dark o Light (si te gusta eso).", - "languages-tip-title": "Multilingüe?", - "languages-tip-desc": "Elija otro idioma aquí. Más próximamente...", - "data-refresh-tip-title": "Actualización manual de datos", - "data-refresh-tip-desc": "Los datos se actualizan automáticamente, pero puede actualizarlos manualmente aquí.", - "layout-tip-title": "Personalizar diseño", - "layout-tip-desc": "Desbloquee para reorganizar y cambiar el tamaño de los paneles comerciales a su gusto.", - "perp-positions-tip-title": "Detalles de la posición de perp", - "perp-positions-tip-desc": "Las posiciones de perp acumulan PnL sin liquidar a medida que se mueve el precio. La liquidación de PnL agrega o elimina esa cantidad de su saldo en USDC.", - "account-details-tip-title": "Detalles de la cuenta", - "account-details-tip-desc": "Cuando haga su primer depósito, lo configuraremos con una Cuenta Mango. Necesitará al menos 0.0035 SOL en su billetera para cubrir el alquiler / costo de crear la cuenta.", - "collateral-available-tip-title": "Garantía disponible", - "collateral-available-tip-desc": "El valor de la garantía que se puede utilizar para tomar apalancamiento. Los activos tienen diferentes pesos de garantía según el riesgo que presentan para la plataforma.", - "account-health-tip-title": "Estado de la cuenta", - "account-health-tip-desc": "Para evitar la liquidación, debe mantener el estado de su cuenta por encima del 0%. Para mejorar el estado de su cuenta, reduzca los préstamos o los fondos de depósito." -} + "your-borrows": "Sus préstamos" +} \ No newline at end of file diff --git a/public/locales/es/tv-chart.json b/public/locales/es/tv-chart.json index 757eec39..6170b3d9 100644 --- a/public/locales/es/tv-chart.json +++ b/public/locales/es/tv-chart.json @@ -8,5 +8,6 @@ "order-details": " ({{orderType}} {{orderSide}}) if price is {{triggerCondition}} {{triggerPrice}}", "outside-range": "Order Price Outside Range", "slippage-accept": "Please use the trade input form if you wish to accept the potential slippage.", - "slippage-warning": "Your order price ({{updatedOrderPrice}}) is greater than 5% {{aboveBelow}} the current market price ({{selectedMarketPrice}}) indicating you might incur significant slippage." + "slippage-warning": "Your order price ({{updatedOrderPrice}}) is greater than 5% {{aboveBelow}} the current market price ({{selectedMarketPrice}}) indicating you might incur significant slippage.", + "toggle-order-line": "Toggle order line visibility" } \ No newline at end of file diff --git a/public/locales/zh/common.json b/public/locales/zh/common.json index 9c98d223..397c72f3 100644 --- a/public/locales/zh/common.json +++ b/public/locales/zh/common.json @@ -1,9 +1,13 @@ { "about-to-withdraw": "您正在存款", - "above": "以上", + "above": "高于", "accept": "接受", "accept-terms": "我明白并接受使用此平台的风险", "account": "帐户", + "account-details-tip-desc": "当您进行首次存款时,我们将为您设置一个Mango账户。您的钱包中至少需要0.0035 SOL才能支付创建帐户的押金。", + "account-details-tip-title": "帐户细节", + "account-health-tip-desc": "为了避免被清算,您必须将帐户健康度保持在0%以上。为了提高健康度,请减少借贷或存入资产。", + "account-health-tip-title": "帐户健康", "account-name": "帐户标签", "account-risk": "帐户风险度", "account-value": "帐户价值", @@ -24,7 +28,7 @@ "balance": "帐户余额", "balances": "帐户余额", "being-liquidated": "您的帐户正在被清算!", - "below": "以下", + "below": "低于", "borrow": "借贷", "borrow-funds": "借贷", "borrow-interest": "借贷利息", @@ -54,22 +58,31 @@ "close-open-short": "100%平仓以及做空{{size}} {{symbol}}", "close-position": "平仓", "collateral-available": "可用质押品", + "collateral-available-tip-desc": "可用于杠杆交易的质押品价值。资产具有不同的质押权重(根据资产给平台带来的风险)。", + "collateral-available-tip-title": "可用质押品", "condition": "状态", "confirm-deposit": "确认存款", "confirm-withdraw": "确认取款", "connect": "连结", "connect-view": "连结钱包而看帐户状态", "connect-wallet": "连结钱包", + "connect-wallet-tip-desc": "我们会带你四处看看...", + "connect-wallet-tip-title": "连结钱包", "connected-to": "连结钱包", "copy-address": "复制地址", "country-not-allowed": "您的国家不允许", + "create-account": "创建帐户", "current-stats": "当前统计", "custom": "自定义", "daily-change": "24小时变动", "daily-range": "24小时广度", "daily-volume": "24小时成交量", "dark": "黑暗", + "data-refresh-tip-desc": "虽然数据会自动更新,但您还是可以点击手动更新。", + "data-refresh-tip-title": "手动数据更新", + "date": "日期", "default-market": "预设市场", + "delay-displaying-recent": "显示最近状态也许有所延误。", "deposit": "存款", "deposit-before": "归还全借贷前您得先多存入{{tokenSymbol}}", "deposit-failed": "存款失败", @@ -82,6 +95,7 @@ "deposit-value": "存款价值", "depositing": "您正在存款", "deposits": "存款", + "depth-rewarded": "奖励深度", "details": "细节", "disconnect": "断开连结", "done": "完成", @@ -92,6 +106,8 @@ "enter-amount": "输入存款数量", "enter-name": "输入帐户标签", "equity": "余额", + "est-period-end": "预计期末时间", + "estimated-liq-price": "预计清算价格", "explorer": "浏览器", "fee": "费率", "fee-discount": "费率折扣", @@ -103,12 +119,13 @@ "hide-all": "在导航栏中隐藏全部", "high": "高", "history": "历史", + "history-empty": "没有历史", "hourly-borrow-interest": "1小时借贷利息", "hourly-deposit-interest": "1小时存款利息", "hourly-funding": "1小时资金费", "in-orders": "在掛单中", "includes-borrow": "包括存入", - "init-error": "创建保证金帐户与存款出错了", + "init-error": "创建Mango帐户与存款出错了", "init-health": "初始健康度", "initial-deposit": "初始存款", "insufficient-balance-deposit": "帐户余额不够。请减少存入数量", @@ -122,6 +139,10 @@ "intro-feature-3": "将任何资产存入来自动赚取利息", "intro-feature-4": "为了趁其他DeFi机会而以您的资产当作借贷质押品", "ioc": "IOC", + "languages-tip-desc": "在这里可选介面语言。更多选择将来...", + "languages-tip-title": "您会多种语言吗?", + "layout-tip-desc": "解锁并根据您的喜好重新排列和调整交易面板的大小。", + "layout-tip-title": "个人化页面布局", "learn": "学习", "learn-more": "学习", "lets-go": "前往", @@ -132,6 +153,7 @@ "limit-order": "限价", "liquidations": "清算历史", "liquidity": "流动性", + "liquidity-mining": "流动性挖矿", "long": "做多", "low": "低", "maint-health": "维持健康度", @@ -147,10 +169,14 @@ "markets": "市场", "max": "最多", "max-borrow": "最多借贷数量", + "max-depth-bps": "最大深度Bps", "max-with-borrow": "借用最大值", + "minutes": "分钟", "missing-price": "没有价格", "missing-size": "没有数量", "missing-trigger": "没有触发价格", + "mngo-left-period": "期间剩余的MNGO", + "mngo-per-period": "每期MNGO", "mngo-rewards": "MNGO奖励", "moderate": "中", "more": "更多", @@ -165,12 +191,13 @@ "net-balance": "净余额", "new-account": "新子帐户", "next": "前往", + "no-account-found": "您没有帐户", "no-address": "没有{{tokenSymbol}}钱包地址", "no-balances": "您没有余额", "no-borrows": "您没有借贷。", "no-funding": "您未收/付过资金费", "no-history": "您没有交易纪录", - "no-interest": "您没赚过利息", + "no-interest": "您未收/付过利息", "no-margin": "查不到保证金帐户", "no-orders": "您没有订单", "no-perp": "您没有永续合约持仓", @@ -188,9 +215,12 @@ "orderbook": "订单簿", "orderbook-animation": "订单动画", "orders": "订单", + "period-progress": "期间进度", "perp": "Perp", "perp-fees": "Mango永续合约费率", "perp-positions": "合约当前持仓", + "perp-positions-tip-desc": "永续合约当前持仓随着价格波动而累积未结清盈亏。结清盈亏会给您的USDC余额增加或减少。", + "perp-positions-tip-title": "永续合约当前持仓细节", "perpetual-futures": "永续合约", "perps": "永续合约", "pnl-error": "结清盈亏出错了", @@ -206,8 +236,11 @@ "price-impact": "预计价格影响", "price-unavailable": "无法取价格", "prices-changed": "价格波动导致您的杠杆增加了。请减少取款数量。", + "profile-menu-tip-desc": "在这里可以看看您的Mango帐户,复制钱包地址以及段开钱包连结。", + "profile-menu-tip-title": "个人资料菜单", "profit-price": "止盈价格", "quantity": "数量", + "rate": "排放率", "rates": "存款/借贷利率", "read-more": "看更多资料", "recent": "最近", @@ -249,11 +282,14 @@ "stop-limit": "限价止损", "stop-loss": "市场止损", "stop-price": "止损价格", - "successfully-placed": "已成交了", + "successfully-placed": "已下单了", "supported-assets": "请给钱包存入已被支持的币种。", "take-profit": "止盈", "take-profit-limit": "限价止盈", "taker-fee": "吃单费率", + "target-period-length": "目标期间长度", + "themes-tip-desc": "Mango,黑暗或明亮(看您偏向)。", + "themes-tip-title": "颜色模式", "time": "时间", "token": "币种", "too-large": "数量太大", @@ -291,7 +327,9 @@ "totals": "总量", "trade": "交易", "trade-history": "交易纪录", + "trades": "成交", "transaction-sent": "已下订单", + "trigger-price": "触发价格", "try-again": "请再试一次", "type": "类型", "unrealized-pnl": "未实现盈亏", @@ -299,40 +337,25 @@ "unsettled-balance": "未结清余额", "unsettled-balances": "未结清余额", "unsettled-positions": "未结清持仓", + "use-explorer-one": "使用", + "use-explorer-two": "浏览器", + "use-explorer-three": "来验证延迟的交易", "utilization": "利用率", "v3-new": "V3与V2完全不一样。仍要登录V2的人可以在导航栏点「更多」或此链接:", "v3-unaudited": "Mango V3目前还是测试版。此软体未经过审计。风险自负。", "v3-welcome": "欢迎到Mango V3", "value": "价值", "view-all-trades": "在帐户页面查看所以交易", + "view-transaction": "查看交易", "wallet-connected": "已连结钱包", "wallet-disconnected": "断开钱包连结", "withdraw": "取款", "withdraw-error": "无法取款", "withdraw-funds": "取款", "withdraw-success": "已取款", - "withdrawals": "取款历史", + "withdrawals": "取款", + "you-must-leave-enough-sol": "您必须在钱包中保留足够的 SOL 来支付交易费用", "your-account": "您的帐户", "your-assets": "您的资产", - "your-borrows": "您的借入", - "connect-wallet-tip-title": "连结钱包", - "connect-wallet-tip-desc": "我们会带你四处看看...", - "profile-menu-tip-title": "个人资料菜单", - "profile-menu-tip-desc": "在这里可以看看您的Mango帐户,复制钱包地址以及段开钱包连结。", - "themes-tip-title": "颜色模式", - "themes-tip-desc": "Mango,黑暗或明亮(看您偏向)。", - "languages-tip-title": "您会多种语言吗?", - "languages-tip-desc": "在这里可选介面语言。更多选择将来...", - "data-refresh-tip-title": "手动数据更新", - "data-refresh-tip-desc": "虽然数据会自动更新,但您还是可以点击手动更新。", - "layout-tip-title": "个人化页面布局", - "layout-tip-desc": "解锁并根据您的喜好重新排列和调整交易面板的大小。", - "perp-positions-tip-title": "永续合约当前持仓细节", - "perp-positions-tip-desc": "永续合约当前持仓随着价格波动而累积未结清盈亏。结清盈亏会给您的USDC余额增加或减少。", - "account-details-tip-title": "帐户细节", - "account-details-tip-desc": "当您进行首次存款时,我们将为您设置一个Mango账户。您的钱包中至少需要0.0035 SOL才能支付创建帐户的押金。", - "collateral-available-tip-title": "可用质押品", - "collateral-available-tip-desc": "可用于杠杆交易的质押品价值。资产具有不同的质押权重(根据资产给平台带来的风险)。", - "account-health-tip-title": "帐户健康", - "account-health-tip-desc": "为了避免被清算,您必须将帐户健康度保持在0%以上。为了提高健康度,请减少借贷或存入资产。" + "your-borrows": "您的借入" } \ No newline at end of file diff --git a/public/locales/zh/tv-chart.json b/public/locales/zh/tv-chart.json index 3cb512d3..24036be7 100644 --- a/public/locales/zh/tv-chart.json +++ b/public/locales/zh/tv-chart.json @@ -5,8 +5,9 @@ "cancel-order-details": "您确定要取消{{orderSize}} {{baseSymbol}} {{orderSide}} 价格${{orderPrice}}的挂单吗?", "modify-order": "改您的订单吗?", "modify-order-details": "您确定要把{{orderSize}} {{baseSymbol}}{{orderSide}} 价格${{currentOrderPrice}}的挂单改成{{orderSize}} {{baseSymbol}}限价{{orderSide}} 价格${{updatedOrderPrice}}吗?", - "order-details": "({{orderType}}{{orderSide}})若价格{{triggerPrice}}{{triggerCondition}}", + "order-details": "({{orderType}}{{orderSide}})若价格{{triggerCondition}}{{triggerPrice}}", "outside-range": "订单价格在范围之外", "slippage-accept": "若您接受潜在的下滑请使用交易表格进行。", - "slippage-warning": "您的订单价格({{updatedOrderPrice}})多余5%{{aboveBelow}}市场价格({{selectedMarketPrice}})表是您也许遭受可观的下滑。" + "slippage-warning": "您的订单价格({{updatedOrderPrice}})多余5%{{aboveBelow}}市场价格({{selectedMarketPrice}})表是您也许遭受可观的下滑。", + "toggle-order-line": "切换订单线可见性" } \ No newline at end of file diff --git a/public/locales/zh_tw/common.json b/public/locales/zh_tw/common.json index 2eaa4f0c..47f11be3 100644 --- a/public/locales/zh_tw/common.json +++ b/public/locales/zh_tw/common.json @@ -1,9 +1,13 @@ { "about-to-withdraw": "您正在存款", - "above": "以上", + "above": "高於", "accept": "接受", "accept-terms": "我明白並接受使用此平台的風險", "account": "帳戶", + "account-details-tip-desc": "當您進行首次存款時,我們將為您設置一個Mango賬戶。您的錢包中至少需要0.0035 SOL才能支付創建帳戶的押金。", + "account-details-tip-title": "帳戶細節", + "account-health-tip-desc": "為了避免被清算,您必須將帳戶健康度保持在0%以上。為了提高健康度,請減少借貸或存入資產。", + "account-health-tip-title": "帳戶健康", "account-name": "帳戶標籤", "account-risk": "帳戶風險度", "account-value": "帳戶價值", @@ -24,7 +28,7 @@ "balance": "帳戶餘額", "balances": "帳戶餘額", "being-liquidated": "您的帳戶正在被清算!", - "below": "以下", + "below": "低於", "borrow": "借貸", "borrow-funds": "借貸", "borrow-interest": "借貸利息", @@ -54,22 +58,31 @@ "close-open-short": "100%平倉以及做空{{size}} {{symbol}}", "close-position": "平倉", "collateral-available": "可用質押品", + "collateral-available-tip-desc": "可用於槓桿交易的質押品價值。資產具有不同的質押權重(根據資產給平台帶來的風險)。", + "collateral-available-tip-title": "可用質押品", "condition": "狀態", "confirm-deposit": "確認存款", "confirm-withdraw": "確認取款", "connect": "連結", "connect-view": "連結錢包而看帳戶狀態", "connect-wallet": "連結錢包", + "connect-wallet-tip-desc": "我們會帶你四處看看...", + "connect-wallet-tip-title": "連結錢包", "connected-to": "連結錢包", "copy-address": "複製地址", "country-not-allowed": "您的國家不允許", + "create-account": "創建帳戶", "current-stats": "當前統計", "custom": "自定義", "daily-change": "24小時變動", "daily-range": "24小時廣度", "daily-volume": "24小時成交量", "dark": "黑暗", + "data-refresh-tip-desc": "雖然數據會自動更新,但您還是可以點擊手動更新。", + "data-refresh-tip-title": "手動數據更新", + "date": "日期", "default-market": "預設市場", + "delay-displaying-recent": "顯示最近狀態也許有所延誤。", "deposit": "存款", "deposit-before": "歸還全借貸前您得先多存入{{tokenSymbol}}", "deposit-failed": "存款失敗", @@ -82,6 +95,7 @@ "deposit-value": "存款價值", "depositing": "您正在存款", "deposits": "存款", + "depth-rewarded": "獎勵深度", "details": "細節", "disconnect": "斷開連結", "done": "完成", @@ -92,6 +106,8 @@ "enter-amount": "輸入存款數量", "enter-name": "輸入帳戶標籤", "equity": "餘額", + "est-period-end": "預計期末時間", + "estimated-liq-price": "預計清算價格", "explorer": "瀏覽器", "fee": "費率", "fee-discount": "費率折扣", @@ -103,12 +119,13 @@ "hide-all": "在導航欄中隱藏全部", "high": "高", "history": "歷史", + "history-empty": "沒有歷史", "hourly-borrow-interest": "1小時借貸利息", "hourly-deposit-interest": "1小時存款利息", "hourly-funding": "1小時資金費", "in-orders": "在掛單中", "includes-borrow": "包括存入", - "init-error": "創建保證金帳戶與存款出錯了", + "init-error": "創建Mango帳戶與存款出錯了", "init-health": "初始健康度", "initial-deposit": "初始存款", "insufficient-balance-deposit": "帳戶餘額不夠。請減少存入數量", @@ -122,6 +139,10 @@ "intro-feature-3": "將任何資產存入來自動賺取利息", "intro-feature-4": "為了趁其他DeFi機會而以您的資產當作借貸質押品", "ioc": "IOC", + "languages-tip-desc": "在這裡可選介面語言。更多選擇將來...", + "languages-tip-title": "您會多種語言嗎?", + "layout-tip-desc": "解锁並根据您的喜好重新排列和调整交易面板的大小。", + "layout-tip-title": "個人化頁面佈局", "learn": "學習", "learn-more": "學習", "lets-go": "前往", @@ -132,6 +153,7 @@ "limit-order": "限價", "liquidations": "清算歷史", "liquidity": "流動性", + "liquidity-mining": "流動性挖礦", "long": "做多", "low": "低", "maint-health": "維持健康度", @@ -147,10 +169,14 @@ "markets": "市場", "max": "最多", "max-borrow": "最多借貸數量", + "max-depth-bps": "最大深度Bps", "max-with-borrow": "借用最大值", + "minutes": "分鐘", "missing-price": "沒有價格", "missing-size": "沒有數量", "missing-trigger": "沒有觸發價格", + "mngo-left-period": "期間剩餘的MNGO", + "mngo-per-period": "每期MNGO", "mngo-rewards": "MNGO獎勵", "moderate": "中", "more": "更多", @@ -165,12 +191,13 @@ "net-balance": "淨餘額", "new-account": "新子帳戶", "next": "前往", + "no-account-found": "您沒有帳戶", "no-address": "沒有{{tokenSymbol}}錢包地址", "no-balances": "您沒有餘額", "no-borrows": "您沒有借貸。", "no-funding": "您未收/付過資金費", "no-history": "您沒有交易紀錄", - "no-interest": "您沒賺過利息", + "no-interest": "您未收/付過利息", "no-margin": "查不到保證金帳戶", "no-orders": "您沒有訂單", "no-perp": "您沒有永續合約持倉", @@ -188,9 +215,12 @@ "orderbook": "掛單簿", "orderbook-animation": "訂單動畫", "orders": "訂單", + "period-progress": "期間進度", "perp": "Perp", "perp-fees": "Mango永續合約費率", "perp-positions": "合約當前持倉", + "perp-positions-tip-desc": "永續合約當前持倉隨著價格波動而累積未結清盈虧。結清盈虧會給您的USDC餘額增加或減少。", + "perp-positions-tip-title": "永續合約當前持倉細節", "perpetual-futures": "永續合約", "perps": "永續合約", "pnl-error": "結清盈虧出錯了", @@ -206,8 +236,11 @@ "price-impact": "預計價格影響", "price-unavailable": "無法取價格", "prices-changed": "價格波動導致您的槓桿增加了。請減少取款數量。", + "profile-menu-tip-desc": "在這裡可以看看您的Mango帳戶,複製錢包地址以及段開錢包連結。", + "profile-menu-tip-title": "個人資料菜單", "profit-price": "止盈價格", "quantity": "數量", + "rate": "排放率", "rates": "存款/借貸利率", "read-more": "看更多資料", "recent": "最近", @@ -249,11 +282,14 @@ "stop-limit": "限價止損", "stop-loss": "市場止損", "stop-price": "止損價格", - "successfully-placed": "已成交了", + "successfully-placed": "已下單了", "supported-assets": "請給錢包存入已被支持的幣種。", "take-profit": "止盈", "take-profit-limit": "限價止盈", "taker-fee": "吃單費率", + "target-period-length": "目標期間長度", + "themes-tip-desc": "Mango,黑暗或明亮(看您偏向)。", + "themes-tip-title": "顏色模式", "time": "時間", "token": "幣種", "too-large": "數量太大", @@ -291,7 +327,9 @@ "totals": "總量", "trade": "交易", "trade-history": "交易紀錄", + "trades": "成交", "transaction-sent": "已下訂單", + "trigger-price": "觸發價格", "try-again": "請再試一次", "type": "類型", "unrealized-pnl": "未實現盈虧", @@ -299,40 +337,25 @@ "unsettled-balance": "未結清餘額", "unsettled-balances": "未結清餘額", "unsettled-positions": "未結清持倉", + "use-explorer-one": "使用", + "use-explorer-two": "瀏覽器", + "use-explorer-three": "來驗證延遲的交易", "utilization": "利用率", "v3-new": "V3與V2完全不一樣。仍要登錄V2的人可以在導航欄點「更多」或此鏈接:", "v3-unaudited": "Mango V3目前還是測試版。此軟體未經過審計。風險自負。", "v3-welcome": "歡迎到Mango V3", "value": "價值", "view-all-trades": "在帳戶頁面查看所以交易", + "view-transaction": "查看交易", "wallet-connected": "已連結錢包", "wallet-disconnected": "段開錢包連結", "withdraw": "取款", "withdraw-error": "無法取款", "withdraw-funds": "取款", "withdraw-success": "已取款", - "withdrawals": "取款歷史", + "withdrawals": "取款", + "you-must-leave-enough-sol": "您必須在錢包中保留足夠的 SOL 來支付交易費用", "your-account": "您的帳戶", "your-assets": "您的資產", - "your-borrows": "您的借入", - "connect-wallet-tip-title": "連結錢包", - "connect-wallet-tip-desc": "我們會帶你四處看看...", - "profile-menu-tip-title": "個人資料菜單", - "profile-menu-tip-desc": "在這裡可以看看您的Mango帳戶,複製錢包地址以及段開錢包連結。", - "themes-tip-title": "顏色模式", - "themes-tip-desc": "Mango,黑暗或明亮(看您偏向)。", - "languages-tip-title": "您會多種語言嗎?", - "languages-tip-desc": "在這裡可選介面語言。更多選擇將來...", - "data-refresh-tip-title": "手動數據更新", - "data-refresh-tip-desc": "雖然數據會自動更新,但您還是可以點擊手動更新。", - "layout-tip-title": "個人化頁面佈局", - "layout-tip-desc": "解锁並根据您的喜好重新排列和调整交易面板的大小。", - "perp-positions-tip-title": "永續合約當前持倉細節", - "perp-positions-tip-desc": "永續合約當前持倉隨著價格波動而累積未結清盈虧。結清盈虧會給您的USDC餘額增加或減少。", - "account-details-tip-title": "帳戶細節", - "account-details-tip-desc": "當您進行首次存款時,我們將為您設置一個Mango賬戶。您的錢包中至少需要0.0035 SOL才能支付創建帳戶的押金。", - "collateral-available-tip-title": "可用質押品", - "collateral-available-tip-desc": "可用於槓桿交易的質押品價值。資產具有不同的質押權重(根據資產給平台帶來的風險)。", - "account-health-tip-title": "帳戶健康", - "account-health-tip-desc": "為了避免被清算,您必須將帳戶健康度保持在0%以上。為了提高健康度,請減少借貸或存入資產。" + "your-borrows": "您的借入" } \ No newline at end of file diff --git a/public/locales/zh_tw/tv-chart.json b/public/locales/zh_tw/tv-chart.json index cb50c812..267a115c 100644 --- a/public/locales/zh_tw/tv-chart.json +++ b/public/locales/zh_tw/tv-chart.json @@ -5,8 +5,9 @@ "cancel-order-details": "您確定要取消{{orderSize}} {{baseSymbol}} {{orderSide}} 價格${{orderPrice}}的掛單嗎?", "modify-order": "改您的訂單嗎?", "modify-order-details": "您確定要把{{orderSize}} {{baseSymbol}}{{orderSide}} 價格${{currentOrderPrice}}的掛單改成{{orderSize}} {{baseSymbol}}限價{{orderSide}} 價格${{updatedOrderPrice}}嗎?", - "order-details": "({{orderType}}{{orderSide}})若價格{{triggerPrice}}{{triggerCondition}}", + "order-details": "({{orderType}}{{orderSide}})若價格{{triggerCondition}}{{triggerPrice}}", "outside-range": "訂單價格在範圍之外", "slippage-accept": "若您接受潛在的下滑請使用交易表格進行。", - "slippage-warning": "您的訂單價格({{updatedOrderPrice}})多餘5%{{aboveBelow}}市場價格({{selectedMarketPrice}})表是您也許遭受可觀的下滑。" + "slippage-warning": "您的訂單價格({{updatedOrderPrice}})多餘5%{{aboveBelow}}市場價格({{selectedMarketPrice}})表是您也許遭受可觀的下滑。", + "toggle-order-line": "切換訂單線可見性" } \ No newline at end of file