[
https://issues.apache.org/jira/browse/WICKET-4890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-4890.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.4.0
Assignee: Sven Meier
Closing the ticket.
Changes in the other resource bundles will be made when a native speaker sends
updates.
> Bad validation messages after WICKET-2128
> -----------------------------------------
>
> Key: WICKET-4890
> URL: https://issues.apache.org/jira/browse/WICKET-4890
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 6.3.0
> Reporter: Jonas
> Assignee: Sven Meier
> Priority: Minor
> Fix For: 6.4.0
>
> Attachments: Application_fr.properties, Application_no.properties
>
>
> In most languages (at least the ones that I speak), the error messages used
> by validators don't sound right anymore after WICKET-2128 was fixed.
> Replacing '${input}' with '${label}' (what seems to have been done) doesn't
> yield useful error messages.
> I see the following options:
> a) Improve the messages the way Martin Grigorov suggested it in WICKET-2128,
> e.g.
> 'IConverter=The value of '${label}' is not a valid ${type}.'
> (instead of just 'IConverter='${label}' is not a valid ${type}.')
> Interestingly, all the languages that use .xml properties (e.g.
> Application_bg.properties.xml) files seem to have been excluded (by
> accident?) from the changes done in WICKET-2128, as they still refer to
> ${input}.
> b) revert the changes from WICKET-2128 completely. I think the new messages
> only fit well in scenarios where there's only a single feedback panel per
> page, which is anyway not very userfriendly. In cases when you display the
> error messages in separate feedback components next to the corresponding
> FormComponents, it is anyway clear which field is the culprit, and users
> don't need to search for the field that has caused the error.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira