Add SeeCompatibleWallets button to re-submit invoic after fail routing

This commit is contained in:
Reckless_Satoshi 2022-05-16 13:57:44 -07:00
parent b92d78967a
commit 159cf1a39e
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
10 changed files with 16 additions and 11 deletions

View File

@ -40,7 +40,7 @@ export default class App extends Component {
<ThemeProvider theme={this.state.dark ? this.darkTheme : this.lightTheme}>
<CssBaseline/>
<LearnDialog open={this.state.openLearn} onClose={()=> this.setState({openLearn:false})}/>
<IconButton sx={{position:'fixed',right:'30px'}} onClick={()=> this.setState({openLearn:true})}><SchoolIcon/></IconButton>
<IconButton sx={{position:'fixed',right:'34px'}} onClick={()=> this.setState({openLearn:true})}><SchoolIcon/></IconButton>
<IconButton sx={{position:'fixed',right:'0px'}} onClick={()=>this.setState({dark:!this.state.dark})}>
{this.state.dark ? <LightModeIcon/>:<DarkModeIcon/>}
</IconButton>

View File

@ -1171,10 +1171,15 @@ handleRatingRobosatsChange=(e)=>{
</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. Muun wallet is not recommended. ")}
{t("Your invoice has expired or more than 3 payment attempts have been made.")}
<Link href="https://github.com/Reckless-Satoshi/robosats/issues/44"> {t("Check the list of compatible wallets")}</Link>
</Typography>
</Grid>
<Grid item xs={12} align="center">
{this.compatibleWalletsButton()}
</Grid>
<Grid item xs={12} align="center">
<Typography color="primary" variant="subtitle1">
<b> {t("Submit an invoice for {{amountSats}} Sats",{amountSats: pn(this.props.data.invoice_amount)})}</b>

View File

@ -322,7 +322,7 @@
"RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.":"RoboSats està intentant pagar la teva factura de Lightning. Recorda que els nodes Lightning han d'estar en línia per rebre pagaments.",
"Retrying!":"Reintentant!",
"Lightning Routing Failed":"Ha fallat l'enrutament Lightning",
"Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ":"La teva factura ha expirat o s'han fet més de 3 intents de pagament. La cartera Muun no està recomanada. ",
"Your invoice has expired or more than 3 payment attempts have been made.":"La teva factura ha expirat o s'han fet més de 3 intents de pagament. La cartera Muun no està recomanada. ",
"Check the list of compatible wallets":"Mira la llista de carteres 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 la teva factura 3 cops cada 5 minuts. Si segueix fallant, podràs presentar una nova factura. Comprova si tens suficient liquiditat entrant. Recorda que els nodes de Lightning han d'estar en línia per poder rebre pagaments.",
"Next attempt in":"Proper intent en",

View File

@ -311,7 +311,7 @@
"RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.":"RoboSats versucht deine Lightning-Invoice zu bezahlen. Denk daran, dass deine Lightning-Node erreichbar sein muss, um die Zahlung zu erhalten.",
"Retrying!":"Erneut versuchen!",
"Lightning Routing Failed":"Lightning-Weiterleitung fehlgeschlagen",
"Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ":"Deine Invoice ist abgelaufen oder mehr als drei Zahlungs-Versuche sind fehlgeschlagen. Muun-Wallet wird nicht empfohlen. ",
"Your invoice has expired or more than 3 payment attempts have been made.":"Deine Invoice ist abgelaufen oder mehr als drei Zahlungs-Versuche sind fehlgeschlagen. Muun-Wallet wird nicht empfohlen. ",
"Check the list of compatible wallets":"Prüfe die Liste mit kompatiblen 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 wird alle 5 Minuten 3 mal versuchen, deine Invoice auszuzahlen. Wenn es weiter fehlschlägt, kannst du eine neue Invoice einfügen. Prüfe deine Inbound-Liquidität. Denk daran, dass deine Lightning-Node erreichbar sein muss, um die Zahlung zu erhalten.Denk daran, dass deine Lightning-Node erreichbar sein muss, um die Zahlung zu erhalten.",
"Next attempt in":"Nächster Versuch in",

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. Muun wallet is not recommended. ":"Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ",
"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.",
"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",

View File

@ -22,7 +22,7 @@
"You are about to visit 'Learn.RoboSats' page. This is a community built site hosting tutorials and documentation to help you learn to use RoboSats and understand how it works.":"Vas a visitar la página 'Learn.RoboSats'. Ha sido construida por la comunidad y tiene tutoriales y documentación que te ayudará a aprender como se usa RoboSats y a entender como funciona.",
"Let's go!":"¡Vamos!",
"MAKER PAGE - MakerPage.js": "This is the page where users can create new orders",
"Order":"Orden",
"Customize":"Personalizar",
@ -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. Muun wallet is not recommended. ": "Tu factura ha expirado o se han hecho más de 3 intentos de pago. La cartera Muun no está recomendada. ",
"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.",
"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",

View File

@ -304,7 +304,7 @@
"RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.":"RoboSats tente de payer votre facture lightning. Rappelez-vous que les nœuds lightning doivent être en ligne pour recevoir des paiements.",
"Retrying!":"Nouvelle tentative!",
"Lightning Routing Failed":"Échec du routage Lightning",
"Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ":"Votre facture a expiré ou plus de 3 tentatives de paiement ont été effectuées. Le porte-monnaie Muun n'est pas recommandé.",
"Your invoice has expired or more than 3 payment attempts have been made.":"Votre facture a expiré ou plus de 3 tentatives de paiement ont été effectuées. Le porte-monnaie Muun n'est pas recommandé.",
"Check the list of compatible wallets":"Vérifier la liste des portefeuilles 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 essaiera de payer votre facture 3 fois toutes les 5 minutes. S'il continue à échouer, vous pourrez soumettre une nouvelle facture. Vérifiez si vous avez suffisamment de liquidité entrante. N'oubliez pas que les nœuds lightning doivent être en ligne pour pouvoir recevoir des paiements.",
"Next attempt in":"Prochaine tentative en",

View File

@ -304,7 +304,7 @@
"RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.":"RoboSats próbuje zapłacić fakturę za błyskawicę. Pamiętaj, że węzły pioruna muszą być online, aby otrzymywać płatności.",
"Retrying!":"Ponawianie!",
"Lightning Routing Failed":"Lightning Niepowodzenie routingu",
"Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ":"Twoja faktura wygasła lub wykonano więcej niż 3 próby płatności. Muun Wallet nie jest zalecany. ",
"Your invoice has expired or more than 3 payment attempts have been made.":"Twoja faktura wygasła lub wykonano więcej niż 3 próby płatności. Muun Wallet nie jest zalecany. ",
"Check the list of compatible wallets":"Sprawdź listę kompatybilnych 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 będzie próbował zapłacić fakturę 3 razy co 5 minut. Jeśli to się nie powiedzie, będziesz mógł wystawić nową fakturę. Sprawdź, czy masz wystarczającą płynność przychodzącą. Pamiętaj, że węzły pioruna muszą być online, aby otrzymywać płatności.",
"Next attempt in":"Następna próba za",

View File

@ -311,7 +311,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. Muun wallet is not recommended. ":"Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ",
"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. Muun wallet is not recommended. ",
"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",

View File

@ -311,7 +311,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. Muun wallet is not recommended. ":"Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ",
"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. Muun wallet is not recommended. ",
"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",