Add translation string

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2023-05-05 09:41:05 +07:00
parent 8b91ed7a00
commit a621973eed
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307
2 changed files with 5 additions and 2 deletions

View File

@ -468,8 +468,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
}
if (cannotActivateOffer(openOffer.getOffer())) {
errorMessageHandler.handleErrorMessage("This cloned offer with shared maker fee cannot be activated because it uses the same payment method " +
"and currency as another active offer.");
errorMessageHandler.handleErrorMessage(Res.get("offerbook.cannotActivate.info"));
return;
}
@ -640,6 +639,7 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
} else {
// We use CANCELED for the offers which have shared maker fee but have not been taken for the trade.
openOffer.setState(OpenOffer.State.CANCELED);
// We need to reset now those entries as well
btcWalletService.resetAddressEntriesForOpenOffer(openOffer.getId());
}
offerBookService.removeOffer(openOffer.getOffer().getOfferPayloadBase(),

View File

@ -368,6 +368,9 @@ offerbook.xmrAutoConf=Is auto-confirm enabled
offerbook.clonedOffer.info=This is a cloned offer with shared maker fee transaction ID
offerbook.nonClonedOffer.info=Regular offer without shared maker fee transaction ID
offerbook.cannotActivate.info=This cloned offer with shared maker fee cannot be activated because it uses \
the same payment method and currency as another active offer. You need to edit the offer and change the \
payment method or currency or deactivate the offer which has the same payment method and currency.
offerbook.timeSinceSigning.help=When you successfully complete a trade with a peer who has a signed payment account, your payment account is signed.\n\
{0} days later, the initial limit of {1} is lifted and your account can sign other peers'' payment accounts.