Add warn and dispute text for first trade steps

This commit is contained in:
Manfred Karrer 2016-05-25 16:15:45 +02:00
parent a9de00f34b
commit ff2c9d619f
2 changed files with 48 additions and 0 deletions

View file

@ -45,6 +45,30 @@ public class BuyerStep1View extends TradeStepView {
return "Deposit transaction has been published.\n" +
"You need to wait for at least one blockchain confirmation.";
}
///////////////////////////////////////////////////////////////////////////////////////////
// Warning
///////////////////////////////////////////////////////////////////////////////////////////
@Override
protected String getWarningText() {
setWarningHeadline();
return "The deposit transaction still did not get confirmed.\n" +
"That might happen in rare cases when the funding fee of one trader from the external wallet was too low.";
}
///////////////////////////////////////////////////////////////////////////////////////////
// Dispute
///////////////////////////////////////////////////////////////////////////////////////////
@Override
protected String getOpenForDisputeText() {
return "The deposit transaction still did not get confirmed.\n" +
"That might happen in rare cases when the funding fee of one trader from the external wallet was too low.\n" +
"The max. period for the trade has elapsed.\n" +
"\nPlease contact the arbitrator for opening a dispute.";
}
}

View file

@ -46,6 +46,30 @@ public class SellerStep1View extends TradeStepView {
"The bitcoin buyer need to wait for at least one blockchain confirmation before " +
"starting the payment.";
}
///////////////////////////////////////////////////////////////////////////////////////////
// Warning
///////////////////////////////////////////////////////////////////////////////////////////
@Override
protected String getWarningText() {
setWarningHeadline();
return "The deposit transaction still did not get confirmed.\n" +
"That might happen in rare cases when the funding fee of one trader from the external wallet was too low.";
}
///////////////////////////////////////////////////////////////////////////////////////////
// Dispute
///////////////////////////////////////////////////////////////////////////////////////////
@Override
protected String getOpenForDisputeText() {
return "The deposit transaction still did not get confirmed.\n" +
"That might happen in rare cases when the funding fee of one trader from the external wallet was too low.\n" +
"The max. period for the trade has elapsed.\n" +
"\nPlease contact the arbitrator for opening a dispute.";
}
}