summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-15 09:31:55 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-15 09:31:55 +0000
commit0567334c62c9fe4da7f68d37fd5f833f198bba7e (patch)
tree1e29edda73f9a8956bb2de593d8e0505450991c0
parent93977e579cca9a9d0df28099e1fb7596bcc1c825 (diff)
(merge of vendor/kohana/modified r19219) Add back in English localization strings, else we're missing a lot of critical strings at development time
-rw-r--r--kohana/i18n/en_US/cache.php10
-rw-r--r--kohana/i18n/en_US/calendar.php59
-rw-r--r--kohana/i18n/en_US/captcha.php33
-rw-r--r--kohana/i18n/en_US/core.php34
-rw-r--r--kohana/i18n/en_US/database.php15
-rw-r--r--kohana/i18n/en_US/encrypt.php8
-rw-r--r--kohana/i18n/en_US/errors.php16
-rw-r--r--kohana/i18n/en_US/event.php7
-rw-r--r--kohana/i18n/en_US/image.php33
-rw-r--r--kohana/i18n/en_US/orm.php3
-rw-r--r--kohana/i18n/en_US/pagination.php15
-rw-r--r--kohana/i18n/en_US/profiler.php15
-rw-r--r--kohana/i18n/en_US/session.php6
-rw-r--r--kohana/i18n/en_US/swift.php6
-rw-r--r--kohana/i18n/en_US/upload.php6
-rw-r--r--kohana/i18n/en_US/validation.php41
16 files changed, 307 insertions, 0 deletions
diff --git a/kohana/i18n/en_US/cache.php b/kohana/i18n/en_US/cache.php
new file mode 100644
index 00000000..bef02793
--- /dev/null
+++ b/kohana/i18n/en_US/cache.php
@@ -0,0 +1,10 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'undefined_group' => 'The %s group is not defined in your configuration.',
+ 'extension_not_loaded' => 'The %s PHP extension must be loaded to use this driver.',
+ 'unwritable' => 'The configured storage location, %s, is not writable.',
+ 'resources' => 'Caching of resources is impossible, because resources cannot be serialized.',
+ 'driver_error' => '%s',
+); \ No newline at end of file
diff --git a/kohana/i18n/en_US/calendar.php b/kohana/i18n/en_US/calendar.php
new file mode 100644
index 00000000..21dad220
--- /dev/null
+++ b/kohana/i18n/en_US/calendar.php
@@ -0,0 +1,59 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ // Two letter days
+ 'su' => 'Su',
+ 'mo' => 'Mo',
+ 'tu' => 'Tu',
+ 'we' => 'We',
+ 'th' => 'Th',
+ 'fr' => 'Fr',
+ 'sa' => 'Sa',
+
+ // Short day names
+ 'sun' => 'Sun',
+ 'mon' => 'Mon',
+ 'tue' => 'Tue',
+ 'wed' => 'Wed',
+ 'thu' => 'Thu',
+ 'fri' => 'Fri',
+ 'sat' => 'Sat',
+
+ // Long day names
+ 'sunday' => 'Sunday',
+ 'monday' => 'Monday',
+ 'tuesday' => 'Tuesday',
+ 'wednesday' => 'Wednesday',
+ 'thursday' => 'Thursday',
+ 'friday' => 'Friday',
+ 'saturday' => 'Saturday',
+
+ // Short month names
+ 'jan' => 'Jan',
+ 'feb' => 'Feb',
+ 'mar' => 'Mar',
+ 'apr' => 'Apr',
+ 'may' => 'May',
+ 'jun' => 'Jun',
+ 'jul' => 'Jul',
+ 'aug' => 'Aug',
+ 'sep' => 'Sep',
+ 'oct' => 'Oct',
+ 'nov' => 'Nov',
+ 'dec' => 'Dec',
+
+ // Long month names
+ 'january' => 'January',
+ 'february' => 'February',
+ 'march' => 'March',
+ 'april' => 'April',
+ 'mayl' => 'May',
+ 'june' => 'June',
+ 'july' => 'July',
+ 'august' => 'August',
+ 'september' => 'September',
+ 'october' => 'October',
+ 'november' => 'November',
+ 'december' => 'December'
+); \ No newline at end of file
diff --git a/kohana/i18n/en_US/captcha.php b/kohana/i18n/en_US/captcha.php
new file mode 100644
index 00000000..60404711
--- /dev/null
+++ b/kohana/i18n/en_US/captcha.php
@@ -0,0 +1,33 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'file_not_found' => 'The specified file, %s, was not found. Please verify that files exist by using file_exists() before using them.',
+ 'requires_GD2' => 'The Captcha library requires GD2 with FreeType support. Please see http://php.net/gd_info for more information.',
+
+ // Words of varying length for the Captcha_Word_Driver to pick from
+ // Note: use only alphanumeric characters
+ 'words' => array
+ (
+ 'cd', 'tv', 'it', 'to', 'be', 'or',
+ 'sun', 'car', 'dog', 'bed', 'kid', 'egg',
+ 'bike', 'tree', 'bath', 'roof', 'road', 'hair',
+ 'hello', 'world', 'earth', 'beard', 'chess', 'water',
+ 'barber', 'bakery', 'banana', 'market', 'purple', 'writer',
+ 'america', 'release', 'playing', 'working', 'foreign', 'general',
+ 'aircraft', 'computer', 'laughter', 'alphabet', 'kangaroo', 'spelling',
+ 'architect', 'president', 'cockroach', 'encounter', 'terrorism', 'cylinders',
+ ),
+
+ // Riddles for the Captcha_Riddle_Driver to pick from
+ // Note: use only alphanumeric characters
+ 'riddles' => array
+ (
+ array('Do you hate spam? (yes or no)', 'yes'),
+ array('Are you a robot? (yes or no)', 'no'),
+ array('Fire is... (hot or cold)', 'hot'),
+ array('The season after fall is...', 'winter'),
+ array('Which day of the week is it today?', strftime('%A')),
+ array('Which month of the year are we in?', strftime('%B')),
+ ),
+);
diff --git a/kohana/i18n/en_US/core.php b/kohana/i18n/en_US/core.php
new file mode 100644
index 00000000..9711b7cd
--- /dev/null
+++ b/kohana/i18n/en_US/core.php
@@ -0,0 +1,34 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'there_can_be_only_one' => 'There can be only one instance of Kohana per page request',
+ 'uncaught_exception' => 'Uncaught %s: %s in file %s on line %s',
+ 'invalid_method' => 'Invalid method %s called in %s',
+ 'invalid_property' => 'The %s property does not exist in the %s class.',
+ 'log_dir_unwritable' => 'The log directory is not writable: %s',
+ 'resource_not_found' => 'The requested %s, %s, could not be found',
+ 'invalid_filetype' => 'The requested filetype, .%s, is not allowed in your view configuration file',
+ 'view_set_filename' => 'You must set the the view filename before calling render',
+ 'no_default_route' => 'Please set a default route in config/routes.php',
+ 'no_controller' => 'Kohana was not able to determine a controller to process this request: %s',
+ 'page_not_found' => 'The page you requested, %s, could not be found.',
+ 'stats_footer' => 'Loaded in {execution_time} seconds, using {memory_usage} of memory. Generated by Kohana v{kohana_version}.',
+ 'error_file_line' => '<tt>%s <strong>[%s]:</strong></tt>',
+ 'stack_trace' => 'Stack Trace',
+ 'generic_error' => 'Unable to Complete Request',
+ 'errors_disabled' => 'You can go to the <a href="%s">home page</a> or <a href="%s">try again</a>.',
+
+ // Drivers
+ 'driver_implements' => 'The %s driver for the %s library must implement the %s interface',
+ 'driver_not_found' => 'The %s driver for the %s library could not be found',
+
+ // Resource names
+ 'config' => 'config file',
+ 'controller' => 'controller',
+ 'helper' => 'helper',
+ 'library' => 'library',
+ 'driver' => 'driver',
+ 'model' => 'model',
+ 'view' => 'view',
+);
diff --git a/kohana/i18n/en_US/database.php b/kohana/i18n/en_US/database.php
new file mode 100644
index 00000000..172e5c90
--- /dev/null
+++ b/kohana/i18n/en_US/database.php
@@ -0,0 +1,15 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'undefined_group' => 'The %s group is not defined in your configuration.',
+ 'error' => 'There was an SQL error: %s',
+ 'connection' => 'There was an error connecting to the database: %s',
+ 'invalid_dsn' => 'The DSN you supplied is not valid: %s',
+ 'must_use_set' => 'You must set a SET clause for your query.',
+ 'must_use_where' => 'You must set a WHERE clause for your query.',
+ 'must_use_table' => 'You must set a database table for your query.',
+ 'table_not_found' => 'Table %s does not exist in your database.',
+ 'not_implemented' => 'The method you called, %s, is not supported by this driver.',
+ 'result_read_only' => 'Query results are read only.'
+); \ No newline at end of file
diff --git a/kohana/i18n/en_US/encrypt.php b/kohana/i18n/en_US/encrypt.php
new file mode 100644
index 00000000..9afd6208
--- /dev/null
+++ b/kohana/i18n/en_US/encrypt.php
@@ -0,0 +1,8 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'undefined_group' => 'The %s group is not defined in your configuration.',
+ 'requires_mcrypt' => 'To use the Encrypt library, mcrypt must be enabled in your PHP installation',
+ 'no_encryption_key' => 'To use the Encrypt library, you must set an encryption key in your config file'
+);
diff --git a/kohana/i18n/en_US/errors.php b/kohana/i18n/en_US/errors.php
new file mode 100644
index 00000000..83341a2c
--- /dev/null
+++ b/kohana/i18n/en_US/errors.php
@@ -0,0 +1,16 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ E_KOHANA => array( 1, 'Framework Error', 'Please check the Kohana documentation for information about the following error.'),
+ E_PAGE_NOT_FOUND => array( 1, 'Page Not Found', 'The requested page was not found. It may have moved, been deleted, or archived.'),
+ E_DATABASE_ERROR => array( 1, 'Database Error', 'A database error occurred while performing the requested procedure. Please review the database error below for more information.'),
+ E_RECOVERABLE_ERROR => array( 1, 'Recoverable Error', 'An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.'),
+ E_ERROR => array( 1, 'Fatal Error', ''),
+ E_USER_ERROR => array( 1, 'Fatal Error', ''),
+ E_PARSE => array( 1, 'Syntax Error', ''),
+ E_WARNING => array( 1, 'Warning Message', ''),
+ E_USER_WARNING => array( 1, 'Warning Message', ''),
+ E_STRICT => array( 2, 'Strict Mode Error', ''),
+ E_NOTICE => array( 2, 'Runtime Message', ''),
+); \ No newline at end of file
diff --git a/kohana/i18n/en_US/event.php b/kohana/i18n/en_US/event.php
new file mode 100644
index 00000000..282a0a25
--- /dev/null
+++ b/kohana/i18n/en_US/event.php
@@ -0,0 +1,7 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'invalid_subject' => 'Attempt to attach invalid subject %s to %s failed: Subjects must extend the Event_Subject class',
+ 'invalid_observer' => 'Attempt to attach invalid observer %s to %s failed: Observers must extend the Event_Observer class',
+);
diff --git a/kohana/i18n/en_US/image.php b/kohana/i18n/en_US/image.php
new file mode 100644
index 00000000..9f184930
--- /dev/null
+++ b/kohana/i18n/en_US/image.php
@@ -0,0 +1,33 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'getimagesize_missing' => 'The Image library requires the getimagesize() PHP function, which is not available in your installation.',
+ 'unsupported_method' => 'Your configured driver does not support the %s image transformation.',
+ 'file_not_found' => 'The specified image, %s, was not found. Please verify that images exist by using file_exists() before manipulating them.',
+ 'type_not_allowed' => 'The specified image, %s, is not an allowed image type.',
+ 'invalid_width' => 'The width you specified, %s, is not valid.',
+ 'invalid_height' => 'The height you specified, %s, is not valid.',
+ 'invalid_dimensions' => 'The dimensions specified for %s are not valid.',
+ 'invalid_master' => 'The master dimension specified is not valid.',
+ 'invalid_flip' => 'The flip direction specified is not valid.',
+ 'directory_unwritable' => 'The specified directory, %s, is not writable.',
+
+ // ImageMagick specific messages
+ 'imagemagick' => array
+ (
+ 'not_found' => 'The ImageMagick directory specified does not contain a required program, %s.',
+ ),
+
+ // GraphicsMagick specific messages
+ 'graphicsmagick' => array
+ (
+ 'not_found' => 'The GraphicsMagick directory specified does not contain a required program, %s.',
+ ),
+
+ // GD specific messages
+ 'gd' => array
+ (
+ 'requires_v2' => 'The Image library requires GD2. Please see http://php.net/gd_info for more information.',
+ ),
+);
diff --git a/kohana/i18n/en_US/orm.php b/kohana/i18n/en_US/orm.php
new file mode 100644
index 00000000..3c5720bc
--- /dev/null
+++ b/kohana/i18n/en_US/orm.php
@@ -0,0 +1,3 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang['query_methods_not_allowed'] = 'Query methods cannot be used through ORM'; \ No newline at end of file
diff --git a/kohana/i18n/en_US/pagination.php b/kohana/i18n/en_US/pagination.php
new file mode 100644
index 00000000..26d65615
--- /dev/null
+++ b/kohana/i18n/en_US/pagination.php
@@ -0,0 +1,15 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'undefined_group' => 'The %s group is not defined in your pagination configuration.',
+ 'page' => 'page',
+ 'pages' => 'pages',
+ 'item' => 'item',
+ 'items' => 'items',
+ 'of' => 'of',
+ 'first' => 'first',
+ 'last' => 'last',
+ 'previous' => 'previous',
+ 'next' => 'next',
+);
diff --git a/kohana/i18n/en_US/profiler.php b/kohana/i18n/en_US/profiler.php
new file mode 100644
index 00000000..a39c2f51
--- /dev/null
+++ b/kohana/i18n/en_US/profiler.php
@@ -0,0 +1,15 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'benchmarks' => 'Benchmarks',
+ 'post_data' => 'Post Data',
+ 'no_post' => 'No post data',
+ 'session_data' => 'Session Data',
+ 'no_session' => 'No session data',
+ 'queries' => 'Database Queries',
+ 'no_queries' => 'No queries',
+ 'no_database' => 'Database not loaded',
+ 'cookie_data' => 'Cookie Data',
+ 'no_cookie' => 'No cookie data',
+);
diff --git a/kohana/i18n/en_US/session.php b/kohana/i18n/en_US/session.php
new file mode 100644
index 00000000..ee781c65
--- /dev/null
+++ b/kohana/i18n/en_US/session.php
@@ -0,0 +1,6 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'invalid_session_name' => 'The session_name, %s, is invalid. It must contain only alphanumeric characters and underscores. Also at least one letter must be present.',
+); \ No newline at end of file
diff --git a/kohana/i18n/en_US/swift.php b/kohana/i18n/en_US/swift.php
new file mode 100644
index 00000000..249c4a85
--- /dev/null
+++ b/kohana/i18n/en_US/swift.php
@@ -0,0 +1,6 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'general_error' => 'An error occurred while sending the email message.'
+); \ No newline at end of file
diff --git a/kohana/i18n/en_US/upload.php b/kohana/i18n/en_US/upload.php
new file mode 100644
index 00000000..7f6e216d
--- /dev/null
+++ b/kohana/i18n/en_US/upload.php
@@ -0,0 +1,6 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ 'not_writable' => 'The upload destination folder, %s, does not appear to be writable.',
+); \ No newline at end of file
diff --git a/kohana/i18n/en_US/validation.php b/kohana/i18n/en_US/validation.php
new file mode 100644
index 00000000..d98e548f
--- /dev/null
+++ b/kohana/i18n/en_US/validation.php
@@ -0,0 +1,41 @@
+<?php defined('SYSPATH') OR die('No direct access allowed.');
+
+$lang = array
+(
+ // Class errors
+ 'invalid_rule' => 'Invalid validation rule used: %s',
+ 'i18n_array' => 'The %s i18n key must be an array to be used with the in_lang rule',
+ 'not_callable' => 'Callback %s used for Validation is not callable',
+
+ // 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',
+);