Subject: Add options to Errors::full_messages
Hello, i propose to allow developers not to put attributes inside model error messages(for internationalization).
public function full_messages() { $full_messages = array(); if ($this->errors) { foreach ($this->errors as $attribute => $messages) { foreach ($messages as $msg) { if (is_null($msg)) continue; $full_messages[] = /*Utils::human_attribute($attribute) . ' ' . */$msg; } } } return $full_messages; }
Regards
Alberto
I will definitely be working on some internationalization support in an upcoming version and will keep this in mind. Thanks.
(1-1/1)
June 27 2010
September 23, 2011
Subject: Add options to Errors::full_messages
Hello,
i propose to allow developers not to put attributes inside model error messages(for internationalization).
Regards
Alberto