wrong validation messages - min, max, equals

Bug #527163 reported by tomas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
play framework
Fix Committed
Undecided
Unassigned

Bug Description

default messages file contains wrong messages.
validation.min=Must be greater than %2$d
validation.max=Must be lower than %2$d
validation.equals=Must be equals to &{%2$s}

Problem with min and max is that if @Min(2) is used, message says 'Must be greater than 2' which is wrong.
There is a wrong plural in equals.

Erwan Loisant (eloisant)
Changed in play:
status: New → Fix Committed
Revision history for this message
tomas (gugljafa) wrote :

Thanks for quick fix, however a native English speaker should check the equals message:
validation.equals=Must equals &{%2$s}
I would just go for
validation.equals=Must be equal to &{%2$s}

Revision history for this message
Erwan Loisant (eloisant) wrote :

Sure, I believe both are correct and I don't really mind.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.