Add locale strings for onchain swap texts

This commit is contained in:
Reckless_Satoshi 2022-06-17 05:03:18 -07:00
parent 2289274251
commit 3141018baa
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
3 changed files with 41 additions and 9 deletions

View File

@ -649,7 +649,7 @@ class TradeBox extends Component {
<Divider/>
<ListItem>
<Typography variant="body2">
{t("The taker is committed! Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC.",
{t("Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC.",
{amountFiat: parseFloat(parseFloat(this.props.data.amount).toFixed(4)),
currencyCode: this.props.data.currencyCode})}
</Typography>
@ -661,10 +661,10 @@ class TradeBox extends Component {
value={this.state.receiveTab}
exclusive >
<ToggleButton value={0} disableRipple={true} onClick={() => this.setState({receiveTab:0})}>
<div style={{display:'flex', alignItems:'center', justifyContent:'center', flexWrap:'wrap'}}><BoltIcon/> Lightning</div>
<div style={{display:'flex', alignItems:'center', justifyContent:'center', flexWrap:'wrap'}}><BoltIcon/> {t("Lightning")}</div>
</ToggleButton>
<ToggleButton value={1} disabled={!this.props.data.swap_allowed} onClick={() => this.setState({receiveTab:1, miningFee: parseFloat(this.props.data.suggested_mining_fee_rate)})} >
<div style={{display:'flex', alignItems:'center', justifyContent:'center', flexWrap:'wrap'}}><LinkIcon/> Onchain</div>
<div style={{display:'flex', alignItems:'center', justifyContent:'center', flexWrap:'wrap'}}><LinkIcon/> {t("Onchain")}</div>
</ToggleButton>
</ToggleButtonGroup>
</Grid>

View File

@ -314,8 +314,6 @@
"Among public {{currencyCode}} orders (higher is cheaper)": "Among public {{currencyCode}} orders (higher is cheaper)",
"A taker has been found!":"A taker has been found!",
"Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.":"Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.",
"Submit an invoice for {{amountSats}} Sats":"Submit an invoice for {{amountSats}} Sats",
"The taker is committed! Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC. Please provide a valid invoice for {{amountSats}} Satoshis.":"The taker is committed! Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC. Please provide a valid invoice for {{amountSats}} Satoshis.",
"Payout Lightning Invoice":"Payout Lightning Invoice",
"Your info looks good!":"Your info looks good!",
"We are waiting for the seller to lock the trade amount.":"We are waiting for the seller to lock the trade amount.",
@ -391,6 +389,26 @@
"Does not look like a valid lightning invoice":"Does not look like a valid lightning invoice",
"The invoice provided has already expired":"The invoice provided has already expired",
"Make sure to EXPORT the chat log. The staff might request your exported chat log JSON in order to solve discrepancies. It is your responsibility to store it.":"Make sure to EXPORT the chat log. The staff might request your exported chat log JSON in order to solve discrepancies. It is your responsibility to store it.",
"Does not look like a valid address":"Does not look like a valid address",
"This is not a bitcoin mainnet address":"This is not a bitcoin mainnet address",
"This is not a bitcoin testnet address":"This is not a bitcoin testnet address",
"Submit payout info for {{amountSats}} Sats":"Submit payout info for {{amountSats}} Sats",
"Submit a valid invoice for {{amountSats}} Satoshis.":"Submit a valid invoice for {{amountSats}} Satoshis.",
"Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC.":"Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC.",
"RoboSats will do a swap and send the Sats to your onchain address.":"RoboSats will do a swap and send the Sats to your onchain address.",
"Swap fee":"Swap fee",
"Mining fee":"Mining fee",
"Mining Fee":"Mining Fee",
"Final amount you will receive":"Final amount you will receive",
"Bitcoin Address":"Bitcoin Address",
"Your TXID":"Your TXID",
"Lightning":"Lightning",
"Onchain":"Onchain",
"INFO DIALOG - InfoDiagog.js":"App information and clarifications and terms of use",

View File

@ -181,7 +181,9 @@
"You do not have previous orders":"No tienes órdenes previas",
"Join RoboSats' Subreddit":"Únete al subreddit de RoboSats",
"RoboSats in Reddit":"RoboSats en Reddit",
"Current onchain payout fee":"Coste por envio onchain actual",
"Current onchain payout fee":"Coste actual de recibir onchain",
"Lightning":"Lightning",
"Onchain":"Onchain",
"ORDER PAGE - OrderPage.js": "Order details page",
"Order Box": "Orden",
@ -313,10 +315,8 @@
"Among public {{currencyCode}} orders (higher is cheaper)": "Entre las órdenes públicas de {{currencyCode}} (más alto, más barato)",
"A taker has been found!": "¡Un tomador ha sido encontrado!",
"Please wait for the taker to lock a bond. If the taker does not lock a bond in time, the order will be made public again.": "Por favor, espera a que el tomador bloquee su fianza. Si no lo hace a tiempo, la orden será pública de nuevo.",
"Submit an invoice for {{amountSats}} Sats": "Envía una factura por {{amountSats}} Sats",
"The taker is committed! Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC. Please provide a valid invoice for {{amountSats}} Satoshis.": "¡El tomador está comprometido! Antes de dejarte enviar {{amountFiat}} {{currencyCode}}, queremos asegurarnos de que puedes recibir en Lightning. Por favor proporciona una factura válida por {{amountSats}} Sats.",
"Payout Lightning Invoice": "Factura Lightning",
"Your invoice looks good!": "¡Tu factura es buena!",
"Your info looks good!": "¡Info del envio recibida!",
"We are waiting for the seller lock the trade amount.": "Esperando a que el vendedor bloquee el colateral.",
"Just hang on for a moment. If the seller does not deposit, you will get your bond back automatically. In addition, you will receive a compensation (check the rewards in your profile).": "Espera un momento. Si el vendedor no deposita, recuperarás tu fianza automáticamente. Además, recibirás una compensación (comprueba las recompensas en tu perfil).",
"The trade collateral is locked!": "¡El colateral está bloqueado!",
@ -389,6 +389,20 @@
"The invoice provided has no explicit amount":"La factura entregada no contiene una cantidad explícita",
"Does not look like a valid lightning invoice":"No parece ser una factura lightning válida",
"The invoice provided has already expired":"La factura que has entregado ya ha caducado",
"Make sure to EXPORT the chat log. The staff might request your exported chat log JSON in order to solve discrepancies. It is your responsibility to store it.":"Asegurate de EXPORTAR el registro del chat. Los administradores pueden pedirte el registro del chat en caso de discrepancias. Es tu responsabilidad proveerlo.",
"Does not look like a valid address":"No parece una dirección Bitcoin válida",
"This is not a bitcoin mainnet address":"No es una dirección de mainnet",
"This is not a bitcoin testnet address":"No es una dirección de testnet",
"Submit payout info for {{amountSats}} Sats":"Envia info para recibir {{amountSats}} Sats",
"Submit a valid invoice for {{amountSats}} Satoshis.": "Envía una factura por {{amountSats}} Sats",
"Before letting you send {{amountFiat}} {{currencyCode}}, we want to make sure you are able to receive the BTC.":"Antes de dejarte enviar {{amountFiat}} {{currencyCode}}, queremos asegurarnos de que puedes recibir el Bitcoin.",
"RoboSats will do a swap and send the Sats to your onchain address.":"RoboSats hará un swap y enviará los Sats a tu dirección en la cadena.",
"Swap fee":"Comisión del swap",
"Mining fee":"Comisión minera",
"Mining Fee":"Comisión Minera",
"Final amount you will receive":"Monto final que vas a recibir",
"Bitcoin Address":"Dirección Bitcoin",
"Your TXID":"Tu TXID",
"INFO DIALOG - InfoDiagog.js": "App information and clarifications and terms of use",