Hi,

> Thoughts?

Would it be possible to use the constants in the translation files
rather than the text messages? Instead of

"Invalid type given. String, integer or float expected" => "..."

use

Zend\I18n\Validator\Alnum::INVALID => "..."

So, when a text in the validator class is changed, then the translation
will not automatically be broken again.

Regards,

Ralf

-- 
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]


Reply via email to