diff --git a/core/src/main/java/bisq/core/dao/governance/proposal/param/ChangeParamValidator.java b/core/src/main/java/bisq/core/dao/governance/proposal/param/ChangeParamValidator.java index f2ffb90321f..8e86d9976a1 100644 --- a/core/src/main/java/bisq/core/dao/governance/proposal/param/ChangeParamValidator.java +++ b/core/src/main/java/bisq/core/dao/governance/proposal/param/ChangeParamValidator.java @@ -220,11 +220,11 @@ private void validateBlockValue(int currentParamValueAsBlock, int inputValueAsBl case PHASE_VOTE_REVEAL: case PHASE_BREAK3: if (isMainnet) - checkArgument(inputValueAsBlock >= 6, Res.get("validation.inputTooSmall", "5 blocks")); + checkArgument(inputValueAsBlock >= 6, Res.get("validation.inputToBeAtLeast", "6 blocks")); break; case PHASE_RESULT: if (isMainnet) - checkArgument(inputValueAsBlock >= 1, Res.get("validation.inputTooSmall", "1 block")); + checkArgument(inputValueAsBlock >= 1, Res.get("validation.inputToBeAtLeast", "1 block")); break; } @@ -288,7 +288,7 @@ void validationChange(double currentValue, double newValue, double min, double m if (change < (1 / min)) { double val = currentValue / min; String value = getFormattedValue(param, val); - throw new ParamValidationException(ParamValidationException.ERROR.TOO_LOW, Res.get("validation.inputTooToBeAtLeast", value)); + throw new ParamValidationException(ParamValidationException.ERROR.TOO_LOW, Res.get("validation.inputToBeAtLeast", value)); } } diff --git a/core/src/main/resources/i18n/displayStrings.properties b/core/src/main/resources/i18n/displayStrings.properties index a466aada59b..4940c06f72a 100644 --- a/core/src/main/resources/i18n/displayStrings.properties +++ b/core/src/main/resources/i18n/displayStrings.properties @@ -2797,7 +2797,7 @@ validation.interacETransfer.invalidQuestion=Must contain only letters, numbers, validation.interacETransfer.invalidAnswer=Must be one word and contain only letters, numbers, and/or the symbol - validation.inputTooLarge=Input must not be larger than {0} validation.inputTooSmall=Input has to be larger than {0} -validation.inputTooToBeAtLeast=Input has to be at least {0} +validation.inputToBeAtLeast=Input has to be at least {0} validation.amountBelowDust=The amount below the dust limit of {0} is not allowed. validation.length=Length must be between {0} and {1} validation.pattern=Input must be of format: {0}