Because 1 string out of more than 200 is missing the complete manual useless
?
This is ridiculous.
You could also use the translation ressource.
*sarcasm* Oh, sorry... 10 strings are marked as duplicated within the
ressources so they are also useless.
Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com
----- Original Message -----
From: "Саша Стаменковић" <[email protected]>
To: "whisher" <[email protected]>
Cc: <[email protected]>
Sent: Monday, December 14, 2009 11:38 AM
Subject: Re: [fw-general] There is no way to customize the validator
messages?
Page http://framework.zend.com/manual/en/zend.validate.messages.html needs
an update
eg:
"Invalid type given, value should be string, integer or float" is missing
in Zend_Validate_Digits...
So, it's worthless.
Regards,
Saša Stamenković
On Mon, Nov 16, 2009 at 11:32 AM, whisher <[email protected]> wrote:
Hi.
You can put your value using Zend_Translate for instance:
$translate = new Zend_Translate('array', APPLICATION_PATH .
'/configs/lang/'. $locale . '.php' , $lang);
in my it_IT.php
return array( /* VALIDATORS */ Zend_Validate_NotEmpty::IS_EMPTY => 'Il
campo è obbligatorio e non può essere vuoto'/*Value is required and can\'t
be empty*/, etct etc etc
You can find the keys at
http://framework.zend.com/manual/en/zend.validate.messages.html
Chou Ken wrote:
There is no way to customize the validator messages?
http://framework.zend.com/manual/en/zend.file.transfer.validators.html the
doc said:"Upload: This validator is internal. It checks if an upload has
resulted in an error. You must not set it, as it's automatically set by
Zend_File_Transfer itself. So you do not use this validator directly. You
should only know that it exists. " 青青子衿,悠悠我心
------------------------------
View this message in context: Re: There is no way to customize the
validator
messages?<http://old.nabble.com/There-is-no-way-to-customize-the-validator-messages--tp26369321p26369713.html>
Sent from the Zend Framework mailing list
archive<http://old.nabble.com/Zend-Framework-f15440.html>at Nabble.com.