diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-10-31 22:12:14 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-10-31 22:12:14 +0000 |
| commit | eba717f95f586d2538007bd18da6e9b32b076c30 (patch) | |
| tree | 15fc596a270f9de0d163c66c96e3c65fca5ee100 /kohana/i18n/en_US/validation.php | |
| parent | fff10f8b70376ef25722bd867df26bc5aefced43 (diff) | |
Merge over vendor code.
git-svn-id: http://gallery.svn.sourceforge.net/svnroot/gallery/trunk/eval/gx/gallery3/trunk@18408 57fcd75e-5312-0410-8df3-f5eb6fbb1595
Diffstat (limited to 'kohana/i18n/en_US/validation.php')
| -rw-r--r-- | kohana/i18n/en_US/validation.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/kohana/i18n/en_US/validation.php b/kohana/i18n/en_US/validation.php new file mode 100644 index 00000000..b970f500 --- /dev/null +++ b/kohana/i18n/en_US/validation.php @@ -0,0 +1,39 @@ +<?php defined('SYSPATH') or die('No direct access allowed.'); + +$lang = array +( + // Class errors + 'invalid_rule' => 'Invalid validation rule used: %s', + + // General errors + 'unknown_error' => 'Unknown validation error while validating the %s field.', + 'required' => 'The %s field is required.', + 'min_length' => 'The %s field must be at least %d characters long.', + 'max_length' => 'The %s field must be %d characters or fewer.', + 'exact_length' => 'The %s field must be exactly %d characters.', + 'in_array' => 'The %s field must be selected from the options listed.', + 'matches' => 'The %s field must match the %s field.', + 'valid_url' => 'The %s field must contain a valid URL.', + 'valid_email' => 'The %s field must contain a valid email address.', + 'valid_ip' => 'The %s field must contain a valid IP address.', + 'valid_type' => 'The %s field must only contain %s characters.', + 'range' => 'The %s field must be between specified ranges.', + 'regex' => 'The %s field does not match accepted input.', + 'depends_on' => 'The %s field depends on the %s field.', + + // Upload errors + 'user_aborted' => 'The %s file was aborted during upload.', + 'invalid_type' => 'The %s file is not an allowed file type.', + 'max_size' => 'The %s file you uploaded was too large. The maximum size allowed is %s.', + 'max_width' => 'The %s file you uploaded was too big. The maximum allowed width is %spx.', + 'max_height' => 'The %s file you uploaded was too big. The maximum allowed height is %spx.', + 'min_width' => 'The %s file you uploaded was too small. The minimum allowed width is %spx.', + 'min_height' => 'The %s file you uploaded was too small. The minimum allowed height is %spx.', + + // Field types + 'alpha' => 'alphabetical', + 'alpha_numeric' => 'alphabetical and numeric', + 'alpha_dash' => 'alphabetical, dash, and underscore', + 'digit' => 'digit', + 'numeric' => 'numeric', +); |
