tusury / vt-middleware

Automatically exported from code.google.com/p/vt-middleware
0 stars 0 forks source link

Impossible to translate messages from AbstractCharacterRule's subclasses #236

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use one of the AbstractCharacterRule's subclasses 
2. Try to internationalize it to another language but english
3. The system didn't chance the second parameter of the message

What is the expected output? What do you see instead?
The hole message translated to another language

What version of the product are you using? On what operating system?
version 3.1.2 on windows 8

Please provide any additional information below.
The subclasses, for example AlphabeticalCharacterRule contains a constant with 
the type of character validation, in this case, alphabetical, which is 
hardcoded, so this part of the message will not be translated and, as the 
RuleResultDetails don't return which is the invalid rule, is not possible to 
adapt the message

Original issue reported on code.google.com by mtanim...@gmail.com on 1 Mar 2015 at 10:19

GoogleCodeExporter commented 8 years ago
This project is no longer under development.

See www.passay.org for the next version of this code base.
It also has better support for internationalization.

Original comment by dfis...@gmail.com on 2 Mar 2015 at 4:18