Merge branch 'main' into patch-2

This commit is contained in:
tjshipe 2022-02-22 13:08:41 -05:00 committed by GitHub
commit 0af16f5bfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 1097 additions and 995 deletions

View File

@ -41,7 +41,7 @@ import useMangoAccount from '../hooks/useMangoAccount'
export async function getStaticProps({ locale }) {
return {
props: {
...(await serverSideTranslations(locale, ['common'])),
...(await serverSideTranslations(locale, ['common', 'referrals'])),
// Will be passed to the page component as props
},
}
@ -70,33 +70,22 @@ const referralHistory = []
// ]
const ProgramDetails = () => {
const { t } = useTranslation('referrals')
return (
<>
<h2 className="mb-4">Program Details</h2>
<h2 className="mb-4">{t('referrals:program-details')}</h2>
<ul className="list-disc pl-3">
<li>
Your referral code is automatically applied when a user creates a
Mango Account using your link.
</li>
<li>
When any of your referrals trade Mango Perps, you earn 16% of their
trade fees.
</li>
<li>
Plus, for using your link they get a 4% discount off their Mango Perp
fees.
</li>
<li>
You must have at least 10,000 MNGO in your Mango Account to qualify
for generating referrals and earning referral rewards.
</li>
<li>{t('referrals:program-details-1')}</li>
<li>{t('referrals:program-details-2')}</li>
<li>{t('referrals:program-details-3')}</li>
<li>{t('referrals:program-details-4')}</li>
</ul>
</>
)
}
export default function Referral() {
const { t } = useTranslation('common')
const { t } = useTranslation(['common', 'referrals'])
const mangoGroup = useMangoStore(mangoGroupSelector)
const mangoCache = useMangoStore(mangoCacheSelector)
const { mangoAccount } = useMangoAccount()
@ -145,7 +134,7 @@ export default function Referral() {
const id = value.replace(/ /g, '')
setCustomRefLinkInput(id)
if (id.length > 32) {
setInputError('Referral IDs must be less then 33 characters')
setInputError(t('referrals:too-long-error'))
} else {
setInputError('')
}
@ -153,10 +142,10 @@ export default function Referral() {
const validateRefIdInput = () => {
if (customRefLinkInput.length >= 33) {
setInputError('Referral IDs must be less then 33 characters')
setInputError(t('referrals:too-long-error'))
}
if (customRefLinkInput.length === 0) {
setInputError('Enter a referral ID')
setInputError(t('referrals:enter-referral-id'))
}
}
@ -171,13 +160,13 @@ export default function Referral() {
)
notify({
txid,
title: 'Custom referral link created',
title: t('referrals:link-created'),
})
fetchCustomReferralLinks()
} catch (e) {
notify({
type: 'error',
title: 'Unable to create referral link',
title: t('referrals:link-not-created'),
description: e.message,
txid: e.txid,
})
@ -210,11 +199,10 @@ export default function Referral() {
<TopBar />
<PageBodyContainer>
<div className="py-4 md:pb-4 md:pt-10">
<h1 className={`mb-1`}>Sow the Mango Seed</h1>
<h1 className={`mb-1`}>{t('referrals:sow-seed')}</h1>
<div className="flex flex-col sm:flex-row items-start">
<p className="mb-0 mr-2">
Earn 16% of the perp fees paid by anyone you refer. Plus, they get
a 4% perp fee discount.
{t('referrals:earn-16')}
</p>
</div>
</div>
@ -224,11 +212,11 @@ export default function Referral() {
<>
{/* {hasReferrals ? (
<div className="col-span-12">
<h2 className="mb-4">Your Referrals</h2>
<h2 className="mb-4">{t('referrals:your-referrals')}</h2>
<div className="border-b border-th-bkg-4 sm:border-b-0 grid grid-cols-2 grid-row-flow sm:gap-6">
<div className="sm:border-b border-t border-th-bkg-4 col-span-2 sm:col-span-1 p-3 sm:p-4">
<div className="pb-0.5 text-th-fgd-3 text-xs sm:text-sm">
Total Earnings
{t('referrals:total-earnings')}
</div>
<div className="font-bold text-th-fgd-1 text-xl sm:text-2xl">
$150.50
@ -236,7 +224,7 @@ export default function Referral() {
</div>
<div className="sm:border-b border-t border-th-bkg-4 col-span-2 sm:col-span-1 p-3 sm:p-4">
<div className="pb-0.5 text-th-fgd-3 text-xs sm:text-sm">
Total referrals
{t('referrals:total-referrals')}
</div>
<div className="font-bold text-th-fgd-1 text-xl sm:text-2xl">
15
@ -253,14 +241,14 @@ export default function Referral() {
<div className="flex flex-col w-full">
{hasRequiredMngo ? (
<div className="bg-th-bkg-3 flex-1 p-6 rounded-md">
<h2 className="mb-4">Your Links</h2>
<h2 className="mb-4">{t('referrals:your-links')}</h2>
{!loading ? (
!hasCustomRefLinks ? (
<Table>
<thead>
<TrHead>
<Th>Link</Th>
<Th>Copy Link</Th>
<Th>{t('referrlals:link')}</Th>
<Th>{t('referrlals:copy-link')}</Th>
</TrHead>
</thead>
<tbody>
@ -306,10 +294,10 @@ export default function Referral() {
<Table>
<thead>
<TrHead>
<Th>Link</Th>
<Th>{t('referrals:link')}</Th>
<Th>
<div className="flex justify-end">
Copy Link
{t('referrals:copy-link')}
</div>
</Th>
</TrHead>
@ -368,13 +356,11 @@ export default function Referral() {
) : (
<div className="bg-th-bkg-3 flex flex-col flex-1 items-center justify-center px-4 py-8 rounded-md text-center">
<MngoMonoIcon className="h-6 mb-2 text-th-fgd-2 w-6" />
<p className="mb-0">
You need 10,000 MNGO in your Mango Account
</p>
<p className="mb-0">{t('referrals:10k-mngo')}</p>
<Link href={'/?name=MNGO/USDC'} shallow={true}>
<a className="mt-4 px-6 py-2 bg-th-bkg-button font-bold rounded-full text-th-fgd-1 hover:brightness-[1.15] hover:text-th-fgd-1 focus:outline-none">
Buy MNGO
{t('referrals:buy-mngo')}
</a>
</Link>
</div>
@ -382,13 +368,13 @@ export default function Referral() {
</div>
{hasRequiredMngo ? (
<div className="min-w-[25%] bg-th-bkg-3 p-6 rounded-md w-full xl:w-1/3">
<h2 className="mb-1">Custom Referral Links</h2>
<h2 className="mb-1">{t('referrals:custom-links')}</h2>
<p className="mb-4">
You can generate up to 5 custom referral links.
{t('referrals:custom-links-limit')}
</p>
<div className="pb-6">
<label className="block mb-2 text-th-fgd-3 text-xs">
Referral ID
{t('referrals:referral-id')}
</label>
<Input
className="bg-th-bkg-1 border border-th-fgd-4 default-transition font-bold pl-4 h-12 focus:outline-none rounded-md text-base tracking-wide w-full hover:border-th-primary focus:border-th-primary"
@ -415,7 +401,7 @@ export default function Referral() {
disabled={existingCustomRefLinks.length === 5}
>
<LinkIcon className="h-4 mr-1.5 w-4" />
Generate Custom Link
{t('referrals:generate-link')}
</button>
</div>
) : null}
@ -424,16 +410,18 @@ export default function Referral() {
{referralHistory.length > 0 ? (
<div className="col-span-12">
<h2 className="mb-4">Earnings History</h2>
<h2 className="mb-4">{t('referrals:earnings-history')}</h2>
{!isMobile ? (
<Table>
<thead>
<TrHead>
<Th>{t('date')}</Th>
<Th>Referral ID</Th>
<Th>Referee</Th>
<Th>{t('referrals:referral-id')}</Th>
<Th>{t('referrals:referee')}</Th>
<Th>
<div className="flex justify-end">Fee Earned</div>
<div className="flex justify-end">
{t('referrals:fee-earned')}
</div>
</Th>
</TrHead>
</thead>
@ -465,7 +453,7 @@ export default function Referral() {
<>
<MobileTableHeader
colOneHeader={t('date')}
colTwoHeader="Fee Earned"
colTwoHeader={t('referrals:fee-eanred')}
/>
{referralHistory.map((ref, index) => (
<ExpandableRow
@ -484,13 +472,13 @@ export default function Referral() {
<div className="grid grid-cols-2 grid-flow-row gap-4 pb-4">
<div className="text-left">
<div className="pb-0.5 text-th-fgd-3 text-xs">
Referral ID
{t('referrals:referral-id')}
</div>
<div>{ref.referralLink}</div>
</div>
<div className="text-left">
<div className="pb-0.5 text-th-fgd-3 text-xs">
Referee
{t('referrals:referee')}
</div>
<Link
href={`/account?pubkey=${ref.referee}`}

View File

@ -0,0 +1,28 @@
{
"10k-mngo": "You need 10,000 MNGO in your Mango Account",
"buy-mngo": "Buy MNGO",
"copy-link": "Copy Link",
"custom-links": "Custom Referral Links",
"custom-links-limit": "You can generate up to 5 custom referral links.",
"earn-16": "Earn 16% of the perp fees paid by anyone you refer. Plus, they get a 4% perp fee discount.",
"earnings-history": "Earnings History",
"enter-referral-id": "Enter a referral ID",
"fee-earned": "Fee Earned",
"generate-link": "Generate Custom Link",
"link": "Link",
"link-created": "Custom referral link created",
"link-not-created": "Unable to create referral link",
"program-details": "Program Details",
"program-details-1": "Your referral code is automatically applied when a user creates a Mango Account using your link.",
"program-details-2": "When any of your referrals trade Mango Perps, you earn 16% of their trade fees.",
"program-details-3": "Plus, for using your link they get a 4% discount off their Mango Perp fees.",
"program-details-4": "You must have at least 10,000 MNGO in your Mango Account to qualify for generating referrals and earning referral rewards.",
"referee": "Referee",
"referral-id": "Referral ID",
"sow-seed": "Sow the Mango Seed",
"too-long-error": "Referral IDs must be less then 33 characters",
"total-earnings": "Total Earnings",
"total-referrals": "Total referrals",
"your-links": "Your Links",
"your-referrals": "Your Referrals"
}

View File

@ -4,29 +4,29 @@
"accept": "Aceptar",
"accept-terms": "Entiendo y acepto los riesgos",
"account": "Cuenta",
"account-address-warning": "Do not send tokens directly to your account address.",
"account-address-warning": "No envíes tokens directamente a la dirección de tu 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-equity": "Account Equity",
"account-equity-chart-title": "Account Equity",
"account-health": "Account Health",
"account-equity": "Patrimonio de la cuenta",
"account-equity-chart-title": "Patrimonio de la cuenta",
"account-health": "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.",
"account-health-tip-title": "Estado de la cuenta",
"account-name": "Nombre de la cuenta",
"account-performance": "Account Performance",
"account-pnl": "Account PNL",
"account-pnl-chart-title": "Account PNL",
"account-performance": "Rendimiento de la cuenta",
"account-pnl": "Ganancia o pérdida de la cuenta",
"account-pnl-chart-title": "Ganancia o pérdida de la cuenta",
"account-risk": "Riesgo de cuenta",
"account-value": "Valor de la cuenta",
"accounts": "Cuentas",
"active-alerts": "Active Alerts",
"add-more-sol": "Add more SOL to your wallet to avoid failed transactions.",
"active-alerts": "Alertas activas",
"add-more-sol": "Agregue más SOL a su billetera para evitar transacciones fallidas.",
"add-name": "Añadir nombre",
"alert-health": "Alert when health is below",
"alert-info": "Email when health <= {{health}}%",
"alerts": "Alerts",
"alerts-disclaimer": "Do not rely solely on alerts to protect your account. We can't guarantee they will be delivered.",
"alerts-max": "You've reached the maximum number of active alerts.",
"alert-health": "Alerta cuando la salud de tu cuenta está baja",
"alert-info": "Envía correo electrónico cuando la salud de tu cuenta es <= {{health}}%",
"alerts": "Alertas",
"alerts-disclaimer": "No confíe únicamente en las alertas para proteger su cuenta. No podemos garantizar que serán entregados.",
"alerts-max": "Has alcanzado el número máximo de alertas activas.",
"all-assets": "Todos los activos",
"amount": "Monto",
"approximate-time": "Tiempo aproximado",
@ -36,9 +36,9 @@
"available-balance": "Saldo disponible",
"average-borrow": "Tasas de prestadas promedio",
"average-deposit": "Tasas de depósito promedio",
"average-entry": "Precio de entrada medio",
"average-entry": "Precio de entrada promedio",
"average-funding": "Tasa de financiamiento promedio de 1 hora",
"back": "atrás",
"back": "Atrás",
"balance": "Equilibrio",
"balances": "Saldos",
"being-liquidated": "¡Estás siendo liquidada!",
@ -63,7 +63,7 @@
"character-limit": "El nombre de la cuenta debe tener 32 caracteres o menos",
"chinese": "简体中文",
"chinese-traditional": "繁體中文",
"claim": "reclamar",
"claim": "Reclamar",
"claim-reward": "Reclamar recompensa",
"close": "Cerrar",
"close-and-long": "Posición cerrada + Empezar a comprar",
@ -76,35 +76,35 @@
"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": "Confirm",
"confirm": "Confirmar",
"confirm-deposit": "Confirmar depósito",
"confirm-withdraw": "Confirmar retiro",
"confirming-transaction": "Confirming Transaction",
"confirming-transaction": "Confirmando transacción",
"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",
"copy-address": "Copiar dirección",
"country-not-allowed": "País no permitido",
"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-alert": "Create Alert",
"country-not-allowed-tooltip": "Está utilizando una interfaz de código abierto facilitada por Mango DAO. Como tal, restringe el acceso a ciertas regiones por precaución, debido a la incertidumbre regulatoria.",
"create-account": "Crear cuenta",
"create-alert": "Crear alerta",
"current-stats": "Estadísticas actuales",
"custom": "Personalizada",
"daily-change": "Cambio diario",
"daily-high": "24hr High",
"daily-low": "24hr Low",
"daily-high": "24hr máximo",
"daily-low": "24hr mínimo",
"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-desc": "Los datos se actualizan automáticamente, pero puedes actualizarlos manualmente aquí.",
"data-refresh-tip-title": "Actualización manual de datos",
"date": "Date",
"date": "Fecha",
"default-market": "Mercado predeterminado",
"default-spot-margin": "Trade with margin by default",
"delay-displaying-recent": "There may be a delay in displaying the latest activity.",
"default-spot-margin": "Comercia con margen por defecto",
"delay-displaying-recent": "Puede haber un retraso en la visualización de la última actividad.",
"deposit": "Depositar",
"deposit-before": "Necesita más {{tokenSymbol}} en su billetera para pagar completamente su préstamo",
"deposit-failed": "El depósito falló",
@ -118,27 +118,27 @@
"deposit-value": "Valor de depósito",
"depositing": "Estás a punto de depositar",
"deposits": "Depósitos",
"depth-rewarded": "Depth Rewarded",
"depth-rewarded": "Liquidez recompensada",
"details": "Detalles",
"disconnect": "Disconnect",
"done": "Done",
"disconnect": "Desconectar",
"done": "Hecho",
"edit": "Editar",
"edit-name": "Edit Name",
"edit-name": "Actualizar nombre",
"edit-nickname": "Edite el apodo público de su cuenta",
"email-address": "Email Address",
"english": "English",
"email-address": "Dirección de correo electrónico",
"english": "Inglés",
"enter-amount": "Ingrese una cantidad para depositar",
"enter-name": "Ingrese un nombre de cuenta",
"equity": "Capital",
"est-period-end": "Est Period End",
"est-period-end": "Fin del período estimado",
"est-slippage": "Deslizamiento estimado",
"estimated-liq-price": "Est. Liq. Price",
"estimated-liq-price": "Precio líquido estimado",
"explorer": "Explorador",
"export-data": "Export CSV",
"export-data-empty": "No data to export",
"export-data-success": "CSV exported successfully",
"favorite": "Favorite",
"favorites": "Favorites",
"export-data": "Exportar a CSV",
"export-data-empty": "No hay datos para exportar",
"export-data-success": "CSV exportado con éxito",
"favorite": "Favorito",
"favorites": "Favoritos",
"fee": "Tarifa",
"fee-discount": "Comisiones",
"first-deposit-desc": "Necesita 0.035 SOL para crear una cuenta de mango.",
@ -147,19 +147,19 @@
"get-started": "Comenzar",
"health": "Salud",
"health-check": "Verificación del estado de la cuenta",
"health-ratio": "Relación de salud",
"hide-all": "Ocultar todo de Nav",
"health-ratio": "Proporción de salud",
"hide-all": "Ocultar toda la navegación",
"hide-dust": "Ocultar saldos pequeños",
"high": "Alta",
"history": "La Historia",
"history-empty": "History empty.",
"hourly-borrow-interest": "Préstamo prestado por hora",
"history": "Historial",
"history-empty": "Historial vacío.",
"hourly-borrow-interest": "Interés por préstamo 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",
"in-orders": "En órdenes",
"includes-borrow": "Incluye el préstamo",
"init-error": "No se pudo realizar la operación de depósito y cuenta de margen inicial",
"init-health": "Salud Init",
"init-health": "Salud inicial",
"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",
@ -185,24 +185,24 @@
"leverage-too-high": "Apalancamiento demasiado alto. Reducir la cantidad a retirar",
"liabilities": "Pasivos",
"light": "Ligera",
"limit": "Limite",
"limit-order": "orden de límite",
"limit-price": "Limit Price",
"limit": "Límite",
"limit-order": "Orden de límite",
"limit-price": "Precio límite",
"liquidation-history": "Historial de liquidación",
"liquidations": "Liquidaciones",
"liquidity": "Liquidez",
"liquidity-mining": "Liquidity Mining",
"long": "larga",
"liquidity-mining": "Minería de liquidez",
"long": "Larga",
"low": "Bajo",
"maint-health": "Salud de mantenimiento",
"make-trade": "Hacer un trato",
"maker": "Maker",
"maker-fee": "orden límite",
"maker-fee": "Orden límite",
"mango": "Mango",
"mango-accounts": "Cuentas Mango",
"margin": "Margen",
"margin-available": "Margen disponible",
"market": "Merado",
"market": "Mercado",
"market-close": "Cierre de mercado",
"market-data": "Datos del mercado",
"market-details": "Detalles del mercado",
@ -210,16 +210,16 @@
"markets": "Mercados",
"max": "Máximo",
"max-borrow": "Monto máximo del préstamo",
"max-depth-bps": "Max Depth Bps",
"max-slippage": "Máximo deslizamiento",
"max-depth-bps": "Profundidad máxima de Bps",
"max-slippage": "Deslizamiento máximo ",
"max-with-borrow": "Máximo con préstamo",
"minutes": "mins",
"minutes": "minutos",
"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",
"mngo-left-period": "MNGO restante en el período",
"mngo-per-period": "MNGO por Período",
"mngo-rewards": "Recompensas en MNGO",
"moderate": "Moderada",
"more": "Más",
"msrm-deposit-error": "Error depositante MSRM",
@ -235,19 +235,19 @@
"net-interest-value-desc": "Calculado en el momento en que se ganó / pagó. Esto podría ser útil al momento de impuestos.",
"new": "Nuevo",
"new-account": "Nuevo",
"new-alert": "New Alert",
"new-alert": "Alerta nueva",
"next": "Próximo",
"no-account-found": "No Account Found",
"no-account-found": "Cuenta no encontrada",
"no-address": "No ${tokenSymbol} dirección de billetera encontrada",
"no-alerts": "No Active Alerts",
"no-alerts-desc": "Create an alert to be notified when your account health is low.",
"no-alerts": "No hay alertas activas",
"no-alerts-desc": "Cree una alerta para recibir una notificación cuando el estado de su cuenta sea bajo.",
"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 ganados / pagados",
"no-margin": "No se encontraron cuentas de margen",
"no-markets": "No markets found",
"no-markets": "No se encontraron mercados",
"no-orders": "No hay órdenes abiertas",
"no-perp": "No hay puestos de delincuentes",
"no-unsettled": "No hay fondos pendientes",
@ -268,7 +268,7 @@
"performance-insights": "Performance Insights",
"period-progress": "Period Progress",
"perp": "perpetuo",
"perp-desc": "Perpetual swaps settled in USDC",
"perp-desc": "Canjeos perpetuos liquidados en USDC",
"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.",
@ -316,9 +316,9 @@
"select-asset": "Seleccione un activo",
"select-margin": "Seleccionar cuenta de margen",
"sell": "Vender",
"serum-fees": "Tarifas de suero spot",
"set-stop-loss": "Establecer Stop Loss",
"set-take-profit": "Establecer Take Profit",
"serum-fees": "Tarifas de la bolsa decentralizada 'serum'",
"set-stop-loss": "Establecer Detener Pérdidas",
"set-take-profit": "Establecer Tomar Ganancias",
"settings": "Ajustes",
"settle": "Resolver",
"settle-all": "Liquidar todo",
@ -326,30 +326,30 @@
"settle-success": "Fondos liquidados con éxito",
"short": "Vender",
"show-all": "Mostrar todo en Nav",
"show-less": "Show less",
"show-more": "Show more",
"show-less": "Mostrar menos",
"show-more": "Mostrar más",
"show-tips": "Mostrar sugerencias",
"show-zero": "Mostrar saldos cero",
"side": "Lado",
"size": "Tamaño",
"slippage-warning": "This order will likely have extremely large slippage! Consider using Stop Limit or Take Profit Limit order instead.",
"slippage-warning": "¡Esta orden probablemente tendrá un deslizamiento extremadamente grande! Considere usar la orden 'Límite de parada' o 'Tomar el límite de ganancias' en su lugar.",
"spanish": "Español",
"spot": "Spot",
"spot-desc": "Spot margin quoted in USDC",
"spot": "Al contado",
"spot-desc": "Margen al contado cotizado en USDC",
"spread": "Propago",
"stats": "Estadísticas",
"stop-limit": "Límite de parada",
"stop-loss": "Detener la pérdida de",
"stop-loss": "Detener pérdida",
"stop-price": "Precio de parada",
"successfully-placed": "Comercio colocado con éxito",
"supported-assets": "Financie la billetera con uno de los activos admitidos.",
"swap": "Intercambio",
"take-profit": "Tomar ganancias",
"take-profit-limit": "Tomar el límite de ganancias",
"taker": "Taker",
"taker-fee": "Orden mercado",
"target-period-length": "Target Period Length",
"themes-tip-desc": "Mango, Dark o Light (si te gusta eso).",
"taker": "Receptor",
"taker-fee": "Tarifa del receptor",
"target-period-length": "Duración del período objetivo",
"themes-tip-desc": "Mango, Oscuro o Claro (si te gusta eso).",
"themes-tip-title": "Temas de color",
"time": "Tiempo",
"token": "Simbólico",
@ -362,17 +362,17 @@
"tooltip-display-step": "Tamaño del paso de visualización",
"tooltip-earn-mngo": "Gana MNGO por creación de mercado en los mercados perpetuos.",
"tooltip-enable-margin": "Habilite el margen al contado para esta operación",
"tooltip-gui-rebate": "La tarifa del tomador es {{taker_rate)}} antes de que se reembolse el 20% de la tarifa de hospedaje de GUI.",
"tooltip-gui-rebate": "La tarifa del receptor es {{taker_rate)}} antes de que se reembolse el 20% de la tarifa de hospedaje de GUI.",
"tooltip-interest-charged": "Los intereses se cargan sobre el saldo prestado y están sujetos a cambios.",
"tooltip-ioc": "Los ordenes inmediatos o cancelados están garantizados para ser el tomador o se cancelarán.",
"tooltip-ioc": "Las ordenes inmediatas o canceladas están garantizados para ser el receptor o se cancelarán.",
"tooltip-lock-layout": "Diseño de bloqueo",
"tooltip-name-onchain": "Los nombres de las cuentas se almacenan en cadena",
"tooltip-post": "Se garantiza que los ordenes de envío solo serán el pedido del fabricante o, de lo contrario, se cancelará.",
"tooltip-post": "Se garantiza que las órdenes de envío solo serán el pedido del fabricante o, de lo contrario, se cancelará.",
"tooltip-projected-leverage": "Apalancamiento proyectado",
"tooltip-reduce": "Reducir solo los ordenes solo reducirá su posición general.",
"tooltip-reduce": "Reducir solamente ordenes solo reducirá su posición general.",
"tooltip-reset-layout": "Restablecer diseño",
"tooltip-serum-rebate": "El 20% de las tarifas netas de Serum van al host de la GUI. Mango le reembolsa esta tarifa. La tarifa del receptor antes del reembolso de la GUI es {{taker_percent}}",
"tooltip-slippage": "If price slips more than your max slippage, your order will be partially filled up to that price.",
"tooltip-slippage": "Si el precio cae más que su deslizamiento máximo, su pedido se completará parcialmente hasta ese precio.",
"tooltip-switch-layout": "Disposición del interruptor",
"tooltip-unlock-layout": "Desbloquear diseño",
"total-assets": "Valor de los activos totales",
@ -397,11 +397,11 @@
"type": "Tipo",
"unrealized-pnl": "PnL no realizado",
"unsettled": "Inestable",
"unsettled-balance": "saldo pendiente",
"unsettled-balance": "Saldo pendiente",
"unsettled-balances": "Saldos pendientes",
"unsettled-positions": "Posiciones sin saldar",
"use-explorer-one": "Use the ",
"use-explorer-three": "to verify any delayed transactions.",
"use-explorer-one": "Usar el ",
"use-explorer-three": "para verificar cualquier transacción retrasada.",
"use-explorer-two": "Explorer ",
"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:",
@ -409,11 +409,11 @@
"v3-welcome": "Bienvenido a Mango V3",
"value": "Valor",
"view-all-trades": "Ver todas las operaciones en la página de la cuenta",
"view-counterparty": "View Counterparty",
"view-transaction": "View Transaction",
"wallet": "Wallet",
"wallet-connected": "Wallet connected",
"wallet-disconnected": "Disconnected from wallet",
"view-counterparty": "Ver contraparte",
"view-transaction": "Ver transacción",
"wallet": "Billetera",
"wallet-connected": "Billetera conectada",
"wallet-disconnected": "Billetera desconectada",
"withdraw": "Retirar",
"withdraw-error": "No se pudo realizar el retiro",
"withdraw-funds": "Retirar Fondos",

View File

@ -0,0 +1,28 @@
{
"10k-mngo": "You need 10,000 MNGO in your Mango Account",
"buy-mngo": "Buy MNGO",
"copy-link": "Copy Link",
"custom-links": "Custom Referral Links",
"custom-links-limit": "You can generate up to 5 custom referral links.",
"earn-16": "Earn 16% of the perp fees paid by anyone you refer. Plus, they get a 4% perp fee discount.",
"earnings-history": "Earnings History",
"enter-referral-id": "Enter a referral ID",
"fee-earned": "Fee Earned",
"generate-link": "Generate Custom Link",
"link": "Link",
"link-created": "Custom referral link created",
"link-not-created": "Unable to create referral link",
"program-details": "Program Details",
"program-details-1": "Your referral code is automatically applied when a user creates a Mango Account using your link.",
"program-details-2": "When any of your referrals trade Mango Perps, you earn 16% of their trade fees.",
"program-details-3": "Plus, for using your link they get a 4% discount off their Mango Perp fees.",
"program-details-4": "You must have at least 10,000 MNGO in your Mango Account to qualify for generating referrals and earning referral rewards.",
"referee": "Referee",
"referral-id": "Referral ID",
"sow-seed": "Sow the Mango Seed",
"too-long-error": "Referral IDs must be less then 33 characters",
"total-earnings": "Total Earnings",
"total-referrals": "Total referrals",
"your-links": "Your Links",
"your-referrals": "Your Referrals"
}

View File

@ -22,9 +22,9 @@
"active-alerts": "活动警报",
"add-more-sol": "为了避免交易出错请给被连结的钱包多存入一点SOL。",
"add-name": "加标签",
"alerts": "警报",
"alert-health": "健康度低于此度发警报",
"alert-info": "健康度在{{health}}%以下时发电子邮件",
"alerts": "警报",
"alerts-disclaimer": "请别全靠警报来保护资产。我们无法保证会准时发出。",
"alerts-max": "您以达到活动警报数量限制。",
"all-assets": "所有资产",
@ -300,6 +300,7 @@
"redeem-failure": "收获MNGO奖励出错了",
"redeem-pnl": "结清",
"redeem-success": "已收获MNGO奖励了",
"referrals": "推荐码",
"refresh": "更新",
"refresh-data": "更新资料",
"repay": "归还",
@ -333,8 +334,8 @@
"size": "数量",
"slippage-warning": "此订单也许会遭受大量滑点!使用限价止损或限价止盈可能比较适合。",
"spanish": "Español",
"spot-desc": "Spot margin quoted in USDC",
"spot": "现货",
"spot-desc": "Spot margin quoted in USDC",
"spread": "点差",
"stats": "统计",
"stop-limit": "限价止损",

View File

@ -0,0 +1,28 @@
{
"10k-mngo": "您的Mango帐户必须含有一万MNGO",
"buy-mngo": "买MNGO",
"copy-link": "复制连结",
"custom-links": "自定连结",
"custom-links-limit": "您可创建的推荐码数量限制于5。",
"earn-16": "收获荐友PERP市场费用的16%再加上荐友也获得4%折扣。",
"earnings-history": "盈利历史",
"enter-referral-id": "输入推荐码",
"fee-earned": "收获费用",
"generate-link": "创建自定连结",
"link": "连结",
"link-created": "已创建自定连结",
"link-not-created": "无法创建自定连结",
"program-details": "活动细节",
"program-details-1": "朋友以您的连结创建Mango帐户时您的推荐码会自动实施。",
"program-details-2": "荐友买卖PERPs的时候您会收获他们缴的费用的16%。",
"program-details-3": "再加上荐友会获得PERP费用的4%折扣。",
"program-details-4": "您的Mango帐户至少必须含有一万MNGO才能收获推荐码带来的盈利。",
"referee": "荐友",
"referral-id": "推荐码",
"sow-seed": "播种芒果",
"too-long-error": "推荐码长度必须少于33个字母",
"total-earnings": "总收入",
"total-referrals": "总推荐",
"your-links": "您的连结",
"your-referrals": "您的推荐"
}

View File

@ -22,9 +22,9 @@
"active-alerts": "活動警報",
"add-more-sol": "為了避免交易出錯請給被連結的錢包多存入一點SOL。",
"add-name": "加標籤",
"alerts": "警報",
"alert-health": "健康度低於此度發警報",
"alert-info": "健康度在{{health}}%以下時發電子郵件",
"alerts": "警報",
"alerts-disclaimer": "請別全靠警報來保護資產。我們無法保證會準時發出。",
"alerts-max": "您以達到活動警報數量限制。",
"all-assets": "所有資產",
@ -300,6 +300,7 @@
"redeem-failure": "收穫MNGO獎勵出錯了",
"redeem-pnl": "實現盈虧",
"redeem-success": "已收穫MNGO獎勵了",
"referrals": "推薦碼",
"refresh": "更新",
"refresh-data": "更新資料",
"repay": "歸還",
@ -333,8 +334,8 @@
"size": "數量",
"slippage-warning": "此訂單也許會遭受大量滑點!使用限價止損或限價止盈可能比較適合。",
"spanish": "Español",
"spot-desc": "Spot margin quoted in USDC",
"spot": "現貨",
"spot-desc": "Spot margin quoted in USDC",
"spread": "點差",
"stats": "統計",
"stop-limit": "限價止損",

View File

@ -0,0 +1,28 @@
{
"10k-mngo": "您的Mango帳戶必須含有一萬MNGO",
"buy-mngo": "買MNGO",
"copy-link": "複製連結",
"custom-links": "自定連結",
"custom-links-limit": "您可創建的推薦碼數量限制於5。",
"earn-16": "收穫薦友PERP市場費用的16%再加上薦友也獲得4%折扣。",
"earnings-history": "盈利歷史",
"enter-referral-id": "輸入推薦碼",
"fee-earned": "收穫費用",
"generate-link": "創建自定連結",
"link": "連結",
"link-created": "已創建自定連結",
"link-not-created": "無法創建自定連結",
"program-details": "活動細節",
"program-details-1": "朋友以您的連結創建Mango帳戶時您的推薦碼會自動實施。",
"program-details-2": "薦友買賣PERPs的時候您會收穫他們繳的費用的16%。",
"program-details-3": "再加上薦友會獲得PERP費用的4%折扣。",
"program-details-4": "您的Mango帳戶至少必須含有一萬MNGO才能收穫推薦碼帶來的盈利。",
"referee": "薦友",
"referral-id": "推薦碼",
"sow-seed": "播種芒果",
"too-long-error": "推薦碼長度必須少於33個字母",
"total-earnings": "總收入",
"total-referrals": "總推薦",
"your-links": "您的連結",
"your-referrals": "您的推薦"
}