[Bug #1288] Fix message regarding progress type precision
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
59759b2af5
commit
80aa4caea2
1 changed files with 4 additions and 2 deletions
|
|
@ -1279,8 +1279,10 @@ public class ManageOrderElementAdvancesController extends
|
|||
return _("Value is not valid, the current value must be less than max value");
|
||||
}
|
||||
if (!manageOrderElementAdvancesModel.isPrecisionValid(measurement)) {
|
||||
return _("Value is not valid, the Precision value must be exact "
|
||||
+ manageOrderElementAdvancesModel.getUnitPrecision());
|
||||
return _(
|
||||
"Value must be a multiple of the precission value of the progress type: {0}",
|
||||
manageOrderElementAdvancesModel.getUnitPrecision()
|
||||
.stripTrailingZeros().toPlainString());
|
||||
}
|
||||
if (manageOrderElementAdvancesModel.lessThanPreviousMeasurements()) {
|
||||
return _("Value is not valid, the value must be greater than the value of the previous progress.");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue