Grammar/Vocabulary fixes

Signed-off-by: Chris Berthe <chrisberthe@gmail.com>
This commit is contained in:
Chris Berthe
2012-06-13 11:19:20 -04:00
parent d9802fe656
commit fafaf724b0
54 changed files with 130 additions and 130 deletions

View File

@@ -401,8 +401,8 @@ class Validator {
protected function size($attribute, $value)
{
// This method will determine if the attribute is a number, string, or file and
// return the proper size accordingly. If it is a number, then number itself is
// the size; if it is a file, the size is kilobytes in the size; if it is a
// return the proper size accordingly. If it is a number, the number itself is
// the size; if it is a file, the kilobytes is the size; if it is a
// string, the length is the size.
if (is_numeric($value) and $this->has_rule($attribute, $this->numeric_rules))
{
@@ -743,7 +743,7 @@ class Validator {
}
// We assume that attributes present in the $_FILES array are files,
// which makes sense. If the attribute doesn't have numeric rules
// and isn't as file, it's a string.
// and isn't a file, it's a string.
elseif (array_key_exists($attribute, Input::file()))
{
$line = 'file';
@@ -862,7 +862,7 @@ class Validator {
}
/**
* Replace all place-holders for the not_in rule.
* Replace all place-holders for the mimes rule.
*
* @param string $message
* @param string $attribute
@@ -953,7 +953,7 @@ class Validator {
// If no language line has been specified for the attribute, all of
// the underscores are removed from the attribute name and that
// will be used as the attribtue name.
// will be used as the attribute name.
else
{
return str_replace('_', ' ', $attribute);