mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
Implement i18n 3/9 TradeBox. Fix explicit pricing when amount range is enabled.
This commit is contained in:
parent
243147686f
commit
95e4f0811a
@ -210,10 +210,12 @@ class MakerPage extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleClickExplicit=(e)=>{
|
handleClickExplicit=(e)=>{
|
||||||
this.setState({
|
if(!this.state.enableAmountRange){
|
||||||
is_explicit: true,
|
this.setState({
|
||||||
});
|
is_explicit: true,
|
||||||
this.handleSatoshisChange();
|
});
|
||||||
|
this.handleSatoshisChange();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
handleCreateOfferButtonPressed=()=>{
|
handleCreateOfferButtonPressed=()=>{
|
||||||
@ -527,7 +529,7 @@ class MakerPage extends Component {
|
|||||||
<FormHelperText>
|
<FormHelperText>
|
||||||
<Tooltip enterTouchDelay="0" placement="top" align="center"title={"Let the taker chose an amount within the range"}>
|
<Tooltip enterTouchDelay="0" placement="top" align="center"title={"Let the taker chose an amount within the range"}>
|
||||||
<div align="center" style={{display:'flex',alignItems:'center', flexWrap:'wrap'}}>
|
<div align="center" style={{display:'flex',alignItems:'center', flexWrap:'wrap'}}>
|
||||||
<Checkbox onChange={(e)=>this.setState({enableAmountRange:e.target.checked}) & (e.target.checked ? this.getLimits() : null)}/>
|
<Checkbox onChange={(e)=>this.setState({enableAmountRange:e.target.checked, is_explicit: false}) & (e.target.checked ? this.getLimits() : null)}/>
|
||||||
{this.state.enableAmountRange & this.state.minAmount != null? <this.rangeText/> : "Enable Amount Range"}
|
{this.state.enableAmountRange & this.state.minAmount != null? <this.rangeText/> : "Enable Amount Range"}
|
||||||
</div>
|
</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
@ -132,6 +132,7 @@ class TradeBox extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ConfirmDisputeDialog =() =>{
|
ConfirmDisputeDialog =() =>{
|
||||||
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Dialog
|
<Dialog
|
||||||
open={this.state.openConfirmDispute}
|
open={this.state.openConfirmDispute}
|
||||||
@ -140,19 +141,16 @@ class TradeBox extends Component {
|
|||||||
aria-describedby="open-dispute-dialog-description"
|
aria-describedby="open-dispute-dialog-description"
|
||||||
>
|
>
|
||||||
<DialogTitle id="open-dispute-dialog-title">
|
<DialogTitle id="open-dispute-dialog-title">
|
||||||
{"Do you want to open a dispute?"}
|
{t("Do you want to open a dispute?")}
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogContentText id="alert-dialog-description">
|
<DialogContentText id="alert-dialog-description">
|
||||||
The RoboSats staff will examine the statements and evidence provided. You need to build
|
{t("The RoboSats staff will examine the statements and evidence provided. You need to build a complete case, as the staff cannot read the chat. It is best to provide a burner contact method with your statement. The satoshis in the trade escrow will be sent to the dispute winner, while the dispute loser will lose the bond.")}
|
||||||
a complete case, as the staff cannot read the chat. It is best to provide a burner contact
|
|
||||||
method with your statement. The satoshis in the trade escrow will be sent to the dispute winner,
|
|
||||||
while the dispute loser will lose the bond.
|
|
||||||
</DialogContentText>
|
</DialogContentText>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button onClick={this.handleClickCloseConfirmDispute} autoFocus>Disagree</Button>
|
<Button onClick={this.handleClickCloseConfirmDispute} autoFocus>{t("Disagree")}</Button>
|
||||||
<Button onClick={this.handleClickAgreeDisputeButton}> Agree and open dispute </Button>
|
<Button onClick={this.handleClickAgreeDisputeButton}>{t("Agree and open dispute")}</Button>
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
)
|
)
|
||||||
@ -171,6 +169,7 @@ class TradeBox extends Component {
|
|||||||
};
|
};
|
||||||
|
|
||||||
ConfirmFiatReceivedDialog =() =>{
|
ConfirmFiatReceivedDialog =() =>{
|
||||||
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Dialog
|
<Dialog
|
||||||
open={this.state.openConfirmFiatReceived}
|
open={this.state.openConfirmFiatReceived}
|
||||||
@ -179,19 +178,18 @@ class TradeBox extends Component {
|
|||||||
aria-describedby="fiat-received-dialog-description"
|
aria-describedby="fiat-received-dialog-description"
|
||||||
>
|
>
|
||||||
<DialogTitle id="open-dispute-dialog-title">
|
<DialogTitle id="open-dispute-dialog-title">
|
||||||
{"Confirm you received " +this.props.data.currencyCode+ "?"}
|
<Trans i18n="confirm_fiat_received_title">Confirm you received {{currencyCode: this.props.data.currencyCode}}?</Trans>
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
<DialogContentText id="alert-dialog-description">
|
<DialogContentText id="alert-dialog-description">
|
||||||
Confirming that you received the fiat will finalize the trade. The satoshis
|
<Trans i18n="confirm_fiat_received_dialog">
|
||||||
in the escrow will be released to the buyer. Only confirm after the {this.props.data.currencyCode+ " "}
|
Confirming that you received the fiat will finalize the trade. The satoshis in the escrow will be released to the buyer. Only confirm after the {{currencyCode: this.props.data.currencyCode}} has arrived to your account. In addition, if you have received {{currencyCode: this.props.data.currencyCode}} and do not confirm the receipt, you risk losing your bond.
|
||||||
has arrived to your account. In addition, if you have received {this.props.data.currencyCode+ " "}
|
</Trans>
|
||||||
and do not confirm the receipt, you risk losing your bond.
|
|
||||||
</DialogContentText>
|
</DialogContentText>
|
||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button onClick={this.handleClickCloseConfirmFiatReceived} autoFocus>Go back</Button>
|
<Button onClick={this.handleClickCloseConfirmFiatReceived} autoFocus>{t("Go back")}</Button>
|
||||||
<Button onClick={this.handleClickTotallyConfirmFiatReceived}> Confirm </Button>
|
<Button onClick={this.handleClickTotallyConfirmFiatReceived}>{t("Confirm")}</Button>
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
)
|
)
|
||||||
@ -210,14 +208,14 @@ class TradeBox extends Component {
|
|||||||
{this.props.data.is_maker ?
|
{this.props.data.is_maker ?
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b><Trans i18nKey="lock_to_publish">
|
<b><Trans i18nKey="lock_to_publish">
|
||||||
Lock {{amount_sats: pn(this.props.data.bond_satoshis)}} Sats to PUBLISH order
|
Lock {{amountSats: pn(this.props.data.bond_satoshis)}} Sats to PUBLISH order
|
||||||
</Trans>
|
</Trans>
|
||||||
</b> {" " + this.stepXofY()}
|
</b> {" " + this.stepXofY()}
|
||||||
</Typography>
|
</Typography>
|
||||||
:
|
:
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b><Trans i18nKey="lock_to_take">
|
<b><Trans i18nKey="lock_to_take">
|
||||||
Lock {{amount_sats: pn(this.props.data.bond_satoshis)}} Sats to TAKE the order
|
Lock {{amountSats: pn(this.props.data.bond_satoshis)}} Sats to TAKE the order
|
||||||
</Trans>
|
</Trans>
|
||||||
</b> {" " + this.stepXofY()}
|
</b> {" " + this.stepXofY()}
|
||||||
</Typography>
|
</Typography>
|
||||||
@ -294,7 +292,7 @@ class TradeBox extends Component {
|
|||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography color="green" component="subtitle1" variant="subtitle1">
|
<Typography color="green" component="subtitle1" variant="subtitle1">
|
||||||
<b><Trans i18nKey="lock_escrow" >
|
<b><Trans i18nKey="lock_escrow" >
|
||||||
Lock {{amount_sats:pn(this.props.data.escrow_satoshis)}} Sats as collateral
|
Lock {{amountSats:pn(this.props.data.escrow_satoshis)}} Sats as collateral
|
||||||
</Trans>
|
</Trans>
|
||||||
</b> {" " + this.stepXofY()}
|
</b> {" " + this.stepXofY()}
|
||||||
</Typography>
|
</Typography>
|
||||||
@ -303,7 +301,7 @@ class TradeBox extends Component {
|
|||||||
<Box sx={{bgcolor:'#ffffff', width:'315px', position:'relative', left:'-5px'}} >
|
<Box sx={{bgcolor:'#ffffff', width:'315px', position:'relative', left:'-5px'}} >
|
||||||
<QRCode value={this.props.data.escrow_invoice} size={305} style={{position:'relative', top:'3px'}}/>
|
<QRCode value={this.props.data.escrow_invoice} size={305} style={{position:'relative', top:'3px'}}/>
|
||||||
</Box>
|
</Box>
|
||||||
<Tooltip disableHoverListener enterTouchDelay="0" title="Copied!">
|
<Tooltip disableHoverListener enterTouchDelay="0" title={t("Copied!")}>
|
||||||
<Button size="small" color="inherit" onClick={() => {navigator.clipboard.writeText(this.props.data.escrow_invoice)}} align="center"> <ContentCopy/>Copy to clipboard</Button>
|
<Button size="small" color="inherit" onClick={() => {navigator.clipboard.writeText(this.props.data.escrow_invoice)}} align="center"> <ContentCopy/>Copy to clipboard</Button>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -502,6 +500,7 @@ class TradeBox extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showInputInvoice(){
|
showInputInvoice(){
|
||||||
|
const { t } = this.props;
|
||||||
return (
|
return (
|
||||||
|
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
@ -509,14 +508,18 @@ class TradeBox extends Component {
|
|||||||
{/* Make confirmation sound for HTLC received. */}
|
{/* Make confirmation sound for HTLC received. */}
|
||||||
<this.Sound soundFileName="locked-invoice"/>
|
<this.Sound soundFileName="locked-invoice"/>
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b> Submit an invoice for {pn(this.props.data.invoice_amount)} Sats </b> {" " + this.stepXofY()}
|
<b> <Trans i18n="submit_invoice">
|
||||||
|
Submit an invoice for {{amountSats: pn(this.props.data.invoice_amount)}} Sats
|
||||||
|
</Trans>
|
||||||
|
</b> {" " + this.stepXofY()}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="left">
|
<Grid item xs={12} align="left">
|
||||||
<Typography component="body2" variant="body2">
|
<Typography component="body2" variant="body2">
|
||||||
The taker is committed! Before letting you send {" "+ parseFloat(parseFloat(this.props.data.amount).toFixed(4))+
|
<Trans i18n='submit_invoice_body'>
|
||||||
" "+ this.props.data.currencyCode}, we want to make sure you are able to receive the BTC. Please provide a
|
The taker is committed! Before letting you send {{amountFiat: parseFloat(parseFloat(this.props.data.amount).toFixed(4))}} {{currencyCode: this.props.data.currencyCode}}, we want to make sure you are able to receive the BTC.
|
||||||
valid invoice for {pn(this.props.data.invoice_amount)} Satoshis.
|
Please provide a valid invoice for {{amountSats: pn(this.props.data.invoice_amount)}} Satoshis.
|
||||||
|
</Trans>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
@ -524,7 +527,7 @@ class TradeBox extends Component {
|
|||||||
<TextField
|
<TextField
|
||||||
error={this.state.badInvoice}
|
error={this.state.badInvoice}
|
||||||
helperText={this.state.badInvoice ? this.state.badInvoice : "" }
|
helperText={this.state.badInvoice ? this.state.badInvoice : "" }
|
||||||
label={"Payout Lightning Invoice"}
|
label={t("Payout Lightning Invoice")}
|
||||||
required
|
required
|
||||||
value={this.state.invoice}
|
value={this.state.invoice}
|
||||||
inputProps={{
|
inputProps={{
|
||||||
@ -559,23 +562,19 @@ class TradeBox extends Component {
|
|||||||
|
|
||||||
// Asks the user for a dispute statement.
|
// Asks the user for a dispute statement.
|
||||||
showInDisputeStatement=()=>{
|
showInDisputeStatement=()=>{
|
||||||
|
const { t } = this.props;
|
||||||
if(this.props.data.statement_submitted){
|
if(this.props.data.statement_submitted){
|
||||||
return (
|
return (
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b> We have received your statement </b>
|
<b> {t("We have received your statement")} </b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="left">
|
<Grid item xs={12} align="left">
|
||||||
<Typography component="body2" variant="body2">
|
<Typography component="body2" variant="body2">
|
||||||
<p>We are waiting for your trade counterpart statement. If you are hesitant about
|
<p>{t("We are waiting for your trade counterpart statement. If you are hesitant about the state of the dispute or want to add more information, contact robosats@protonmail.com.")}</p>
|
||||||
the state of the dispute or want to add more information, contact robosats@protonmail.com.</p>
|
<p>{t("Please, save the information needed to identify your order and your payments: order ID; payment hashes of the bonds or escrow (check on your lightning wallet); exact amount of satoshis; and robot nickname. You will have to identify yourself as the user involved in this trade via email (or other contact methods).")}</p>
|
||||||
|
|
||||||
<p>Please, save the information needed to identify your order and your payments: order ID;
|
|
||||||
payment hashes of the bonds or escrow (check on your lightning wallet); exact amount of
|
|
||||||
satoshis; and robot nickname. You will have to identify yourself as the user involved
|
|
||||||
in this trade via email (or other contact methods).</p>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{this.showBondIsSettled()}
|
{this.showBondIsSettled()}
|
||||||
@ -589,15 +588,12 @@ class TradeBox extends Component {
|
|||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b> A dispute has been opened </b>
|
<b> {t("A dispute has been opened")} </b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="left">
|
<Grid item xs={12} align="left">
|
||||||
<Typography component="body2" variant="body2">
|
<Typography component="body2" variant="body2">
|
||||||
Please, submit your statement. Be clear and specific about what happened and provide the necessary
|
{t("Please, submit your statement. Be clear and specific about what happened and provide the necessary evidence. You MUST provide a contact method: burner email, XMPP or telegram username to follow up with the staff. Disputes are solved at the discretion of real robots (aka humans), so be as helpful as possible to ensure a fair outcome. Max 5000 chars.")}
|
||||||
evidence. You MUST provide a contact method: burner email, XMPP or telegram username to follow up with the staff.
|
|
||||||
Disputes are solved at the discretion of real robots <i>(aka humans)</i>, so be as helpful
|
|
||||||
as possible to ensure a fair outcome. Max 5000 chars.
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
@ -605,7 +601,7 @@ class TradeBox extends Component {
|
|||||||
<TextField
|
<TextField
|
||||||
error={this.state.badStatement}
|
error={this.state.badStatement}
|
||||||
helperText={this.state.badStatement ? this.state.badStatement : "" }
|
helperText={this.state.badStatement ? this.state.badStatement : "" }
|
||||||
label={"Submit dispute statement"}
|
label={t("Submit dispute statement")}
|
||||||
required
|
required
|
||||||
inputProps={{
|
inputProps={{
|
||||||
style: {textAlign:"center"}
|
style: {textAlign:"center"}
|
||||||
@ -624,24 +620,18 @@ class TradeBox extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showWaitForDisputeResolution=()=>{
|
showWaitForDisputeResolution=()=>{
|
||||||
|
const { t } = this.props;
|
||||||
return (
|
return (
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b> We have the statements </b>
|
<b> {t("We have the statements")} </b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="left">
|
<Grid item xs={12} align="left">
|
||||||
<Typography component="body2" variant="body2">
|
<Typography component="body2" variant="body2">
|
||||||
<p>Both statements have been received, wait for the staff to resolve the dispute.
|
<p>{t("Both statements have been received, wait for the staff to resolve the dispute. If you are hesitant about the state of the dispute or want to add more information, contact robosats@protonmail.com. If you did not provide a contact method, or are unsure whether you wrote it right, write us immediately.")} </p>
|
||||||
If you are hesitant about the state of the dispute or want to add more information,
|
<p>{t("Please, save the information needed to identify your order and your payments: order ID; payment hashes of the bonds or escrow (check on your lightning wallet); exact amount of satoshis; and robot nickname. You will have to identify yourself as the user involved in this trade via email (or other contact methods).")}</p>
|
||||||
contact robosats@protonmail.com. If you did not provide a contact method, or are unsure whether
|
|
||||||
you wrote it right, write us immediately. </p>
|
|
||||||
|
|
||||||
<p>Please, save the information needed to identify your order and your payments: order ID;
|
|
||||||
payment hashes of the bonds or escrow (check on your lightning wallet); exact amount of
|
|
||||||
satoshis; and robot nickname. You will have to identify yourself as the user involved
|
|
||||||
in this trade via email (or other contact methods).</p>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{this.showBondIsSettled()}
|
{this.showBondIsSettled()}
|
||||||
@ -650,18 +640,17 @@ class TradeBox extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showDisputeWinner=()=>{
|
showDisputeWinner=()=>{
|
||||||
|
const { t } = this.props;
|
||||||
return (
|
return (
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b> You have won the dispute </b>
|
<b> {t("You have won the dispute")} </b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="left">
|
<Grid item xs={12} align="left">
|
||||||
<Typography component="body2" variant="body2">
|
<Typography component="body2" variant="body2">
|
||||||
You can claim the dispute resolution amount (escrow and fidelity bond) from
|
{t("You can claim the dispute resolution amount (escrow and fidelity bond) from your profile rewards. If there is anything the staff can help with, do not hesitate to contact to robosats@protonmail.com (or via your provided burner contact method).")}
|
||||||
your profile rewards. If there is anything the staff can help with, do not hesitate to contact to
|
|
||||||
robosats@protonmail.com (or via your provided burner contact method).
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{this.showBondIsSettled()}
|
{this.showBondIsSettled()}
|
||||||
@ -670,18 +659,17 @@ class TradeBox extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showDisputeLoser=()=>{
|
showDisputeLoser=()=>{
|
||||||
|
const { t } = this.props;
|
||||||
return (
|
return (
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography color="error" component="subtitle1" variant="subtitle1">
|
<Typography color="error" component="subtitle1" variant="subtitle1">
|
||||||
<b> You have lost the dispute </b>
|
<b> {t("You have lost the dispute")} </b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="left">
|
<Grid item xs={12} align="left">
|
||||||
<Typography component="body2" variant="body2">
|
<Typography component="body2" variant="body2">
|
||||||
Unfortunately you have lost the dispute. If you think this is a mistake
|
{t("Unfortunately you have lost the dispute. If you think this is a mistake you can ask to re-open the case via email to robosats@protonmail.com. However, chances of it being investigated again are low.")}
|
||||||
you can ask to re-open the case via email to robosats@protonmail.com. However,
|
|
||||||
chances of it being investigated again are low.
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{this.showBondIsSettled()}
|
{this.showBondIsSettled()}
|
||||||
@ -690,19 +678,18 @@ class TradeBox extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showWaitingForEscrow(){
|
showWaitingForEscrow(){
|
||||||
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="subtitle1" variant="subtitle1">
|
<Typography component="subtitle1" variant="subtitle1">
|
||||||
<b>Your invoice looks good!🎉</b> {" " + this.stepXofY()}
|
<b>{t("Your invoice looks good!")}</b> {" " + this.stepXofY()}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="left">
|
<Typography component="body2" variant="body2" align="left">
|
||||||
<p>We are waiting for the seller lock the trade amount. </p>
|
<p>{t("We are waiting for the seller lock the trade amount.")}</p>
|
||||||
<p> Just hang on for a moment. If the seller does not deposit,
|
<p>{t("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).")}</p>
|
||||||
you will get your bond back automatically. In addition, you will
|
|
||||||
receive a compensation (check the rewards in your profile).</p>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{this.showBondIsLocked()}
|
{this.showBondIsLocked()}
|
||||||
@ -711,23 +698,20 @@ class TradeBox extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showWaitingForBuyerInvoice(){
|
showWaitingForBuyerInvoice(){
|
||||||
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
{/* Make confirmation sound for HTLC received. */}
|
{/* Make confirmation sound for HTLC received. */}
|
||||||
<this.Sound soundFileName="locked-invoice"/>
|
<this.Sound soundFileName="locked-invoice"/>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="subtitle1" variant="subtitle1">
|
<Typography component="subtitle1" variant="subtitle1">
|
||||||
<b>The trade collateral is locked! 🎉 </b> {" " + this.stepXofY()}
|
<b>{t("The trade collateral is locked!")}</b> {" " + this.stepXofY()}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="left">
|
<Typography component="body2" variant="body2" align="left">
|
||||||
<p> We are waiting for the buyer to post a lightning invoice. Once
|
<p>{t("We are waiting for the buyer to post a lightning invoice. Once he does, you will be able to directly communicate the fiat payment details.")} </p>
|
||||||
he does, you will be able to directly communicate the fiat payment
|
<p>{t("Just hang on for a moment. If the buyer does not cooperate, you will get back the trade collateral and your bond automatically. In addition, you will receive a compensation (check the rewards in your profile).")}</p>
|
||||||
details. </p>
|
|
||||||
<p> Just hang on for a moment. If the buyer does not cooperate,
|
|
||||||
you will get back the trade collateral and your bond automatically. In addition, you will
|
|
||||||
receive a compensation (check the rewards in your profile).</p>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{this.showBondIsLocked()}
|
{this.showBondIsLocked()}
|
||||||
@ -785,7 +769,7 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
return(
|
return(
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Button defaultValue="confirm" variant='contained' color='secondary' onClick={this.handleClickConfirmButton}>Confirm {this.props.data.currencyCode} sent</Button>
|
<Button defaultValue="confirm" variant='contained' color='secondary' onClick={this.handleClickConfirmButton}><Trans i18n="confirm_fiat_sent">Confirm {{currencyCode: this.props.data.currencyCode}} sent</Trans></Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
)
|
)
|
||||||
@ -794,26 +778,27 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
showFiatReceivedButton(){
|
showFiatReceivedButton(){
|
||||||
return(
|
return(
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Button defaultValue="confirm" variant='contained' color='secondary' onClick={this.handleClickOpenConfirmFiatReceived}>Confirm {this.props.data.currencyCode} received</Button>
|
<Button defaultValue="confirm" variant='contained' color='secondary' onClick={this.handleClickOpenConfirmFiatReceived}><Trans i18n="confirm_fiat_received">Confirm {{currencyCode: this.props.data.currencyCode}} received</Trans></Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
showOpenDisputeButton(){
|
showOpenDisputeButton(){
|
||||||
// TODO, show alert about how opening a dispute might involve giving away personal data and might mean losing the bond. Ask for double confirmation.
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Button color="inherit" onClick={this.handleClickOpenConfirmDispute}>Open Dispute</Button>
|
<Button color="inherit" onClick={this.handleClickOpenConfirmDispute}>{t("Open Dispute")}</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
showOrderExpired(){
|
showOrderExpired(){
|
||||||
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="subtitle1" variant="subtitle1">
|
<Typography component="subtitle1" variant="subtitle1">
|
||||||
<b>The order has expired</b>
|
<b>{t("The order has expired")}</b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -821,6 +806,7 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
showChat=()=>{
|
showChat=()=>{
|
||||||
|
const { t } = this.props;
|
||||||
//In Chatroom - No fiat sent - showChat(showSendButton, showReveiceButton, showDisputeButton)
|
//In Chatroom - No fiat sent - showChat(showSendButton, showReveiceButton, showDisputeButton)
|
||||||
if(this.props.data.is_buyer & this.props.data.status == 9){
|
if(this.props.data.is_buyer & this.props.data.status == 9){
|
||||||
var showSendButton=true;
|
var showSendButton=true;
|
||||||
@ -851,24 +837,24 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
<this.Sound soundFileName="chat-open"/>
|
<this.Sound soundFileName="chat-open"/>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="subtitle1" variant="subtitle1">
|
<Typography component="subtitle1" variant="subtitle1">
|
||||||
<b>Chat with the {this.props.data.is_seller ? 'buyer': 'seller'}</b> {" " + this.stepXofY()}
|
<b> {this.props.data.is_seller ? t("Chat with the buyer"): t("Chat with the seller")}</b> {" " + this.stepXofY()}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
{this.props.data.is_seller ?
|
{this.props.data.is_seller ?
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
{this.props.data.status == 9?
|
{this.props.data.status == 9?
|
||||||
"Say hi! Be helpful and concise. Let them know how to send you "+this.props.data.currencyCode+"."
|
<Trans i18n="say_hi_seller">Say hi! Be helpful and concise. Let them know how to send you {{currencyCode: this.props.data.currencyCode}}.</Trans>
|
||||||
:
|
:
|
||||||
"The buyer has sent the fiat. Click 'Confirm Received' once you receive it."
|
t("The buyer has sent the fiat. Click 'Confirm Received' once you receive it.")
|
||||||
}
|
}
|
||||||
</Typography>
|
</Typography>
|
||||||
:
|
:
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
{this.props.data.status == 9?
|
{this.props.data.status == 9?
|
||||||
"Say hi! Ask for payment details and click 'Confirm Sent' as soon as the payment is sent."
|
t("Say hi! Ask for payment details and click 'Confirm Sent' as soon as the payment is sent.")
|
||||||
:
|
:
|
||||||
"Wait for the seller to confirm he has received the payment."
|
t("Wait for the seller to confirm he has received the payment.")
|
||||||
}
|
}
|
||||||
</Typography>
|
</Typography>
|
||||||
}
|
}
|
||||||
@ -886,13 +872,14 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
showRateSelect(){
|
showRateSelect(){
|
||||||
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
{/* Make confirmation sound for Chat Open. */}
|
{/* Make confirmation sound for Chat Open. */}
|
||||||
<this.Sound soundFileName="successful"/>
|
<this.Sound soundFileName="successful"/>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="h6" variant="h6">
|
<Typography component="h6" variant="h6">
|
||||||
🎉Trade finished!🥳
|
{t("🎉Trade finished!🥳")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{/* <Grid item xs={12} align="center">
|
{/* <Grid item xs={12} align="center">
|
||||||
@ -905,7 +892,7 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
</Grid> */}
|
</Grid> */}
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
What do you think of 🤖<b>RoboSats</b>⚡?
|
<Trans i18n="rate_robosats">What do you think of 🤖<b>RoboSats</b>⚡?</Trans>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
@ -914,22 +901,21 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
{this.state.rating_platform==5 ?
|
{this.state.rating_platform==5 ?
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
<p><b>Thank you! RoboSats loves you too ❤️</b></p>
|
<p><b>{t("Thank you! RoboSats loves you too ❤️")}</b></p>
|
||||||
<p>RoboSats gets better with more liquidity and users. Tell a bitcoiner friend about Robosats!</p>
|
<p>{t("RoboSats gets better with more liquidity and users. Tell a bitcoiner friend about Robosats!")}</p>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
: null}
|
: null}
|
||||||
{this.state.rating_platform!=5 & this.state.rating_platform!=null ?
|
{this.state.rating_platform!=5 & this.state.rating_platform!=null ?
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
<p><b>Thank you for using Robosats!</b></p>
|
<p><b>{t("Thank you for using Robosats!")}</b></p>
|
||||||
<p>Let us know how the platform could improve
|
<p><Trans i18n="let_us_know_hot_to_improve">Let us know how the platform could improve (<Link href="https://t.me/robosats">Telegram</Link> / <Link href="https://github.com/Reckless-Satoshi/robosats/issues">Github</Link>)</Trans></p>
|
||||||
(<Link href="https://t.me/robosats">Telegram</Link> / <Link href="https://github.com/Reckless-Satoshi/robosats/issues">Github</Link>)</p>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
: null}
|
: null}
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Button color='primary' onClick={() => {this.props.push('/')}}>Start Again</Button>
|
<Button color='primary' onClick={() => {this.props.push('/')}}>{t("Start Again")}</Button>
|
||||||
</Grid>
|
</Grid>
|
||||||
{this.showBondIsReturned()}
|
{this.showBondIsReturned()}
|
||||||
</Grid>
|
</Grid>
|
||||||
@ -937,17 +923,17 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
showSendingPayment(){
|
showSendingPayment(){
|
||||||
|
const { t } = this.props;
|
||||||
return(
|
return(
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="h6" variant="h6">
|
<Typography component="h6" variant="h6">
|
||||||
Attempting Lightning Payment
|
{t("Attempting Lightning Payment")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must
|
{t("RoboSats is trying to pay your lightning invoice. Remember that lightning nodes must be online in order to receive payments.")}
|
||||||
be online in order to receive payments.
|
|
||||||
</Typography>
|
</Typography>
|
||||||
<br/>
|
<br/>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
@ -960,9 +946,10 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
|
|
||||||
// Countdown Renderer callback with condition
|
// Countdown Renderer callback with condition
|
||||||
countdownRenderer = ({ minutes, seconds, completed }) => {
|
countdownRenderer = ({ minutes, seconds, completed }) => {
|
||||||
|
const { t } = this.props;
|
||||||
if (completed) {
|
if (completed) {
|
||||||
// Render a completed state
|
// Render a completed state
|
||||||
return (<div align="center"><span> Retrying! </span><br/><CircularProgress/></div> );
|
return (<div align="center"><span> {t("Retrying!")} </span><br/><CircularProgress/></div> );
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
@ -972,32 +959,33 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
};
|
};
|
||||||
|
|
||||||
showRoutingFailed=()=>{
|
showRoutingFailed=()=>{
|
||||||
// TODO If it has failed 3 times, ask for a new invoice.
|
const { t } = this.props;
|
||||||
if(this.props.data.invoice_expired){
|
if(this.props.data.invoice_expired){
|
||||||
return(
|
return(
|
||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="h6" variant="h6">
|
<Typography component="h6" variant="h6">
|
||||||
Lightning Routing Failed
|
{t("Lightning Routing Failed")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
Your invoice has expired or more than 3 payment attempts have been made.
|
{t("Your invoice has expired or more than 3 payment attempts have been made. Muun wallet is not recommended. ")}
|
||||||
Muun wallet is not recommended, <Link href="https://github.com/Reckless-Satoshi/robosats/issues/44">check the list of
|
<Link href="https://github.com/Reckless-Satoshi/robosats/issues/44"> {t("Check the list of compatible wallets")}</Link>
|
||||||
compatible wallets</Link>
|
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
<Typography color="primary" component="subtitle1" variant="subtitle1">
|
||||||
<b> Submit a LN invoice for {pn(this.props.data.invoice_amount)} Sats </b>
|
<b> <Trans i18n="submit_invoice">
|
||||||
|
Submit an invoice for {{amountSats: pn(this.props.data.invoice_amount)}} Sats
|
||||||
|
</Trans></b>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<TextField
|
<TextField
|
||||||
error={this.state.badInvoice}
|
error={this.state.badInvoice}
|
||||||
helperText={this.state.badInvoice ? this.state.badInvoice : "" }
|
helperText={this.state.badInvoice ? this.state.badInvoice : "" }
|
||||||
label={"Payout Lightning Invoice"}
|
label={t("Payout Lightning Invoice")}
|
||||||
required
|
required
|
||||||
inputProps={{
|
inputProps={{
|
||||||
style: {textAlign:"center"}
|
style: {textAlign:"center"}
|
||||||
@ -1019,18 +1007,16 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
<Grid container spacing={1}>
|
<Grid container spacing={1}>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="h6" variant="h6">
|
<Typography component="h6" variant="h6">
|
||||||
Lightning Routing Failed
|
{t("Lightning Routing Failed")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<Typography component="body2" variant="body2" align="center">
|
<Typography component="body2" variant="body2" align="center">
|
||||||
RoboSats will try to pay your invoice 3 times every 5 minutes. If it keeps failing, you
|
{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.")}
|
||||||
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.
|
|
||||||
</Typography>
|
</Typography>
|
||||||
<List>
|
<List>
|
||||||
<Divider/>
|
<Divider/>
|
||||||
<ListItemText secondary="Next attempt in">
|
<ListItemText secondary={t("Next attempt in")}>
|
||||||
<Countdown date={new Date(this.props.data.next_retry_time)} renderer={this.countdownRenderer} />
|
<Countdown date={new Date(this.props.data.next_retry_time)} renderer={this.countdownRenderer} />
|
||||||
</ListItemText>
|
</ListItemText>
|
||||||
</List>
|
</List>
|
||||||
@ -1041,6 +1027,7 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
const { t } = this.props;
|
||||||
return (
|
return (
|
||||||
<Grid container spacing={1} style={{ width:this.props.width}}>
|
<Grid container spacing={1} style={{ width:this.props.width}}>
|
||||||
<this.ConfirmDisputeDialog/>
|
<this.ConfirmDisputeDialog/>
|
||||||
@ -1048,7 +1035,7 @@ handleRatingRobosatsChange=(e)=>{
|
|||||||
<Grid item xs={12} align="center">
|
<Grid item xs={12} align="center">
|
||||||
<MediaQuery minWidth={920}>
|
<MediaQuery minWidth={920}>
|
||||||
<Typography component="h5" variant="h5">
|
<Typography component="h5" variant="h5">
|
||||||
Contract Box
|
{t("Contract Box")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</MediaQuery>
|
</MediaQuery>
|
||||||
<Paper elevation={12} style={{ padding: 8,}}>
|
<Paper elevation={12} style={{ padding: 8,}}>
|
||||||
|
@ -19,10 +19,11 @@
|
|||||||
"View Book":"View Book",
|
"View Book":"View Book",
|
||||||
|
|
||||||
"CONTRACT BOX - TradeBox.js": "The Contract Box that guides users trough the whole trade pipeline",
|
"CONTRACT BOX - TradeBox.js": "The Contract Box that guides users trough the whole trade pipeline",
|
||||||
|
"Contract Box":"Contract Box",
|
||||||
"Robots show commitment to their peers": "Robots show commitment to their peers",
|
"Robots show commitment to their peers": "Robots show commitment to their peers",
|
||||||
"lock_to_publish": "Lock {{amount_sats}} Sats to PUBLISH order ",
|
"lock_to_publish": "Lock {{amountSats}} Sats to PUBLISH order ",
|
||||||
"lock_to_take": "Lock {{amount_sats}} Sats to TAKE the order ",
|
"lock_to_take": "Lock {{amountSats}} Sats to TAKE the order ",
|
||||||
"lock_escrow": "Lock {{amount_sats}} Sats as collateral",
|
"lock_escrow": "Lock {{amountSats}} Sats as collateral",
|
||||||
"Copy to clipboard":"Copy to clipboard",
|
"Copy to clipboard":"Copy to clipboard",
|
||||||
"This is a hold invoice, it will freeze in your wallet. It will be charged only if you cancel or lose a dispute.":"This is a hold invoice, it will freeze in your wallet. It will be charged only if you cancel or lose a dispute.",
|
"This is a hold invoice, it will freeze in your wallet. It will be charged only if you cancel or lose a dispute.":"This is a hold invoice, it will freeze in your wallet. It will be charged only if you cancel or lose a dispute.",
|
||||||
"hold_escrow_invoice_explanation":"This is a hold invoice, it will freeze in your wallet. It will be released to the buyer once you confirm to have received the {{currencyCode}}.",
|
"hold_escrow_invoice_explanation":"This is a hold invoice, it will freeze in your wallet. It will be released to the buyer once you confirm to have received the {{currencyCode}}.",
|
||||||
@ -45,8 +46,59 @@
|
|||||||
"Premium rank": "Premium rank",
|
"Premium rank": "Premium rank",
|
||||||
"among_public": "Among public {{currencyCode}} orders (higher is cheaper)",
|
"among_public": "Among public {{currencyCode}} orders (higher is cheaper)",
|
||||||
"A taker has been found!":"A taker has been found!",
|
"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."
|
"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_invoice":"Submit an invoice for {{amountSats}} Sats",
|
||||||
|
"submit_invoice_body":"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 invoice looks good!":"Your invoice looks good!",
|
||||||
|
"We are waiting for the seller lock the trade amount.":"We are waiting for the seller lock the trade amount.",
|
||||||
|
"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).":"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).",
|
||||||
|
"The trade collateral is locked!":"The trade collateral is locked!",
|
||||||
|
"We are waiting for the buyer to post a lightning invoice. Once he does, you will be able to directly communicate the fiat payment details.":"We are waiting for the buyer to post a lightning invoice. Once he does, you will be able to directly communicate the fiat payment details.",
|
||||||
|
"Just hang on for a moment. If the buyer does not cooperate, you will get back the trade collateral and your bond automatically. In addition, you will receive a compensation (check the rewards in your profile).":"Just hang on for a moment. If the buyer does not cooperate, you will get back the trade collateral and your bond automatically. In addition, you will receive a compensation (check the rewards in your profile).",
|
||||||
|
"confirm_fiat_sent":"Confirm {{currencyCode}} sent",
|
||||||
|
"confirm_fiat_received":"Confirm {{currencyCode}} received",
|
||||||
|
"Open Dispute":"Open Dispute",
|
||||||
|
"The order has expired":"The order has expired",
|
||||||
|
"Chat with the buyer":"Chat with the buyer",
|
||||||
|
"Chat with the seller":"Chat with the seller",
|
||||||
|
"say_hi_seller":"Say hi! Be helpful and concise. Let them know how to send you {{currencyCode}}.",
|
||||||
|
"The buyer has sent the fiat. Click 'Confirm Received' once you receive it.":"The buyer has sent the fiat. Click 'Confirm Received' once you receive it.",
|
||||||
|
"Say hi! Ask for payment details and click 'Confirm Sent' as soon as the payment is sent.":"Say hi! Ask for payment details and click 'Confirm Sent' as soon as the payment is sent.",
|
||||||
|
"Wait for the seller to confirm he has received the payment.":"Wait for the seller to confirm he has received the payment.",
|
||||||
|
"confirm_fiat_received_title":"Confirm you received {{currencyCode}}?",
|
||||||
|
"confirm_fiat_received_dialog":"Confirming that you received the fiat will finalize the trade. The satoshis in the escrow will be released to the buyer. Only confirm after the {{currencyCode}} has arrived to your account. In addition, if you have received {{currencyCode}} and do not confirm the receipt, you risk losing your bond.",
|
||||||
|
"Confirm":"Confirm",
|
||||||
|
"🎉Trade finished!🥳":"🎉Trade finished!🥳",
|
||||||
|
"rate_robosats":"What do you think of 🤖<1>RoboSats</1>⚡?",
|
||||||
|
"Thank you! RoboSats loves you too ❤️":"Thank you! RoboSats loves you too ❤️",
|
||||||
|
"RoboSats gets better with more liquidity and users. Tell a bitcoiner friend about Robosats!":"RoboSats gets better with more liquidity and users. Tell a bitcoiner friend about Robosats!",
|
||||||
|
"Thank you for using Robosats!":"Thank you for using Robosats!",
|
||||||
|
"let_us_know_hot_to_improve":"Let us know how the platform could improve (<1>Telegram</1> / <3>Github</3>)",
|
||||||
|
"Start Again":"Start Again",
|
||||||
|
"Attempting Lightning Payment":"Attempting Lightning Payment",
|
||||||
|
"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. ",
|
||||||
|
"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",
|
||||||
|
"Do you want to open a dispute?":"Do you want to open a dispute?",
|
||||||
|
"The RoboSats staff will examine the statements and evidence provided. You need to build a complete case, as the staff cannot read the chat. It is best to provide a burner contact method with your statement. The satoshis in the trade escrow will be sent to the dispute winner, while the dispute loser will lose the bond.":"The RoboSats staff will examine the statements and evidence provided. You need to build a complete case, as the staff cannot read the chat. It is best to provide a burner contact method with your statement. The satoshis in the trade escrow will be sent to the dispute winner, while the dispute loser will lose the bond.",
|
||||||
|
"Disagree":"Disagree",
|
||||||
|
"Agree and open dispute":"Agree and open dispute",
|
||||||
|
"A dispute has been opened":"A dispute has been opened",
|
||||||
|
"Please, submit your statement. Be clear and specific about what happened and provide the necessary evidence. You MUST provide a contact method: burner email, XMPP or telegram username to follow up with the staff. Disputes are solved at the discretion of real robots (aka humans), so be as helpful as possible to ensure a fair outcome. Max 5000 chars.":"Please, submit your statement. Be clear and specific about what happened and provide the necessary evidence. You MUST provide a contact method: burner email, XMPP or telegram username to follow up with the staff. Disputes are solved at the discretion of real robots (aka humans), so be as helpful as possible to ensure a fair outcome. Max 5000 chars.",
|
||||||
|
"Submit dispute statement":"Submit dispute statement",
|
||||||
|
"We have received your statement":"We have received your statement",
|
||||||
|
"We are waiting for your trade counterpart statement. If you are hesitant about the state of the dispute or want to add more information, contact robosats@protonmail.com.":"We are waiting for your trade counterpart statement. If you are hesitant about the state of the dispute or want to add more information, contact robosats@protonmail.com.",
|
||||||
|
"Please, save the information needed to identify your order and your payments: order ID; payment hashes of the bonds or escrow (check on your lightning wallet); exact amount of satoshis; and robot nickname. You will have to identify yourself as the user involved in this trade via email (or other contact methods).":"Please, save the information needed to identify your order and your payments: order ID; payment hashes of the bonds or escrow (check on your lightning wallet); exact amount of satoshis; and robot nickname. You will have to identify yourself as the user involved in this trade via email (or other contact methods).",
|
||||||
|
"We have the statements":"We have the statements",
|
||||||
|
"Both statements have been received, wait for the staff to resolve the dispute. If you are hesitant about the state of the dispute or want to add more information, contact robosats@protonmail.com. If you did not provide a contact method, or are unsure whether you wrote it right, write us immediately.":"Both statements have been received, wait for the staff to resolve the dispute. If you are hesitant about the state of the dispute or want to add more information, contact robosats@protonmail.com. If you did not provide a contact method, or are unsure whether you wrote it right, write us immediately.",
|
||||||
|
"You have won the dispute":"You have won the dispute",
|
||||||
|
"You can claim the dispute resolution amount (escrow and fidelity bond) from your profile rewards. If there is anything the staff can help with, do not hesitate to contact to robosats@protonmail.com (or via your provided burner contact method).":"You can claim the dispute resolution amount (escrow and fidelity bond) from your profile rewards. If there is anything the staff can help with, do not hesitate to contact to robosats@protonmail.com (or via your provided burner contact method).",
|
||||||
|
"You have lost the dispute":"You have lost the dispute",
|
||||||
|
"Unfortunately you have lost the dispute. If you think this is a mistake you can ask to re-open the case via email to robosats@protonmail.com. However, chances of it being investigated again are low.":"Unfortunately you have lost the dispute. If you think this is a mistake you can ask to re-open the case via email to robosats@protonmail.com. However, chances of it being investigated again are low."
|
||||||
|
|
||||||
}
|
}
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user