From a4a11daa1be429964c6e6817d18b0d781559c479 Mon Sep 17 00:00:00 2001 From: rjpeterson Date: Wed, 1 Mar 2023 22:37:28 -0800 Subject: [PATCH] start chinese localization --- public/locales/zh_tw/account.json | 18 +++++----- public/locales/zh_tw/activity.json | 46 ++++++++++++------------- public/locales/zh_tw/borrow.json | 4 +-- public/locales/zh_tw/close-account.json | 10 +++--- public/locales/zh_tw/common.json | 42 +++++++++++----------- public/locales/zh_tw/search.json | 2 +- 6 files changed, 61 insertions(+), 61 deletions(-) diff --git a/public/locales/zh_tw/account.json b/public/locales/zh_tw/account.json index 05e89aee..ea8b14aa 100644 --- a/public/locales/zh_tw/account.json +++ b/public/locales/zh_tw/account.json @@ -2,13 +2,13 @@ "assets": "Assets", "assets-liabilities": "Assets & Liabilities", "liabilities": "Liabilities", - "no-pnl-history": "No PnL History", - "pnl-chart": "PnL Chart", - "pnl-history": "PnL History", - "tooltip-free-collateral": "The amount of capital you have to use for trades and loans. When your free collateral reaches $0 you won't be able to trade, borrow or withdraw", - "tooltip-leverage": "Total assets value divided by account equity value", - "tooltip-pnl": "The amount your account has profited or lost", - "tooltip-total-collateral": "Total value of collateral for trading and borrowing (including unsettled PnL)", - "tooltip-total-interest": "The value of interest earned (deposits) minus interest paid (borrows)", - "week-starting": "Week starting {{week}}" + "no-pnl-history": "無盈虧歷史", + "pnl-chart": "盈虧圖表", + "pnl-history": "盈虧歷史", + "tooltip-free-collateral": "你可用於交易和借貨的餘額。當你可用的質押品達到0元時,你將不能交易、借貨或取款", + "tooltip-leverage": "總資價值除以賬戶餘額", + "tooltip-pnl": "你帳戶的盈虧", + "tooltip-total-collateral": "可用於交易和借貨的質押品(包括未結清的盈虧)", + "tooltip-total-interest": "你獲取的利息(存款)減你付出的利息(借貨)", + "week-starting": "從{{week}}來算的一周" } \ No newline at end of file diff --git a/public/locales/zh_tw/activity.json b/public/locales/zh_tw/activity.json index 0efb0541..93fe1d5c 100644 --- a/public/locales/zh_tw/activity.json +++ b/public/locales/zh_tw/activity.json @@ -2,34 +2,34 @@ "activity": "Activity", "activity-feed": "Activity Feed", "activity-type": "Activity Type", - "advanced-filters": "Advanced Filters", - "asset-liquidated": "Asset Liquidated", - "asset-returned": "Asset Returned", - "connect-activity": "Connect to view your account activity", + "advanced-filters": "高級篩選", + "asset-liquidated": "清算資產", + "asset-returned": "歸還資產", + "connect-activity": "連接錢包來查看帳戶", "credit": "Credit", "debit": "Debit", - "deposit": "Deposit", - "deposits": "Deposits", - "filter-results": "Filter", - "liquidation": "Liquidation", - "liquidation-type": "Liquidation Type", - "liquidations": "Liquidations", - "liquidation-details": "Liquidation Details", - "liquidate_token_with_token": "Spot Liquidation", + "deposit": "存款", + "deposits": "存款", + "filter-results": "篩選", + "liquidation": "清算", + "liquidation-type": "清算類別", + "liquidations": "清算", + "liquidation-details": "清算細節", + "liquidate_token_with_token": "現貨清算", "no-activity": "No account activity", - "openbook_trade": "Spot Trade", - "perps": "Perps", - "perp_trade": "Perp Trade", - "reset-filters": "Reset Filters", - "select-tokens": "Select Tokens", - "spot-trade": "Spot Trade", - "swap": "Swap", - "swaps": "Swaps", + "openbook_trade": "現貨交易", + "perps": "永續合約", + "perp_trade": "合約交易", + "reset-filters": "重置篩選", + "select-tokens": "選擇幣種", + "spot-trade": "現貨交易", + "swap": "換幣", + "swaps": "換幣", "tooltip-fee": "Swap fees paid to other DEXs are not displayed", - "trades": "Trades", + "trades": "交易", "update": "Update", "value-from": "Value From", "value-to": "Value To", - "withdraw": "Withdraw", - "withdrawals": "Withdrawals" + "withdraw": "取款", + "withdrawals": "取款" } \ No newline at end of file diff --git a/public/locales/zh_tw/borrow.json b/public/locales/zh_tw/borrow.json index 1000f3c2..24b21896 100644 --- a/public/locales/zh_tw/borrow.json +++ b/public/locales/zh_tw/borrow.json @@ -5,7 +5,7 @@ "connect-borrows": "Connect to see your borrows", "current-borrow-value": "Current Borrow Value", "liability-weight-desc": "Liability weight adds to the value of the liability in your account health calculation.", - "no-borrows": "No Borrows", + "no-borrows": "無借貨", "tooltip-available": "The max amount you can borrow", - "your-borrows": "Your Borrows" + "your-borrows": "你的借貨" } \ No newline at end of file diff --git a/public/locales/zh_tw/close-account.json b/public/locales/zh_tw/close-account.json index 99f2e03f..4a8cc78d 100644 --- a/public/locales/zh_tw/close-account.json +++ b/public/locales/zh_tw/close-account.json @@ -1,14 +1,14 @@ { "are-you-sure": "Are you sure? Closing your account will", - "before-you-continue": "Before you can continue", - "close-account": "Close Account", - "closing-account": "Closing your account...", + "before-you-continue": "繼續之前", + "close-account": "關戶", + "closing-account": "正在關閉帳戶...", "close-all-borrows": "Repay all borrows", "close-open-orders": "Close all open orders", "close-perp-positions": "Close and settle all perp positons", "closing-account-will": "Closing your Mango Account will:", - "delete-your-account": "Delete your Mango Account", - "error-deleting-account": "Error deleting your Mango Account", + "delete-your-account": "刪除您的Mango帳戶", + "error-deleting-account": "刪除Mango帳戶出錯", "goodbye": "Until next time 👋", "recover-x-sol": "Recover {{amount}} SOL (rent for your account)", "settle-balances": "Settle all balances", diff --git a/public/locales/zh_tw/common.json b/public/locales/zh_tw/common.json index b66276ab..c6bd8370 100644 --- a/public/locales/zh_tw/common.json +++ b/public/locales/zh_tw/common.json @@ -1,16 +1,16 @@ { "404-heading": "This page was liquidated", "404-description": "or, never existed...", - "account": "Account", - "account-closed": "Account Closed 👋", - "account-balance": "Account Balance", - "account-name": "Account Name", + "account": "帳戶", + "account-closed": "關戶成功👋", + "account-balance": "帳戶餘額", + "account-name": "帳戶標籤", "account-name-desc": "Organize your accounts by giving them useful names", - "account-settings": "Account Settings", + "account-settings": "帳戶設定", "account-update-failed": "Failed to update account", "account-update-success": "Account updated successfully", - "account-value": "Account Value", - "accounts": "Accounts", + "account-value": "帳戶價值", + "accounts": "帳戶", "actions": "Actions", "add-new-account": "Add New Account", "amount": "Amount", @@ -20,35 +20,35 @@ "asset-weight": "Asset Weight", "asset-weight-desc": "Asset weight applies a haircut to the value of the collateral in your account health calculation. The lower the asset weight, the less the asset counts towards collateral.", "available": "Available", - "available-balance": "Available Balance", - "bal": "Bal", - "balance": "Balance", - "balances": "Balances", - "borrow": "Borrow", + "available-balance": "可用餘額", + "bal": "餘額", + "balance": "餘額", + "balances": "餘額", + "borrow": "借貨", "borrow-amount": "Borrow Amount", "borrow-fee": "Borrow Fee", "borrow-funds": "Borrow Funds", "borrow-rate": "Borrow APR", - "buy": "Buy", - "cancel": "Cancel", + "buy": "買", + "cancel": "取消", "chart-unavailable": "Chart Unavailable", - "clear-all": "Clear All", - "close-account": "Close Account", + "clear-all": "清除全部", + "close-account": "關戶", "close-account-desc": "Are you sure? Closing your account is irreversible", - "closing-account": "Closing your account...", + "closing-account": "正在關閉帳戶...", "collateral-value": "Collateral Value", - "connect": "Connect", + "connect": "連接", "connect-balances": "Connect to view your balances", "connect-helper": "Connect to get started", - "copy-address": "Copy Address", + "copy-address": "拷貝地址", "copy-address-success": "Copied address: {{pk}}", "country-not-allowed": "Country {{country}} Not Allowed", "country-not-allowed-tooltip": "You are using an open-source frontend facilitated by the Mango DAO. As such, it restricts access to certain regions out of an abundance of caution, due to regulatory uncertainty.", - "create-account": "Create Account", + "create-account": "開戶", "creating-account": "Creating Account...", "cumulative-interest-value": "Cumulative Interest Earned", "daily-volume": "24h Volume", - "date": "Date", + "date": "日期", "date-from": "Date From", "date-to": "Date To", "delegate": "Delegate", diff --git a/public/locales/zh_tw/search.json b/public/locales/zh_tw/search.json index 859a8564..0c8181e8 100644 --- a/public/locales/zh_tw/search.json +++ b/public/locales/zh_tw/search.json @@ -5,7 +5,7 @@ "no-results-desc": "Try another search. Searches are case-sensitive", "profile-name": "Profile Name", "results": "Results", - "search": "Search", + "search": "搜尋", "search-accounts": "Search Accounts", "search-by": "Search By", "search-for": "Search For",