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: fw-general@lists.zend.com
Info: http://framework.zend.com/archives
Unsubscribe: fw-general-unsubscr...@lists.zend.com


Reply via email to