Translate failure reasons

This commit is contained in:
Reckless_Satoshi 2022-05-19 07:43:04 -07:00
parent d48ee9ced4
commit f53fcce17c
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
3 changed files with 26 additions and 9 deletions

View File

@ -1164,7 +1164,7 @@ handleRatingRobosatsChange=(e)=>{
return(
<Grid item xs={12} align="center">
<Typography variant="body2" align="center">
<b>{"Failure reason:"}</b>
<b>{t("Failure reason:")}</b>
</Typography>
<Typography variant="body2" align="center">
{t(this.props.data.failure_reason)}
@ -1183,14 +1183,15 @@ handleRatingRobosatsChange=(e)=>{
{t("Lightning Routing Failed")}
</Typography>
</Grid>
<Grid item xs={12} align="center">
<Typography variant="body2" align="center">
{t("Your invoice has expired or more than 3 payment attempts have been made.")}
</Typography>
</Grid>
{this.props.data.failure_reason ? this.failureReason():null}
<Grid item xs={12} align="center">
<Typography variant="body2" align="center">
{t("Your invoice has expired or more than 3 payment attempts have been made. Submit a new invoice.")}
</Typography>
</Grid>
<Grid item xs={12} align="center">
{this.compatibleWalletsButton()}
</Grid>
@ -1231,7 +1232,7 @@ handleRatingRobosatsChange=(e)=>{
</Grid>
{this.props.data.failure_reason ? this.failureReason():null}
<Grid item xs={12} align="center">
<Typography variant="body2" align="center">
{t("RoboSats will try to pay your invoice 3 times every 5 minutes. If it keeps failing, you will be able to submit a new invoice. Check whether you have enough inbound liquidity. Remember that lightning nodes must be online in order to receive payments.")}

View File

@ -325,7 +325,7 @@
"RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.":"RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.",
"Retrying!":"Retrying!",
"Lightning Routing Failed":"Lightning Routing Failed",
"Your invoice has expired or more than 3 payment attempts have been made.":"Your invoice has expired or more than 3 payment attempts have been made.",
"Your invoice has expired or more than 3 payment attempts have been made. Submit a new invoice.":"Your invoice has expired or more than 3 payment attempts have been made. Submit a new invoice.",
"Check the list of compatible wallets":"Check the list of compatible wallets",
"RoboSats will try to pay your invoice 3 times every 5 minutes. If it keeps failing, you will be able to submit a new invoice. Check whether you have enough inbound liquidity. Remember that lightning nodes must be online in order to receive payments.":"RoboSats will try to pay your invoice 3 times every 5 minutes. If it keeps failing, you will be able to submit a new invoice. Check whether you have enough inbound liquidity. Remember that lightning nodes must be online in order to receive payments.",
"Next attempt in":"Next attempt in",
@ -357,6 +357,14 @@
"Unpause Order":"Unpause Order",
"You risk losing your bond if you do not lock the collateral. Total time to available is {{deposit_timer_hours}}h {{deposit_timer_minutes}}m.":"You risk losing your bond if you do not lock the collateral. Total time to available is {{deposit_timer_hours}}h {{deposit_timer_minutes}}m.",
"See Compatible Wallets":"See Compatible Wallets",
"Failure reason:":"Failure reason:",
"Payment isn't failed (yet)":"Payment isn't failed (yet)",
"There are more routes to try, but the payment timeout was exceeded.":"There are more routes to try, but the payment timeout was exceeded.",
"All possible routes were tried and failed permanently. Or there were no routes to the destination at all.":"All possible routes were tried and failed permanently. Or there were no routes to the destination at all.",
"A non-recoverable error has occurred.":"A non-recoverable error has occurred.",
"Payment details are incorrect (unknown hash, invalid amount or invalid final CLTV delta).":"Payment details are incorrect (unknown hash, invalid amount or invalid final CLTV delta).",
"Insufficient unlocked balance in RoboSats' node.":"Insufficient unlocked balance in RoboSats' node.",
"INFO DIALOG - InfoDiagog.js":"App information and clarifications and terms of use",
"Close":"Close",

View File

@ -324,7 +324,7 @@
"RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.": "RoboSats está intentando pagar tu factura de Lightning. Recuerda que los nodos Lightning deben estar en línea para recibir pagos.",
"Retrying!": "¡Reintentando!",
"Lightning Routing Failed": "Fallo en el enrutamiento de Lightning",
"Your invoice has expired or more than 3 payment attempts have been made.": "Tu factura ha expirado o se han hecho más de 3 intentos de pago.",
"Your invoice has expired or more than 3 payment attempts have been made. Submit a new invoice.": "Tu factura ha expirado o se han hecho más de 3 intentos de pago. Entrega una nueva factura.",
"Check the list of compatible wallets": "Mira la lista de carteras compatibles",
"RoboSats will try to pay your invoice 3 times every 5 minutes. If it keeps failing, you will be able to submit a new invoice. Check whether you have enough inbound liquidity. Remember that lightning nodes must be online in order to receive payments.": "RoboSats intentará pagar tu factura 3 veces cada 5 minutos. Si sigue fallando, podrás presentar una nueva factura. Comprueba si tienes suficiente liquidez entrante. Recuerda que los nodos de Lightning tienen que estar en línea para poder recibir pagos.",
"Next attempt in": "Próximo intento en",
@ -356,6 +356,14 @@
"Unpause Order":"Activar Orden",
"You risk losing your bond if you do not lock the collateral. Total time to available is {{deposit_timer_hours}}h {{deposit_timer_minutes}}m.":"Si no bloqueas el colateral te arriesgas a perder tu fianza. Dispones en total de {{deposit_timer_hours}}h {{deposit_timer_minutes}}m.",
"See Compatible Wallets":"Ver billeteras compatibles",
"Failure reason:":"Razón del fallo:",
"Payment isn't failed (yet)":"El pago no ha fallado aún",
"There are more routes to try, but the payment timeout was exceeded.":"Quedan rutas por probar, pero el tiempo máximo del intento ha sido excedido.",
"All possible routes were tried and failed permanently. Or there were no routes to the destination at all.":"Todas las rutas posibles han sido probadas y han fallado de forma permanente. O quizá no había ninguna ruta.",
"A non-recoverable error has occurred.":"A non-recoverable error has occurred.",
"Payment details are incorrect (unknown hash, invalid amount or invalid final CLTV delta).":"Los detalles del pago son incorrectos (hash desconocido, cantidad inválida o CLTV delta final inválido).",
"Insufficient unlocked balance in RoboSats' node.":"Balance libre de ser usado en el nodo de RoboSats insuficiente.",
"INFO DIALOG - InfoDiagog.js": "App information and clarifications and terms of use",
"Close": "Cerrar",