mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 03:36:24 -04:00
Fix resource names
This commit is contained in:
parent
a0eef9b5c0
commit
bcd3f55b5e
3 changed files with 5 additions and 5 deletions
|
@ -290,7 +290,7 @@ public class CreateOfferCB extends CachedCodeBehind<CreateOfferPM> {
|
||||||
presentationModel.requestPlaceOfferErrorMessage.addListener((o, oldValue, newValue) -> {
|
presentationModel.requestPlaceOfferErrorMessage.addListener((o, oldValue, newValue) -> {
|
||||||
if (newValue != null) {
|
if (newValue != null) {
|
||||||
Popups.openErrorPopup(BSResources.get("shared.error"),
|
Popups.openErrorPopup(BSResources.get("shared.error"),
|
||||||
BSResources.get("createOffer.amountPriceBox.error.requestPlaceOfferErrorMessage",
|
BSResources.get("createOffer.amountPriceBox.error.message",
|
||||||
presentationModel.requestPlaceOfferErrorMessage.get()));
|
presentationModel.requestPlaceOfferErrorMessage.get()));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -209,7 +209,7 @@ class CreateOfferPM extends PresentationModel<CreateOfferModel> {
|
||||||
// handle minAmount/amount relationship
|
// handle minAmount/amount relationship
|
||||||
if (!model.isMinAmountLessOrEqualAmount()) {
|
if (!model.isMinAmountLessOrEqualAmount()) {
|
||||||
amountValidationResult.set(new InputValidator.ValidationResult(false,
|
amountValidationResult.set(new InputValidator.ValidationResult(false,
|
||||||
BSResources.get("createOffer.validation.amountSmallerThanAmount")));
|
BSResources.get("createOffer.validation.amountSmallerThanMinAmount")));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
amountValidationResult.set(result);
|
amountValidationResult.set(result);
|
||||||
|
@ -400,7 +400,7 @@ class CreateOfferPM extends PresentationModel<CreateOfferModel> {
|
||||||
// Amount calculation could lead to amount/minAmount invalidation
|
// Amount calculation could lead to amount/minAmount invalidation
|
||||||
if (!model.isMinAmountLessOrEqualAmount()) {
|
if (!model.isMinAmountLessOrEqualAmount()) {
|
||||||
amountValidationResult.set(new InputValidator.ValidationResult(false,
|
amountValidationResult.set(new InputValidator.ValidationResult(false,
|
||||||
BSResources.get("createOffer.validation.amountSmallerThanAmount")));
|
BSResources.get("createOffer.validation.amountSmallerThanMinAmount")));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (amount.get() != null)
|
if (amount.get() != null)
|
||||||
|
|
|
@ -38,7 +38,7 @@ createOffer.amountPriceBox.warning.invalidBtcDecimalPlaces=The amount you have e
|
||||||
createOffer.amountPriceBox.warning.invalidFiatDecimalPlaces=The amount you have entered exceeds the number of allowed decimal places. The amount has been adjusted to 2 decimal places.
|
createOffer.amountPriceBox.warning.invalidFiatDecimalPlaces=The amount you have entered exceeds the number of allowed decimal places. The amount has been adjusted to 2 decimal places.
|
||||||
createOffer.amountPriceBox.warning.adjustedVolume=The total volume you have entered leads to invalid fractional Bitcoin amounts. The amount has been adjusted and a new total volume be calculated from it.
|
createOffer.amountPriceBox.warning.adjustedVolume=The total volume you have entered leads to invalid fractional Bitcoin amounts. The amount has been adjusted and a new total volume be calculated from it.
|
||||||
|
|
||||||
createOffer.validation.amountSmallerThanAmount=Amount cannot be smaller than minimum amount.
|
createOffer.validation.amountSmallerThanMinAmount=Amount cannot be smaller than minimum amount.
|
||||||
createOffer.validation.minAmountLargerThanAmount=Minimum amount cannot be larger than amount.
|
createOffer.validation.minAmountLargerThanAmount=Minimum amount cannot be larger than amount.
|
||||||
|
|
||||||
createOffer.fundsBox.title=Fund your trade wallet
|
createOffer.fundsBox.title=Fund your trade wallet
|
||||||
|
@ -68,7 +68,7 @@ createOffer.success.title=Offer published
|
||||||
createOffer.success.headline=Your offer has been successfully published to the distributed orderbook.
|
createOffer.success.headline=Your offer has been successfully published to the distributed orderbook.
|
||||||
createOffer.success.info=The Bitcoin network transaction ID for the offer payment is: {0}
|
createOffer.success.info=The Bitcoin network transaction ID for the offer payment is: {0}
|
||||||
createOffer.success.copyTxId=Copy transaction ID
|
createOffer.success.copyTxId=Copy transaction ID
|
||||||
createOffer.error.requestPlaceOfferErrorMessage=An error occurred when placing the offer.\n{0}
|
createOffer.error.message=An error occurred when placing the offer.\n{0}
|
||||||
|
|
||||||
|
|
||||||
# TODO update the following when doing the UI
|
# TODO update the following when doing the UI
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue