+ );
+}
diff --git a/src/app/components/MetaMaskDiscouragementNotifyModal/index.tsx b/src/app/components/MetaMaskDiscouragementNotifyModal/index.tsx
index 171f3f178..70a9cd413 100644
--- a/src/app/components/MetaMaskDiscouragementNotifyModal/index.tsx
+++ b/src/app/components/MetaMaskDiscouragementNotifyModal/index.tsx
@@ -4,7 +4,10 @@
*
*/
import React, { useEffect, useState } from 'react';
+import { useTranslation } from 'react-i18next';
+import { translations } from '../../../locales/i18n';
import { Checkbox } from '@blueprintjs/core';
+import styled from 'styled-components/macro';
import { local } from '../../../utils/storage';
import { Dialog } from '../../containers/Dialog/Loadable';
import logo from './logo.svg';
@@ -19,6 +22,7 @@ const testForMetaMask = () => {
};
export function MetaMaskDiscouragementNotifyModal(props: Props) {
+ const { t } = useTranslation();
const [show, setShow] = useState(!local.getItem(SESSION_KEY));
const [checked, setChecked] = useState(false);
@@ -46,7 +50,7 @@ export function MetaMaskDiscouragementNotifyModal(props: Props) {
className="font-weight-bold text-center mb-4"
style={{ fontSize: '25px' }}
>
- Caution… No Really
+ {t(translations.notifyDialog.heading)}
{testForMetaMask() ? : }
@@ -55,11 +59,11 @@ export function MetaMaskDiscouragementNotifyModal(props: Props) {
setChecked(!checked)}
- label="I have read and understand that I am responsible for my own Sovrynity"
+ label={t(translations.notifyDialog.acceptTerms)}
/>
@@ -70,44 +74,38 @@ export function MetaMaskDiscouragementNotifyModal(props: Props) {
}
function GeneralAlert() {
+ const { t } = useTranslation();
return (
<>
- SOVRYN is a decentralized bitcoin trading and lending platform, the
- first of it kind!
+ {t(translations.notifyDialog.generalAlert.p1)}
+
{t(translations.notifyDialog.generalAlert.p2)}
+
{t(translations.notifyDialog.generalAlert.p3)}
- Only you control and have access to your wealth, any actions you take
- could cause a potential loss of funds.
-
-
- Make sure to check all transaction fee prices before proceeding as
- third party wallets may automatically present high fees.
-
-
- Please visit our{' '}
+ {t(translations.notifyDialog.generalAlert.p4_1)}
- FAQ
- {' '}
- if you have any questions.
+ {t(translations.notifyDialog.generalAlert.p4_2)}
+
+ {t(translations.notifyDialog.generalAlert.p4_3)}
- If you’re new to DeFi, here is the{' '}
+ {t(translations.notifyDialog.generalAlert.p5_1)}
- tutorial
- {' '}
- on how to use SOVRYN.
+ {t(translations.notifyDialog.generalAlert.p5_2)}
+
+ {t(translations.notifyDialog.generalAlert.p5_3)}
- We noticed you have MetaMask installed.
+ {t(translations.notifyDialog.metamaskAlert.p1)}
- There are known issues when using MetaMask with SOVRYN. We suggest
- using a browser wallet like{' '}
+ {t(translations.notifyDialog.metamaskAlert.p2_1)}
- Liquality Wallet
- {' '}
- or{' '}
+ {t(translations.notifyDialog.metamaskAlert.p2_2)}
+
+ {t(translations.notifyDialog.metamaskAlert.p2_3)}
- Nifty Wallet
+ {t(translations.notifyDialog.metamaskAlert.p2_4)}
- . If you wish to continue with MetaMask please be aware of the
- following know errors:
+ {t(translations.notifyDialog.metamaskAlert.p2_5)}
-
• High default gas price
-
set your gas price manually to 0.06 GWEI
-
-
- • ETH checksum ETH instead of RSK checksume
-
-
- use lower case addresses as receiver for manual
- transactionsI
-
-
-
- • Shows price as ETH instead of (r)BTC
-
-
- currently we suggest checking your token balances in the
- SOVRYN My Wallet section.
-
- You will now receive email notifications about margin calls
- and liquidated positions.
+ {t(translations.notificationFormContainer.updated_success)}
setActiveAssets(false)}
/>
diff --git a/src/app/hooks/useSendContractTx.ts b/src/app/hooks/useSendContractTx.ts
index c0b63adbd..8e87d4db2 100644
--- a/src/app/hooks/useSendContractTx.ts
+++ b/src/app/hooks/useSendContractTx.ts
@@ -32,7 +32,11 @@ export interface SendTxResponse {
loading: boolean;
}
-export interface SendTxResponseInterface extends SendTxResponse {
+export interface ResetTxResponseInterface extends SendTxResponse {
+ reset: () => void;
+}
+
+export interface SendTxResponseInterface extends ResetTxResponseInterface {
send: (
args: any[],
config?: TransactionConfig,
@@ -100,6 +104,10 @@ export function useSendContractTx(
[account, contractName, methodName, dispatch],
);
+ const reset = useCallback(() => {
+ setTxId(TxStatus.NONE);
+ }, []);
+
useEffect(() => {
if (txId && transactions.hasOwnProperty(txId)) {
setTx(transactions[txId]);
@@ -110,6 +118,7 @@ export function useSendContractTx(
return {
send,
+ reset,
txData: tx || null,
txHash: tx?.transactionHash || '',
status: tx ? tx.status : txId,
diff --git a/src/locales/en/translation.json b/src/locales/en/translation.json
index e9819ddfb..424fb8d00 100644
--- a/src/locales/en/translation.json
+++ b/src/locales/en/translation.json
@@ -61,7 +61,12 @@
"leverage": "Leverage",
"openPrice": "Open Price",
"closePrice": "Close Price",
- "profit": "Profit"
+ "profit": "Profit",
+ "profitLabels": {
+ "up": "Up by ",
+ "down": "Down by ",
+ "noChange": "No change"
+ }
}
},
"fastBtcPage": {
@@ -235,10 +240,32 @@
"hintTwo": "Top up your wallet at",
"hintThree": "and get started!"
},
- "notificationFromContainer": {
+ "notificationFormContainer": {
"want": "Want to receive email notifications about margin calls and liquidated positions?",
"update": "Update the name or email address associated with this wallet address.",
- "recieve": "I would like to receive emails about updates and new features from Sovryn"
+ "receive": "I would like to receive emails about updates and new features from Sovryn",
+ "emailSettingsBtn_update": "Update email settings",
+ "emailSettingsBtn_get": "Get email notifications",
+ "dialog": {
+ "title": "Email Notifications",
+ "form": {
+ "name": {
+ "label": "Name / Pseudonym",
+ "info": "(required)",
+ "placeholder": "name / pseudonym"
+ },
+ "email": {
+ "label": "Email Address",
+ "info": "(required)",
+ "placeholder": "email@email.com"
+ }
+ },
+ "wantBtn": "submit",
+ "updateBtn": "update",
+ "error": "There was an error submitting your form"
+ },
+ "updated_success": "You will now receive email notifications about margin calls and liquidated positions.",
+ "updated_success_user": "Your details have been updated."
},
"whiteListedNotification": {
"text": "Currently Sovryn is available for invited users only and your wallet is not yet whitelisted. All interactions is disabled until you switch to whitelisted wallet or get whitelisted for current one."
@@ -279,6 +306,14 @@
"activeUserBorrows": {
"text": "You do not have any active loans."
},
+ "activeUserLoans": {
+ "text": "You do not have any active trades.",
+ "info": {
+ "line_1": "Need help making a transaction? Read our guide on ",
+ "line_2": " how to trade and lend with Sovryn",
+ "line_3": "."
+ }
+ },
"topUpTradingPositionHandler": {
"title": "Top Up position",
"topUpAmount": "Top Up Amount",
@@ -306,7 +341,14 @@
"walletNote": "Connect your wallet first!"
},
"borrowHistory": {
- "table": {},
+ "table": {
+ "headers": {
+ "borrowAmount": "Borrowed",
+ "collateralAmount": "Collateral",
+ "interestAPR": "Interest APR",
+ "timestamp": "Date"
+ }
+ },
"no_items": "Your borrow history is empty."
},
"rskConnectTutorial": {
@@ -510,6 +552,10 @@
"meta": {
"title": "My Wallet",
"description": "Information about connected wallet"
+ },
+ "tabs": {
+ "userAssets": "My assets",
+ "userNFTS": "NFTS"
}
},
"salesPage": {
@@ -608,5 +654,65 @@
"line_1": "Liquidity is too low for closing position.",
"line_2": "Try another return asset or wait for arbiters to re-balance."
}
+ },
+ "tradeConfirmationDialog": {
+ "main": {
+ "positionSize": "Position Size",
+ "positionLeverge": "Position Leverage",
+ "maintenanceMargin": "Maintenance Margin",
+ "estimatedLiquidationPrice": "Est. Liquidation Price",
+ "gasPriceNote": "Make sure gas price does not exceed 0.06 GWEI",
+ "positionEntryPrice": "Approx. Position Entry Price",
+ "entryPriceNote": "The price is taken from our AMM and as such is subject to flunctuations.",
+ "tradeButtonLong": "Place Long",
+ "tradeButtonShort": "Place Short",
+ "closeBtn": "Close Dialog"
+ },
+ "positions": {
+ "long": "Long",
+ "short": "Short"
+ },
+ "tx": {
+ "pendingForUserTitle": "Review Transaction",
+ "pendingForUserText": "Review and confirm transaction in your wallet"
+ }
+ },
+ "notifyDialog": {
+ "heading": "Caution… No Really",
+ "acceptTerms": "I have read and understand that I am responsible for my own Sovrynity",
+ "salesBtn": "I Understand",
+ "generalAlert": {
+ "p1": "SOVRYN is a decentralized bitcoin trading and lending platform, the first of it kind!",
+ "p2": "Only you control and have access to your wealth, any actions you take could cause a potential loss of funds.",
+ "p3": "Make sure to check all transaction fee prices before proceeding as third party wallets may automatically present high fees.",
+ "p4_1": "Please visit our ",
+ "p4_2": "FAQ",
+ "p4_3": " if you have any questions.",
+ "p5_1": "If you’re new to DeFi, here is the ",
+ "p5_2": "tutorial",
+ "p5_3": " on how to use SOVRYN."
+ },
+ "metamaskAlert": {
+ "p1": "We noticed you have MetaMask installed.",
+ "p2_1": "There are known issues when using MetaMask with SOVRYN. We suggest using a browser wallet like ",
+ "p2_2": "Liquality Wallet",
+ "p2_3": " or ",
+ "p2_4": "Nifty Wallet",
+ "p2_5": ". If you wish to continue with MetaMask please be aware of the following known errors:",
+ "knownErrors": {
+ "defaultGasPrice": {
+ "title": "High default gas price",
+ "description": "set your gas price manually to 0.06 GWEI"
+ },
+ "checksum": {
+ "title": "ETH checksum instead of RSK checksum",
+ "description": "use lower case addresses as receiver for manual transactions"
+ },
+ "price": {
+ "title": "Shows price as ETH instead of (r)BTC",
+ "description": "currently we suggest checking your token balances in the SOVRYN My Wallet section."
+ }
+ }
+ }
}
}
diff --git a/src/locales/es/translation.json b/src/locales/es/translation.json
index 5d81a3923..be7a0e779 100644
--- a/src/locales/es/translation.json
+++ b/src/locales/es/translation.json
@@ -51,7 +51,19 @@
"tradingHistoryPage": {
"title": "Historial de Comercio",
"auth": "Por Favor, Conecta y Autoriza tu Cartera.",
- "noClosedTrades": "No posees ningún comercio cerrado."
+ "noClosedTrades": "No posees ningún comercio cerrado.",
+ "table": {
+ "positionSize": "Position Size",
+ "leverage": "Leverage",
+ "openPrice": "Open Price",
+ "closePrice": "Close Price",
+ "profit": "Profit",
+ "profitLabels": {
+ "up": "Up by ",
+ "down": "Down by ",
+ "noChange": "No change"
+ }
+ }
},
"fastBtcPage": {
"meta": {
@@ -209,10 +221,32 @@
"hintTwo": "Recarga tu cartera con",
"hintThree": "¡y empieza!"
},
- "notificationFromContainer": {
+ "notificationFormContainer": {
"want": "¿Deseas recibir notificaciones por correo sobre alertas de tus posiciones de margen y posiciones liquidadas?",
"update": "Actualiza el nombre o la dirección de correo asociados con esta dirección de cartera.",
- "recieve": "Me gustaría recibir correos sobre actualizaciones y nuevas características de Sovryn"
+ "receive": "Me gustaría recibir correos sobre actualizaciones y nuevas características de Sovryn",
+ "emailSettingsBtn_update": "Update email settings",
+ "emailSettingsBtn_get": "Get email notifications",
+ "dialog": {
+ "title": "Email Notifications",
+ "form": {
+ "name": {
+ "label": "Name / Pseudonym",
+ "info": "(required)",
+ "placeholder": "name / pseudonym"
+ },
+ "email": {
+ "label": "Email Address",
+ "info": "(required)",
+ "placeholder": "email@email.com"
+ }
+ },
+ "wantBtn": "submit",
+ "updateBtn": "update",
+ "error": "There was an error submitting your form"
+ },
+ "updated_success": "You will now receive email notifications about margin calls and liquidated positions.",
+ "updated_success_user": "Your details have been updated."
},
"whiteListedNotification": {
"text": "Actualmente Sovryn esta disponible solo para usuarios invitados y tu cartera no está en la lista de invitados. Todo intercambio estará deshabilitado hasta que conmutes a una cartera invitada o tu cartera actual reciba un token de invitación."
@@ -245,6 +279,14 @@
"activeUserBorrows": {
"text": "No posees créditos activos."
},
+ "activeUserLoans": {
+ "text": "You do not have any active trades.",
+ "info": {
+ "line_1": "Need help making a transaction? Read our guide on ",
+ "line_2": " how to trade and lend with Sovryn",
+ "line_3": "."
+ }
+ },
"topUpTradingPositionHandler": {
"title": "Recargar Posición",
"topUpAmount": "Recargar Cantidad",
@@ -272,7 +314,14 @@
"walletNote": "¡Conecta tu Cartera Primero!"
},
"borrowHistory": {
- "table": {},
+ "table": {
+ "headers": {
+ "borrowAmount": "Borrowed",
+ "collateralAmount": "Collateral",
+ "interestAPR": "Interest APR",
+ "timestamp": "Date"
+ }
+ },
"no_items": "Tu historial de crédito está vacío."
},
"rskConnectTutorial": {
@@ -392,5 +441,173 @@
"meta": {
"title": "Re-Carga"
}
+ },
+ "walletPage": {
+ "meta": {
+ "title": "My Wallet",
+ "description": "Information about connected wallet"
+ },
+ "tabs": {
+ "userAssets": "My assets",
+ "userNFTS": "NFTS"
+ }
+ },
+
+ "salesPage": {
+ "meta": {
+ "title": "Presale",
+ "description": "SOV Presale Page"
+ }
+ },
+ "userAssets": {
+ "meta": {
+ "title": "Connected Wallet"
+ },
+ "tableHeaders": {
+ "asset": "Asset",
+ "totalBalance": "Total Balance",
+ "dollarBalance": "Dollar Balance",
+ "action": "Action"
+ },
+ "actions": {
+ "deposit": "Top-Up",
+ "swap": "Swap",
+ "trade": "Trade",
+ "claimSov": "Claim SOV"
+ }
+ },
+ "topUpHistory": {
+ "meta": {
+ "title": "Top-Up History"
+ },
+ "tableHeaders": {
+ "time": "Date/Time",
+ "asset": "Asset",
+ "amount": "Amount",
+ "fee": "Fee",
+ "depositTx": "BTC Deposit ID",
+ "transferTx": "RSK Relay Hash",
+ "txHash": "Transaction"
+ },
+ "emptyState": "History is empty.",
+ "walletHistory": "Wallet must be connected.",
+ "loading": "Loading..."
+ },
+ "lendingPage": {
+ "tabs": {
+ "deposit": "Deposit",
+ "redeem": "Redeem"
+ },
+ "amount": {
+ "deposit": "Amount to deposit",
+ "redeem": "Amount to redeem"
+ },
+ "tradeButtons": {
+ "deposit": "Deposit {{asset}}",
+ "redeem": "Redeem {{asset}}"
+ },
+ "liquidity": {
+ "redeem": {
+ "line_1": "There is not enough {{currency}} in lending pool.",
+ "line_2": "Currently pool has only {{amount}} {{currency}} available.",
+ "line_3": "Pool will increase once users will repay their loans."
+ },
+ "borrow": {
+ "line_1": "There is not enough {{currency}} in lending pool to borrow.",
+ "line_2": "Currently pool has only {{amount}} {{currency}} available.",
+ "line_3": "Pool will increase once users will repay their loans."
+ }
+ }
+ },
+ "activeBorrowTable": {
+ "headers": {
+ "borrowAmount": "Borrowed",
+ "collateralAmount": "Collateral",
+ "interestAPR": "Interest APR",
+ "endTimestamp": "Payback until"
+ },
+ "repayButton": "Repay"
+ },
+ "repayPositionForm": {
+ "title": "Repay Loan",
+ "labels": {
+ "borrowedAmount": "Borrowed amount",
+ "amountToRepay": "{{currency}} amount to repay",
+ "amountToReceive": "You will receive"
+ },
+ "button": "Repay"
+ },
+ "closeTradingPositionHandler": {
+ "title": "Liquidate position",
+ "titleDone": "Position liquidated",
+ "positionSize": "Position size",
+ "withdrawIn": "Withdraw in",
+ "returnAmount": "Return amount",
+ "closePosition": "Close Position",
+ "closeAmount": "Close Amount",
+ "liquidity": {
+ "line_1": "Liquidity is too low for closing position.",
+ "line_2": "Try another return asset or wait for arbiters to re-balance."
+ }
+ },
+ "tradeConfirmationDialog": {
+ "main": {
+ "positionSize": "Position Size",
+ "positionLeverge": "Position Leverage",
+ "maintenanceMargin": "Maintenance Margin",
+ "estimatedLiquidationPrice": "Est. Liquidation Price",
+ "gasPriceNote": "Make sure gas price does not exceed 0.06 GWEI",
+ "positionEntryPrice": "Approx. Position Entry Price",
+ "entryPriceNote": "The price is taken from our AMM and as such is subject to flunctuations.",
+ "tradeButtonLong": "Place Long",
+ "tradeButtonShort": "Place Short",
+ "closeBtn": "Close Dialog"
+ },
+ "positions": {
+ "long": "Long",
+ "short": "Short"
+ },
+ "tx": {
+ "pendingForUserTitle": "Review Transaction",
+ "pendingForUserText": "Review and confirm transaction in your wallet"
+ }
+ },
+ "notifyDialog": {
+ "heading": "Caution… No Really",
+ "acceptTerms": "I have read and understand that I am responsible for my own Sovrynity",
+ "salesBtn": "I Understand",
+ "generalAlert": {
+ "p1": "SOVRYN is a decentralized bitcoin trading and lending platform, the first of it kind!",
+ "p2": "Only you control and have access to your wealth, any actions you take could cause a potential loss of funds.",
+ "p3": "Make sure to check all transaction fee prices before proceeding as third party wallets may automatically present high fees.",
+ "p4_1": "Please visit our ",
+ "p4_2": "FAQ",
+ "p4_3": " if you have any questions.",
+ "p5_1": "If you’re new to DeFi, here is the ",
+ "p5_2": "tutorial",
+ "p5_3": " on how to use SOVRYN."
+ },
+ "metamaskAlert": {
+ "p1": "We noticed you have MetaMask installed.",
+ "p2_1": "There are known issues when using MetaMask with SOVRYN. We suggest using a browser wallet like ",
+ "p2_2": "Liquality Wallet",
+ "p2_3": " or ",
+ "p2_4": "Nifty Wallet",
+ "p2_5": ". If you wish to continue with MetaMask please be aware of the following known errors:",
+ "knownErrors": {
+ "defaultGasPrice": {
+ "title": "High default gas price",
+ "description": "set your gas price manually to 0.06 GWEI"
+ },
+ "checksum": {
+ "title": "ETH checksum instead of RSK checksum",
+ "description": "use lower case addresses as receiver for manual transactions"
+ },
+ "price": {
+ "title": "Shows price as ETH instead of (r)BTC",
+ "description": "currently we suggest checking your token balances in the SOVRYN My Wallet section."
+ }
+ }
+ }
}
}
diff --git a/src/locales/pt_br/translation.json b/src/locales/pt_br/translation.json
index 7a03ba3d9..3b895f0e4 100644
--- a/src/locales/pt_br/translation.json
+++ b/src/locales/pt_br/translation.json
@@ -32,8 +32,8 @@
"title": "Minhas operações",
"walletNote": "Primeiro conecte sua carteira!",
"tabs": {
- "activeTrades": "Ativas",
- "tradingHistory": "Concluídas"
+ "activeTrades": "Abertas",
+ "tradingHistory": "Fechadas"
}
},
"tradingPage": {
@@ -55,13 +55,18 @@
"tradingHistoryPage": {
"title": "Histórico de operações",
"auth": "Por favor, conecte e autorize sua carteira.",
- "noClosedTrades": "Você não tem operações concluídas.",
+ "noClosedTrades": "Você não tem operações fechadas.",
"table": {
"positionSize": "Tamanho da posição",
"leverage": "Alavancagem",
- "openPrice": "Preço inicial",
+ "openPrice": "Preço de entrada",
"closePrice": "Preço de fechamento",
- "profit": "Lucro / Prejuízo"
+ "profit": "Lucro / Prejuízo",
+ "profitLabels": {
+ "up": "Lucro de ",
+ "down": "Prejuízo de ",
+ "noChange": "Sem mudança"
+ }
}
},
"fastBtcPage": {
@@ -101,7 +106,7 @@
"currency": "Ativo",
"currency_placeholder": "Escolha o ativo",
"amount": "Quantidade",
- "startPrice": "Preço inicial"
+ "startPrice": "Preço de entrada"
},
"buttons": {
"submit": "Realizar operação"
@@ -178,7 +183,7 @@
"profit": "Lucro / Prejuízo",
"currentMargin": "Margem atual",
"interestApr": "Juros anual",
- "startPrice": "Preço inicial",
+ "startPrice": "Preço de entrada",
"container": {
"topUp": "Aumentar posição",
"close": "Fechar posição"
@@ -188,7 +193,7 @@
"expandedRowMobile": {
"currentMargin": "Margem atual",
"interestAPR": "Juros anual",
- "startPrice": "Preço inicial",
+ "startPrice": "Preço de entrada",
"leverage": "Alavancagem",
"startMargin": "Margem inicial",
"maintenanceMargin": "Margem de manutenção",
@@ -235,10 +240,32 @@
"hintTwo": "Carregue sua carteira na",
"hintThree": "e comece a usar!"
},
- "notificationFromContainer": {
+ "notificationFormContainer": {
"want": "Deseja receber notificações por e-mail sobre chamadas de margem e posições liquidadas?",
"update": "Atualize o nome ou endereço de e-mail associado a este endereço de carteira.",
- "recieve": "Eu gostaria de receber e-mails sobre atualizações e novos recursos da Sovryn"
+ "receive": "Eu gostaria de receber e-mails sobre atualizações e novos recursos da Sovryn",
+ "emailSettingsBtn_update": "Configurações de e-mail",
+ "emailSettingsBtn_get": "Receba notificações por e-mail",
+ "dialog": {
+ "title": "Notificações de e-mail",
+ "form": {
+ "name": {
+ "label": "Nome / Apelido",
+ "info": "(obrigatório)",
+ "placeholder": "nome / apelido"
+ },
+ "email": {
+ "label": "Endereço de e-mail",
+ "info": "(obrigatório)",
+ "placeholder": "email@email.com"
+ }
+ },
+ "wantBtn": "enviar",
+ "updateBtn": "atualizar",
+ "error": "Ocorreu um erro ao enviar os dados"
+ },
+ "updated_success": "Você será notificado por e-mail sobre chamadas de margem e posições liquidadas.",
+ "updated_success_user": "Seus dados foram atualizados."
},
"whiteListedNotification": {
"text": "Atualmente a Sovryn está disponível apenas para usuários convidados e sua carteira ainda não está na lista de permissões. Todas as interações estão desativadas até que o endereço da sua carteira esteja liberado."
@@ -279,6 +306,14 @@
"activeUserBorrows": {
"text": "Você não tem nenhum empréstimo ativo."
},
+ "activeUserLoans": {
+ "text": "Você não tem nenhuma operação de compra ou venda aberta.",
+ "info": {
+ "line_1": "Precisa de ajuda? Leia nosso guia ",
+ "line_2": " de como usar a Sovryn",
+ "line_3": "."
+ }
+ },
"topUpTradingPositionHandler": {
"title": "Aumentar posição",
"topUpAmount": "Aumentar quantidade",
@@ -306,7 +341,14 @@
"walletNote": "Primeiro conecte sua carteira!"
},
"borrowHistory": {
- "table": {},
+ "table": {
+ "headers": {
+ "borrowAmount": "Valor do empréstimo",
+ "collateralAmount": "Colateral",
+ "interestAPR": "Juros anual",
+ "timestamp": "Data"
+ }
+ },
"no_items": "Seu histórico de empréstimos está vazio."
},
"rskConnectTutorial": {
@@ -510,6 +552,10 @@
"meta": {
"title": "Minha carteira",
"description": "Informações sobre a carteira conectada"
+ },
+ "tabs": {
+ "userAssets": "Meus ativos",
+ "userNFTS": "NFTS"
}
},
"salesPage": {
@@ -607,5 +653,65 @@
"line_1": "Liquidez muito baixa para fechar a posição.",
"line_2": "Tente resgatar usando outro ativo ou aguarde até alguém realizar arbitragem para rebalancear o sistema."
}
+ },
+ "tradeConfirmationDialog": {
+ "main": {
+ "positionSize": "Posição",
+ "positionLeverge": "Alavancagem",
+ "maintenanceMargin": "Margem de manutenção",
+ "estimatedLiquidationPrice": "Preço de liquidação aproximado",
+ "gasPriceNote": "Verifique se a taxa não excede 0.06 GWEI",
+ "positionEntryPrice": "Preço de entrada aproximado",
+ "entryPriceNote": "O preço é fornecido pelo nosso AMM e, como tal, está sujeito a flutuações.",
+ "tradeButtonLong": "Confirmar",
+ "tradeButtonShort": "Confirmar",
+ "closeBtn": "Fechar janela"
+ },
+ "positions": {
+ "long": "Comprado",
+ "short": "Vendido"
+ },
+ "tx": {
+ "pendingForUserTitle": "Revisão da transação",
+ "pendingForUserText": "Revise e confirme a transação na sua carteira"
+ }
+ },
+ "notifyDialog": {
+ "heading": "Cuidado",
+ "acceptTerms": "Eu li e compreendi que somente eu tenho responsabilidade pelos meus atos",
+ "salesBtn": "Eu entendo",
+ "generalAlert": {
+ "p1": "A SOVRYN é uma plataforma descentralizada de negociação e empréstimo de bitcoins, a primeira desse tipo!",
+ "p2": "Esteja ciente de que somente você possui controle e acesso ao seus ativos, qualquer ação que você realizar pode causar uma perda considerável de fundos.",
+ "p3": "Sempre verifique as taxas de transação antes de realizar operações na SOVRYN. Algumas carteiras podem configurar automaticamente taxas muito altas.",
+ "p4_1": "Visite nosso ",
+ "p4_2": "FAQ",
+ "p4_3": " se tiver dúvidas.",
+ "p5_1": "Se você é um usuário novato, veja o ",
+ "p5_2": "tutorial",
+ "p5_3": " e aprenda a usar a SOVRYN."
+ },
+ "metamaskAlert": {
+ "p1": "Verificamos que você tem a MetaMask instalada.",
+ "p2_1": "Existem problemas conhecidos ao usar a MetaMask com a SOVRYN. Sugerimos usar uma carteira de navegador como a ",
+ "p2_2": "Carteira Liquality",
+ "p2_3": " ou a ",
+ "p2_4": "Carteira Nifty",
+ "p2_5": ". Se você pretende continuar usando a MetaMask, esteja ciente do seguintes problemas:",
+ "knownErrors": {
+ "defaultGasPrice": {
+ "title": "A taxa padrão usada é muito alta",
+ "description": "defina a taxa manualmente para 0.06 GWEI"
+ },
+ "checksum": {
+ "title": "ETH checksum ao invés do RSK checksum",
+ "description": "use endereços em letras minúsculas para receber transações"
+ },
+ "price": {
+ "title": "É mostrado o preço como se fosse ETH em vez de (r)BTC",
+ "description": "atulamente sugerimos você verificar o saldo dos seus ativos na aba minha carteira da Sovryn."
+ }
+ }
+ }
}
}