diff --git a/apps/trading/__mocks__/react-i18next.ts b/apps/trading/__mocks__/react-i18next.ts deleted file mode 100644 index 7c2343f52..000000000 --- a/apps/trading/__mocks__/react-i18next.ts +++ /dev/null @@ -1,14 +0,0 @@ -export const useTranslation = () => ({ - t: (label: string, replacements?: Record) => { - let translatedLabel = label; - if (typeof replacements === 'object' && replacements !== null) { - Object.keys(replacements).forEach((key) => { - translatedLabel = translatedLabel.replace( - `{{${key}}}`, - replacements[key] - ); - }); - } - return translatedLabel; - }, -}); diff --git a/apps/trading/client-pages/market/market.tsx b/apps/trading/client-pages/market/market.tsx index 88863615f..209401cc1 100644 --- a/apps/trading/client-pages/market/market.tsx +++ b/apps/trading/client-pages/market/market.tsx @@ -114,7 +114,6 @@ export const MarketPage = () => {

{ return (

{t('here')} diff --git a/apps/trading/components/market-banner/market-successor-banner.spec.tsx b/apps/trading/components/market-banner/market-successor-banner.spec.tsx index 139944247..390d0f1d1 100644 --- a/apps/trading/components/market-banner/market-successor-banner.spec.tsx +++ b/apps/trading/components/market-banner/market-successor-banner.spec.tsx @@ -132,7 +132,9 @@ describe('MarketSuccessorBanner', () => { wrapper: MockedProvider, }); expect( - screen.getByText('has a 24h trading volume of 101.367') + screen.getByText('has a 24h trading volume of 101.367', { + exact: false, + }) ).toBeInTheDocument(); }); diff --git a/apps/trading/components/market-banner/market-successor-banner.tsx b/apps/trading/components/market-banner/market-successor-banner.tsx index c372e8a9f..82e86db69 100644 --- a/apps/trading/components/market-banner/market-successor-banner.tsx +++ b/apps/trading/components/market-banner/market-successor-banner.tsx @@ -67,6 +67,7 @@ export const MarketSuccessorBanner = ({ : null; if (!loading && (isSettled || successorData) && visible) { + const v = t('This market has been succeeded'); return ( - successor market name - , - ]} - ns={ns} - /> - ) : ( - , ]} /> + ) : ( + + successor market name + , + ]} + ns={ns} + /> )} )} diff --git a/apps/trading/setup-tests.ts b/apps/trading/setup-tests.ts index ebaab45f9..fd44664c8 100644 --- a/apps/trading/setup-tests.ts +++ b/apps/trading/setup-tests.ts @@ -2,6 +2,19 @@ import '@testing-library/jest-dom'; import 'jest-canvas-mock'; import ResizeObserver from 'resize-observer-polyfill'; import { defaultFallbackInView } from 'react-intersection-observer'; +import { locales } from '@vegaprotocol/i18n'; +import i18n from 'i18next'; +import { initReactI18next } from 'react-i18next'; + +// Set up i18n instance so that components have the correct default +// en translations +i18n.use(initReactI18next).init({ + // we init with resources + resources: locales, + fallbackLng: 'en', + ns: ['trading'], + defaultNS: 'trading', +}); defaultFallbackInView(true); global.ResizeObserver = ResizeObserver; diff --git a/libs/i18n/src/index.ts b/libs/i18n/src/index.ts index a87c49c8d..3ae717eb0 100644 --- a/libs/i18n/src/index.ts +++ b/libs/i18n/src/index.ts @@ -1,9 +1,28 @@ export * from './lib/i18n'; import en_accounts from './locales/en/accounts.json'; +import en_assets from './locales/en/assets.json'; +import en_candles_chart from './locales/en/candles-chart.json'; +import en_datagrid from './locales/en/datagrid.json'; +import en_deal_ticket from './locales/en/deal-ticket.json'; +import en_deposits from './locales/en/deposits.json'; +import en_environment from './locales/en/environment.json'; +import en_fills from './locales/en/fills.json'; +import en_funding_payments from './locales/en/funding-payments.json'; import en_governance from './locales/en/governance.json'; +import en_trading from './locales/en/trading.json'; + export const locales = { en: { accounts: en_accounts, + assets: en_assets, + 'candles-chart': en_candles_chart, + datagrid: en_datagrid, + 'deal-ticket': en_deal_ticket, + deposits: en_deposits, + environment: en_environment, + fills: en_fills, + 'funding-payments': en_funding_payments, governance: en_governance, + trading: en_trading, }, }; diff --git a/libs/i18n/src/locales/en/trading.json b/libs/i18n/src/locales/en/trading.json index cb5055b36..0c78cae95 100644 --- a/libs/i18n/src/locales/en/trading.json +++ b/libs/i18n/src/locales/en/trading.json @@ -1,9 +1,62 @@ { + "(Combined set volume {{runningVolume}} over last {{epochs}} epochs)": "(Combined set volume {{runningVolume}} over last {{epochs}} epochs)", + "(Created at: {{createdAt}})": "(Created at: {{createdAt}})", + "{{amount}} $VEGA staked": "{{amount}} $VEGA staked", + "{{checkedAssets}} Assets": "{{checkedAssets}} Assets", + "{{distance}} ago": "{{distance}} ago", + "{{instrumentCode}} liquidity provision": "{{instrumentCode}} liquidity provision", + "24h vol": "24h vol", + "24h volume": "24h volume", + "A percentage of commission earned by the referrer": "A percentage of commission earned by the referrer", + "A successors to this market has been proposed": "A successors to this market has been proposed", + "About the referral program": "About the referral program", + "Active": "Active", + "All": "All", + "An unknown error occurred.": "An unknown error occurred.", + "Anonymous": "Anonymous", + "Anyone with the referral link can apply it to their key(s) of choice via an on chain transaction": "Anyone with the referral link can apply it to their key(s) of choice via an on chain transaction", + "Asset (1)": "Asset (1)", + "Assets": "Assets", + "Base commission rate": "Base commission rate", + "Best bid": "Best bid", + "Best offer": "Best offer", + "Browse": "Browse", + "By using the Vega Console, you acknowledge that you have read and understood the <0>Vega Console Disclaimer": "By using the Vega Console, you acknowledge that you have read and understood the <0>Vega Console Disclaimer", + "Change (24h)": "Change (24h)", + "Chart": "Chart", + "checkOutProposalsAndVote": "Check out the terms of the proposals and vote:", + "checkOutProposalsAndVote_one": "Check out the terms of the proposal and vote:", + "checkOutProposalsAndVote_other": "Check out the terms of the proposals and vote:", + "Close": "Close", + "Close menu": "Close menu", + "Closed": "Closed", + "Closed markets": "Closed markets", + "Code must be 64 characters in length": "Code must be 64 characters in length", + "Code must be be valid hex": "Code must be be valid hex", + "Collateral": "Collateral", + "Combined running notional over the {{count}} epochs": "Combined running notional over the {{count}} epochs", + "Combined volume (last {{count}} epochs)": "Combined volume (last {{count}} epochs)", + "Conduct your own due diligence and consult your financial advisor before making any investment decisions.": "Conduct your own due diligence and consult your financial advisor before making any investment decisions.", + "Confirm in wallet...": "Confirm in wallet...", + "Connect": "Connect", + "Connect wallet": "Connect wallet", + "Connected node": "Connected node", + "Console": "Console", + "Continue sharing data": "Continue sharing data", + "Copied": "Copied", + "Copy": "Copy", + "Copy Market ID": "Copy Market ID", + "Could not configure web3 provider": "Could not configure web3 provider", + "Could not initialize app": "Could not initialize app", + "Countdown": "Countdown", + "Create a referral code": "Create a referral code", + "Current tier": "Current tier", + "Dark mode": "Dark mode", + "Date Joined": "Date Joined", "Deposit": "Deposit", - "Withdraw": "Withdraw", - "Transfer": "Transfer", - "Get started": "Get started", - "Start trading": "Start trading", + "Deposit funds": "Deposit funds", + "Depth": "Depth", + "Description": "Description", "Disclaimer": "Disclaimer", "DISCLAIMER_P1": "Vega is a decentralised peer-to-peer protocol that can be used to trade derivatives with cryptoassets. The Vega Protocol is an implementation layer (layer one) protocol made of free, public, open-source or source-available software. Use of the Vega Protocol involves various risks, including but not limited to, losses while digital assets are supplied to the Vega Protocol and losses due to the fluctuation of prices of assets.", "DISCLAIMER_P2": "Before using the Vega Protocol, review the relevant documentation at docs.vega.xyz to make sure that you understand how it works. Conduct your own due diligence and consult your financial advisor before making any investment decisions.", @@ -12,282 +65,229 @@ "DISCLAIMER_P5": "This website is hosted on a decentralised network, the Interplanetary File System (“IPFS”). The IPFS decentralised web is made up of all the computers (nodes) connected to it. Data is therefore stored on many different computers.", "DISCLAIMER_P6": "The information provided on this website does not constitute investment advice, financial advice, trading advice, or any other sort of advice and you should not treat any of the website's content as such. No party recommends that any cryptoasset should be bought, sold, or held by you via this website. No party ensures the accuracy of information listed on this website or holds any responsibility for any missing or wrong information. You understand that you are using any and all information available here at your own risk.", "DISCLAIMER_P7": "Additionally, just as you can access email protocols such as SMTP through multiple email clients, you can potentially access the Vega Protocol through many web or mobile interfaces. You are responsible for doing your own diligence on those interfaces to understand the associated risks and any fees.", - "Fees": "Fees", - "Order": "Order", - "Market specification": "Market specification", - "My liquidity provision": "My liquidity provision", - "Active": "Active", - "Inactive": "Inactive", - "Mark Price": "Mark Price", - "Change (24h)": "Change (24h)", - "Volume (24h)": "Volume (24h)", - "Settlement asset": "Settlement asset", + "Disconnect": "Disconnect", + "Discount": "Discount", + "Discounts are applied automatically during trading based on the key(s) used": "Discounts are applied automatically during trading based on the key(s) used", + "Docs": "Docs", + "Earn commission & stake rewards": "Earn commission & stake rewards", + "Enactment date reached and usual auction exit checks pass": "Enactment date reached and usual auction exit checks pass", + "Environment not configured": "Environment not configured", + "epochs in referral set": "epochs in referral set", + "Epochs in set": "Epochs in set", + "Epochs to next tier": "Epochs to next tier", + "Expected {{distance}} ago": "Expected {{distance}} ago", + "Expected in {{distance}}": "Expected in {{distance}}", + "Experiment for free with virtual assets on <0>Fairground Testnet": "Experiment for free with virtual assets on <0>Fairground Testnet", "Expiry": "Expiry", - "Funding Rate": "Funding Rate", - "Countdown": "Countdown", - "The external time weighted average price (TWAP) received from the data source defined in the data sourcing specification.": "The external time weighted average price (TWAP) received from the data source defined in the data sourcing specification.", - "Index Price": "Index Price", + "Explore": "Explore", + "Fees": "Fees", + "Fees paid": "Fees paid", + "Fees work like a CEX with no per-transaction gas for orders": "Fees work like a CEX with no per-transaction gas for orders", + "Fills": "Fills", + "Final commission rate": "Final commission rate", "Find out more": "Find out more", - "Unknown": "Unknown", - "This market expires when triggered by its oracle, not on a set date.": "This market expires when triggered by its oracle, not on a set date.", - "This timestamp is user curated metadata and does not drive any on-chain functionality.": "This timestamp is user curated metadata and does not drive any on-chain functionality.", - "View oracle specification": "View oracle specification", - "This market URL is not available any more.": "This market URL is not available any more.", - "CHOOSE_ANOTHER_MARKET": "Please choose another market from the <0>market list<0>", - "Chart": "Chart", - "Depth": "Depth", - "Liquidity": "Liquidity", + "Free from the risks of real trading, Fairground is a safe and fun place to try out Vega yourself with virtual assets.": "Free from the risks of real trading, Fairground is a safe and fun place to try out Vega yourself with virtual assets.", + "Fully decentralised high performance peer-to-network trading.": "Fully decentralised high performance peer-to-network trading.", "Funding history": "Funding history", "Funding payments": "Funding payments", - "Orderbook": "Orderbook", - "Trades": "Trades", - "Positions": "Positions", - "Open": "Open", - "Closed": "Closed", - "Rejected": "Rejected", - "All": "All", - "Stop orders": "Stop orders", - "Fills": "Fills", - "Collateral": "Collateral", - "No market": "No market", - "Market": "Market", - "Status": "Status", - "Settlement date": "Settlement date", - "Best bid": "Best bid", - "Best offer": "Best offer", - "Mark price": "Mark price", - "Settlement price": "Settlement price", - "No markets": "No markets", - "Successor of a market": "Successor of a market", - "SCCR": "SCCR", - "Parent of a market": "Parent of a market", - "PRNT": "PRNT", - "Copy Market ID": "Copy Market ID", - "View on Explorer": "View on Explorer", - "View settlement asset details": "View settlement asset details", - "View parent market": "View parent market", - "View successor market": "View successor market", - "Markets": "Markets", - "Open markets": "Open markets", - "Proposed markets": "Proposed markets", - "Propose a new market": "Propose a new market", - "Closed markets": "Closed markets", - "Expected {{distance}} ago": "Expected {{distance}} ago", - "{{distance}} ago": "{{distance}} ago", - "Expected in {{distance}}": "Expected in {{distance}}", - "Unknown settlement date": "Unknown settlement date", - "Description": "Description", - "Trading mode": "Trading mode", - "24h volume": "24h volume", - "Spread": "Spread", - "Portfolio": "Portfolio", - "Orders": "Orders", - "Ledger entries": "Ledger entries", - "Code must be 64 characters in length": "Code must be 64 characters in length", - "Code must be be valid hex": "Code must be be valid hex", - "The transaction could not be sent": "The transaction could not be sent", - "Your code has been rejected": "Your code has been rejected", - "Create a referral code": "Create a referral code", - "Generate a referral code to share with your friends and start earning commission.": "Generate a referral code to share with your friends and start earning commission.", - "Connect wallet": "Connect wallet", - "Generate code": "Generate code", - "Confirm in wallet...": "Confirm in wallet...", - "Close": "Close", - "You must be connected to the Vega wallet.": "You must be connected to the Vega wallet.", - "You need at least {{requiredStake}} VEGA staked to generate a referral code and participate in the referral program.": "You need at least {{requiredStake}} VEGA staked to generate a referral code and participate in the referral program.", - "Stake some $VEGA now": "Stake some $VEGA now", - "Copy": "Copy", - "About the referral program": "About the referral program", - "Something went wrong": "Something went wrong", - "An unknown error occurred.": "An unknown error occurred.", - "The page you're looking for doesn't exists.": "The page you're looking for doesn't exists.", - "Go back and try again": "Go back and try again", - "Referrers generate a code assigned to their key via an on chain transaction": "Referrers generate a code assigned to their key via an on chain transaction", - "Anyone with the referral link can apply it to their key(s) of choice via an on chain transaction": "Anyone with the referral link can apply it to their key(s) of choice via an on chain transaction", - "Discounts are applied automatically during trading based on the key(s) used": "Discounts are applied automatically during trading based on the key(s) used", - "Referrers earn commission based on a percentage of the taker fees their referees pay": "Referrers earn commission based on a percentage of the taker fees their referees pay", - "The commission is taken from the infrastructure fee, maker fee, and liquidity provider fee, not from the referee": "The commission is taken from the infrastructure fee, maker fee, and liquidity provider fee, not from the referee", - "Earn commission & stake rewards": "Earn commission & stake rewards", - "Invite friends and earn rewards from the trading fees they pay. Stake those rewards to earn multipliers on future rewards.": "Invite friends and earn rewards from the trading fees they pay. Stake those rewards to earn multipliers on future rewards.", - "Base commission rate": "Base commission rate", - "Staking multiplier": "Staking multiplier", - "None": "None", - "Final commission rate": "Final commission rate", - "Number of traders": "Number of traders", - "My volume (last {{count}} epochs)": "My volume (last {{count}} epochs)", - "{{amount}} $VEGA staked": "{{amount}} $VEGA staked", - "Total commission (last {{count}}} epochs)": "Total commission (last {{count}}} epochs)", - "Current tier": "Current tier", - "Discount": "Discount", - "Combined volume (last {{count}} epochs": "Combined volume (last {{count}} epochs", - "Epochs in set": "Epochs in set", - "Volume to next tier": "Volume to next tier", - "Epochs to next tier": "Epochs to next tier", - "Trader": "Trader", - "Date Joined": "Date Joined", - "Volume (last {{count}} epochs)": "Volume (last {{count}} epochs)", - "REFERRAL_STATISTICS_COMMISSION": "Commission earned in <0>qUSD (last {{count}} epochs)", - "qUSD provides a rough USD equivalent of balances across all assets using the value of \"Quantum\" for that asset": " for that asset", - "qUSD": "qUSD", - "I want a code": "I want a code", - "Referrals": "Referrals", - "Read the terms": "Read the terms", - "How it works": "How it works", - "Stake a minimum of {{minimumStakedTokens}} $VEGA tokens": "Stake a minimum of {{minimumStakedTokens}} $VEGA tokens", - "REFERRALS_TIERS_NO_PROGRAM": "We're sorry but we don't have an active referral programme currently running. You can propose a new programme <0>here.", - "Program ends:": "Program ends:", - "Tier": "Tier", - "Referrer commission": "Referrer commission", - "A percentage of commission earned by the referrer": "A percentage of commission earned by the referrer", - "Referrer trading discount": "Referrer trading discount", - "Min. trading volume (last {{count}} epochs)": "Min. trading volume (last {{count}} epochs)", - "Min. epochs": "Min. epochs", - "Your referral code": "Your referral code", - "(Created at: {{createdAt}})": "(Created at: {{createdAt}})", - "Please connect Vega wallet": "Please connect Vega wallet", - "Could not initialize app": "Could not initialize app", - "Node: {{VEGA_URL}} is unsuitable": "Node: {{VEGA_URL}} is unsuitable", - "Could not configure web3 provider": "Could not configure web3 provider", - "No deposits": "No deposits", - "My trading fees": "My trading fees", - "Total discount": "Total discount", - "My current volume": "My current volume", - "Referral benefits": "Referral benefits", - "Volume discount": "Volume discount", - "Referral discount": "Referral discount", - "Liquidity fees": "Liquidity fees", - "Total fee before discount": "Total fee before discount", - "Infrastructure": "Infrastructure", - "Maker": "Maker", - "Past {{count}} epochs": "Past {{count}} epochs", - "Required for next tier": "Required for next tier", - "Combined running notional over the {{count}} epochs": "Combined running notional over the {{count}} epochs", - "epochs in referral set": "epochs in referral set", - "No volume discount program active": "No volume discount program active", - "Min. trading volume": "Min. trading volume", - "No referral program active": "No referral program active", - "Required epochs": "Required epochs", - "Your tier": "Your tier", - "Total fee after discount": "Total fee after discount", + "Funding Rate": "Funding Rate", "Funding rate": "Funding rate", - "No funding history data": "No funding history data", - "Environment not configured": "Environment not configured", - "No ledger entries to export": "No ledger entries to export", - "No data": "No data", - "{{instrumentCode}} liquidity provision": "{{instrumentCode}} liquidity provision", - "Target stake": "Target stake", - "Supplied stake": "Supplied stake", - "Liquidity supplied": "Liquidity supplied", - "Fees paid": "Fees paid", - "The amount of fees paid to liquidity providers across the whole market during the last epoch {{epoch}}.": "The amount of fees paid to liquidity providers across the whole market during the last epoch {{epoch}}.", - "Market ID": "Market ID", - "Learn more": "Learn more", - "Providing liquidity": "Providing liquidity", - "The market has sufficient liquidity but there are not enough priced limit orders in the order book, which are required to deploy liquidity commitment pegged orders.": "The market has sufficient liquidity but there are not enough priced limit orders in the order book, which are required to deploy liquidity commitment pegged orders.", - "View liquidity provision table": "View liquidity provision table", - "Learn about providing liquidity": "Learn about providing liquidity", - "This market has been succeeded": "This market has been succeeded", - "This market has been settled": "This market has been settled", - "This market expires in {{duration}}.": "This market expires in {{duration}}.", - "MARKET_SUCCESSOR_BANNER_EXPIRY_WITH_VOLUME": "The successor market is <0>{{instrumentName}}", - "MARKET_SUCCESSOR_BANNER_EXPIRY_NO_VOLUME": "The successor market <0>{{instrumentName}} has a 24h trading volume of {{successorVolume}}", - "A successors to this market has been proposed": "A successors to this market has been proposed", - "Successors to this market have been proposed": "Successors to this market have been proposed", - "checkOutProposalsAndVote": "Check out the terms of the proposals and vote:", - "checkOutProposalsAndVote_one": "Check out the terms of the proposal and vote:", - "checkOutProposalsAndVote_other": "Check out the terms of the proposals and vote:", - "Trading on Market {{name}} will stop on {{date}}": "Trading on Market {{name}} will stop on {{date}}", - "You will no longer be able to hold a position on this market when it closes in {{duration}}.": "You will no longer be able to hold a position on this market when it closes in {{duration}}.", - "The final price will be {{price}} {{assetSymbol}}.": "The final price will be {{price}} {{assetSymbol}}.", - "Trading on Market {{name}} may stop. There are open proposals to close this market": "Trading on Market {{name}} may stop. There are open proposals to close this market", - "View proposals": "View proposals", - "Trading on Market {{name}} may stop on {{date}}. There is open proposal to close this market.": "Trading on Market {{name}} may stop on {{date}}. There is open proposal to close this market.", - "Proposed final price is {{price}} {{assetSymbol}}.": "Proposed final price is {{price}} {{assetSymbol}}.", - "Assets": "Assets", - "Asset (1)": "Asset (1)", - "{{checkedAssets}} Assets": "{{checkedAssets}} Assets", - "24h vol": "24h vol", - "Search": "Search", - "No perpetual markets.": "No perpetual markets.", - "Spot markets coming soon.": "Spot markets coming soon.", - "No future markets.": "No future markets.", - "No markets.": "No markets.", - "Name": "Name", - "Price": "Price", "Futures": "Futures", - "Spot": "Spot", - "Perpetuals": "Perpetuals", - "See all markets": "See all markets", - "Browse": "Browse", - "Enactment date reached and usual auction exit checks pass": "Enactment date reached and usual auction exit checks pass", - "Market triggers cancellation or governance vote has passed to cancel": "Market triggers cancellation or governance vote has passed to cancel", - "Governance vote passed to close the market": "Governance vote passed to close the market", - "Governance vote has passed and market is awaiting opening auction exit": "Governance vote has passed and market is awaiting opening auction exit", - "Governance vote for this market is valid and has been accepted": "Governance vote for this market is valid and has been accepted", - "Governance vote for this market has been rejected": "Governance vote for this market has been rejected", - "Settlement defined by product has been triggered and completed": "Settlement defined by product has been triggered and completed", - "Suspended due to price or liquidity monitoring trigger": "Suspended due to price or liquidity monitoring trigger", - "Trading has been terminated as a result of the product definition": "Trading has been terminated as a result of the product definition", - "This market has been suspended via a governance vote and can be resumed or terminated by further votes.": "This market has been suspended via a governance vote and can be resumed or terminated by further votes.", - "Volume": "Volume", - "Select market": "Select market", - "Wallet": "Wallet", - "Menu": "Menu", - "Close menu": "Close menu", - "Trading": "Trading", - "Governance": "Governance", - "Resources": "Resources", - "Docs": "Docs", + "Generate a referral code to share with your friends and start earning commission.": "Generate a referral code to share with your friends and start earning commission.", + "Generate code": "Generate code", + "Get started": "Get started", "Give Feedback": "Give Feedback", - "Mainnet status & incidents": "Mainnet status & incidents", - "Connected node": "Connected node", - "No open orders": "No open orders", - "No closed orders": "No closed orders", - "No rejected orders": "No rejected orders", - "No orders": "No orders", - "Hide closed markets": "Hide closed markets", - "Show closed markets": "Show closed markets", - "Dark mode": "Dark mode", - "Share usage data": "Share usage data", + "Go back and try again": "Go back and try again", + "Governance": "Governance", + "Governance vote for this market has been rejected": "Governance vote for this market has been rejected", + "Governance vote for this market is valid and has been accepted": "Governance vote for this market is valid and has been accepted", + "Governance vote has passed and market is awaiting opening auction exit": "Governance vote has passed and market is awaiting opening auction exit", + "Governance vote passed to close the market": "Governance vote passed to close the market", "Help identify bugs and improve the service by sharing anonymous usage data.": "Help identify bugs and improve the service by sharing anonymous usage data.", - "Toast location": "Toast location", - "View as party": "View as party", - "Settings": "Settings", "Help us identify bugs and improve Vega Governance by sharing anonymous usage data.": "Help us identify bugs and improve Vega Governance by sharing anonymous usage data.", - "Your identity is always anonymous on Vega": "Your identity is always anonymous on Vega", - "You can opt out any time via settings": "You can opt out any time via settings", - "Optional": "Optional", - "Anonymous": "Anonymous", - "No thanks": "No thanks", - "Continue sharing data": "Continue sharing data", - "Share data": "Share data", + "Hide closed markets": "Hide closed markets", + "How it works": "How it works", + "I want a code": "I want a code", "Improve vega console": "Improve vega console", - "Disconnect": "Disconnect", - "Copied": "Copied", - "Connect": "Connect", - "Ready to trade": "Ready to trade", - "Deposit funds": "Deposit funds", - "Open a position": "Open a position", - "You need a <0>Vega wallet to start trading in this market.": "You need a <0>Vega wallet to start trading in this market.", - "Ready to trade with real funds? <0>Switch to Mainnet": "Ready to trade with real funds? <0>Switch to Mainnet", - "Experiment for free with virtual assets on <0>Fairground Testnet": "Experiment for free with virtual assets on <0>Fairground Testnet", - "Conduct your own due diligence and consult your financial advisor before making any investment decisions.": "Conduct your own due diligence and consult your financial advisor before making any investment decisions.", - "You may encounter bugs, loss of functionality or loss of assets.": "You may encounter bugs, loss of functionality or loss of assets.", - "No party accepts any liability for any losses whatsoever.": "No party accepts any liability for any losses whatsoever.", - "By using the Vega Console, you acknowledge that you have read and understood the <0>Vega Console Disclaimer": "By using the Vega Console, you acknowledge that you have read and understood the <0>Vega Console Disclaimer", - "Start trading on the worlds most advanced decentralised exchange.": "Start trading on the worlds most advanced decentralised exchange.", - "Free from the risks of real trading, Fairground is a safe and fun place to try out Vega yourself with virtual assets.": "Free from the risks of real trading, Fairground is a safe and fun place to try out Vega yourself with virtual assets.", - "Non-custodial and pseudonymous": "Non-custodial and pseudonymous", - "No third party has access to your funds.": "No third party has access to your funds.", - "Purpose built proof of stake blockchain": "Purpose built proof of stake blockchain", - "Fully decentralised high performance peer-to-network trading.": "Fully decentralised high performance peer-to-network trading.", + "Inactive": "Inactive", + "Index Price": "Index Price", + "Infrastructure": "Infrastructure", + "Invite friends and earn rewards from the trading fees they pay. Stake those rewards to earn multipliers on future rewards.": "Invite friends and earn rewards from the trading fees they pay. Stake those rewards to earn multipliers on future rewards.", + "Learn about providing liquidity": "Learn about providing liquidity", + "Learn more": "Learn more", + "Ledger entries": "Ledger entries", + "Liquidity": "Liquidity", + "Liquidity fees": "Liquidity fees", + "Liquidity supplied": "Liquidity supplied", "Low fees and no cost to place orders": "Low fees and no cost to place orders", - "Fees work like a CEX with no per-transaction gas for orders": "Fees work like a CEX with no per-transaction gas for orders", - "Explore": "Explore", - "Console": "Console", - "No withdrawals": "No withdrawals", + "Mainnet status & incidents": "Mainnet status & incidents", "Make withdrawal": "Make withdrawal", - "Welcome to Vega trading!": "Welcome to Vega trading!", + "Maker": "Maker", + "Mark Price": "Mark Price", + "Mark price": "Mark price", + "Market": "Market", + "Market ID": "Market ID", + "Market specification": "Market specification", + "Market triggers cancellation or governance vote has passed to cancel": "Market triggers cancellation or governance vote has passed to cancel", + "Markets": "Markets", + "Menu": "Menu", + "Min. epochs": "Min. epochs", + "Min. trading volume": "Min. trading volume", + "Min. trading volume (last {{count}} epochs)": "Min. trading volume (last {{count}} epochs)", + "My current volume": "My current volume", + "My liquidity provision": "My liquidity provision", + "My trading fees": "My trading fees", + "My volume (last {{count}} epochs)": "My volume (last {{count}} epochs)", + "Name": "Name", + "No closed orders": "No closed orders", + "No data": "No data", + "No deposits": "No deposits", + "No funding history data": "No funding history data", + "No future markets.": "No future markets.", + "No ledger entries to export": "No ledger entries to export", + "No market": "No market", + "No markets": "No markets", + "No markets.": "No markets.", + "No open orders": "No open orders", + "No orders": "No orders", + "No party accepts any liability for any losses whatsoever.": "No party accepts any liability for any losses whatsoever.", + "No perpetual markets.": "No perpetual markets.", + "No referral program active": "No referral program active", + "No rejected orders": "No rejected orders", + "No thanks": "No thanks", + "No third party has access to your funds.": "No third party has access to your funds.", + "No volume discount program active": "No volume discount program active", + "No withdrawals": "No withdrawals", + "Node: {{VEGA_URL}} is unsuitable": "Node: {{VEGA_URL}} is unsuitable", + "Non-custodial and pseudonymous": "Non-custodial and pseudonymous", + "None": "None", + "Number of traders": "Number of traders", + "Open": "Open", + "Open a position": "Open a position", + "Open markets": "Open markets", + "Optional": "Optional", + "Order": "Order", + "Orderbook": "Orderbook", + "Orders": "Orders", "Page not found": "Page not found", - "(Combined set volume {{runningVolume}} over last {{epochs}} epochs)": "(Combined set volume {{runningVolume}} over last {{epochs}} epochs)" + "Parent of a market": "Parent of a market", + "Past {{count}} epochs": "Past {{count}} epochs", + "Perpetuals": "Perpetuals", + "Please choose another market from the <0>market list<0>": "Please choose another market from the <0>market list<0>", + "Please connect Vega wallet": "Please connect Vega wallet", + "Portfolio": "Portfolio", + "Positions": "Positions", + "Price": "Price", + "PRNT": "PRNT", + "Program ends:": "Program ends:", + "Propose a new market": "Propose a new market", + "Proposed final price is {{price}} {{assetSymbol}}.": "Proposed final price is {{price}} {{assetSymbol}}.", + "Proposed markets": "Proposed markets", + "Providing liquidity": "Providing liquidity", + "Purpose built proof of stake blockchain": "Purpose built proof of stake blockchain", + "qUSD": "qUSD", + "qUSD provides a rough USD equivalent of balances across all assets using the value of \"Quantum\" for that asset": "qUSD provides a rough USD equivalent of balances across all assets using the value of \"Quantum\" for that asset", + "Read the terms": "Read the terms", + "Ready to trade": "Ready to trade", + "Ready to trade with real funds? <0>Switch to Mainnet": "Ready to trade with real funds? <0>Switch to Mainnet", + "Referral benefits": "Referral benefits", + "Referral discount": "Referral discount", + "referral-statistics-commission": "Commission earned in <0>qUSD (last {{count}} epochs)", + "Referrals": "Referrals", + "Referrer commission": "Referrer commission", + "Referrer trading discount": "Referrer trading discount", + "Referrers earn commission based on a percentage of the taker fees their referees pay": "Referrers earn commission based on a percentage of the taker fees their referees pay", + "Referrers generate a code assigned to their key via an on chain transaction": "Referrers generate a code assigned to their key via an on chain transaction", + "Rejected": "Rejected", + "Required epochs": "Required epochs", + "Required for next tier": "Required for next tier", + "Resources": "Resources", + "SCCR": "SCCR", + "Search": "Search", + "See all markets": "See all markets", + "Select market": "Select market", + "Settings": "Settings", + "Settlement asset": "Settlement asset", + "Settlement date": "Settlement date", + "Settlement defined by product has been triggered and completed": "Settlement defined by product has been triggered and completed", + "Settlement price": "Settlement price", + "Share data": "Share data", + "Share usage data": "Share usage data", + "Show closed markets": "Show closed markets", + "Something went wrong": "Something went wrong", + "Spot": "Spot", + "Spot markets coming soon.": "Spot markets coming soon.", + "Spread": "Spread", + "Stake a minimum of {{minimumStakedTokens}} $VEGA tokens": "Stake a minimum of {{minimumStakedTokens}} $VEGA tokens", + "Stake some $VEGA now": "Stake some $VEGA now", + "Staking multiplier": "Staking multiplier", + "Start trading": "Start trading", + "Start trading on the worlds most advanced decentralised exchange.": "Start trading on the worlds most advanced decentralised exchange.", + "Status": "Status", + "Stop orders": "Stop orders", + "Successor of a market": "Successor of a market", + "Successors to this market have been proposed": "Successors to this market have been proposed", + "Supplied stake": "Supplied stake", + "Suspended due to price or liquidity monitoring trigger": "Suspended due to price or liquidity monitoring trigger", + "Target stake": "Target stake", + "The amount of fees paid to liquidity providers across the whole market during the last epoch {{epoch}}.": "The amount of fees paid to liquidity providers across the whole market during the last epoch {{epoch}}.", + "The commission is taken from the infrastructure fee, maker fee, and liquidity provider fee, not from the referee": "The commission is taken from the infrastructure fee, maker fee, and liquidity provider fee, not from the referee", + "The external time weighted average price (TWAP) received from the data source defined in the data sourcing specification.": "The external time weighted average price (TWAP) received from the data source defined in the data sourcing specification.", + "The final price will be {{price}} {{assetSymbol}}.": "The final price will be {{price}} {{assetSymbol}}.", + "The market has sufficient liquidity but there are not enough priced limit orders in the order book, which are required to deploy liquidity commitment pegged orders.": "The market has sufficient liquidity but there are not enough priced limit orders in the order book, which are required to deploy liquidity commitment pegged orders.", + "The page you're looking for doesn't exists.": "The page you're looking for doesn't exists.", + "The successor market <0>{{instrumentName}} has a 24h trading volume of {{successorVolume}}": "The successor market <0>{{instrumentName}} has a 24h trading volume of {{successorVolume}}", + "The successor market is <0>{{instrumentName}}": "The successor market is <0>{{instrumentName}}", + "The transaction could not be sent": "The transaction could not be sent", + "This market expires in {{duration}}.": "This market expires in {{duration}}.", + "This market expires when triggered by its oracle, not on a set date.": "This market expires when triggered by its oracle, not on a set date.", + "This market has been settled": "This market has been settled", + "This market has been succeeded": "This market has been succeeded", + "This market has been suspended via a governance vote and can be resumed or terminated by further votes.": "This market has been suspended via a governance vote and can be resumed or terminated by further votes.", + "This market URL is not available any more.": "This market URL is not available any more.", + "This timestamp is user curated metadata and does not drive any on-chain functionality.": "This timestamp is user curated metadata and does not drive any on-chain functionality.", + "Tier": "Tier", + "Toast location": "Toast location", + "Total commission (last {{count}}} epochs)": "Total commission (last {{count}}} epochs)", + "Total discount": "Total discount", + "Total fee after discount": "Total fee after discount", + "Total fee before discount": "Total fee before discount", + "Trader": "Trader", + "Trades": "Trades", + "Trading": "Trading", + "Trading has been terminated as a result of the product definition": "Trading has been terminated as a result of the product definition", + "Trading mode": "Trading mode", + "Trading on Market {{name}} may stop on {{date}}. There is open proposal to close this market.": "Trading on Market {{name}} may stop on {{date}}. There is open proposal to close this market.", + "Trading on Market {{name}} may stop. There are open proposals to close this market": "Trading on Market {{name}} may stop. There are open proposals to close this market", + "Trading on Market {{name}} will stop on {{date}}": "Trading on Market {{name}} will stop on {{date}}", + "Transfer": "Transfer", + "Unknown": "Unknown", + "Unknown settlement date": "Unknown settlement date", + "View as party": "View as party", + "View liquidity provision table": "View liquidity provision table", + "View on Explorer": "View on Explorer", + "View oracle specification": "View oracle specification", + "View parent market": "View parent market", + "View proposals": "View proposals", + "View settlement asset details": "View settlement asset details", + "View successor market": "View successor market", + "Volume": "Volume", + "Volume (24h)": "Volume (24h)", + "Volume (last {{count}} epochs)": "Volume (last {{count}} epochs)", + "Volume discount": "Volume discount", + "Volume to next tier": "Volume to next tier", + "Wallet": "Wallet", + "We're sorry but we don't have an active referral programme currently running. You can propose a new programme <0>here.": "We're sorry but we don't have an active referral programme currently running. You can propose a new programme <0>here.", + "Welcome to Vega trading!": "Welcome to Vega trading!", + "Withdraw": "Withdraw", + "You can opt out any time via settings": "You can opt out any time via settings", + "You may encounter bugs, loss of functionality or loss of assets.": "You may encounter bugs, loss of functionality or loss of assets.", + "You must be connected to the Vega wallet.": "You must be connected to the Vega wallet.", + "You need a <0>Vega wallet to start trading in this market.": "You need a <0>Vega wallet to start trading in this market.", + "You need at least {{requiredStake}} VEGA staked to generate a referral code and participate in the referral program.": "You need at least {{requiredStake}} VEGA staked to generate a referral code and participate in the referral program.", + "You will no longer be able to hold a position on this market when it closes in {{duration}}.": "You will no longer be able to hold a position on this market when it closes in {{duration}}.", + "Your code has been rejected": "Your code has been rejected", + "Your identity is always anonymous on Vega": "Your identity is always anonymous on Vega", + "Your referral code": "Your referral code", + "Your tier": "Your tier" }