Changeset 2753

Show
Ignore:
Timestamp:
06/06/2008 03:52:41 PM (6 months ago)
Author:
Shadowhand
Message:

Changes to i18n:

  • Removed HTML tags from all exceptions
  • Removed "ftp" i18n file (not needed, there is no FTP library)
  • Changed core.cannot_write_log to core.log_dir_unwritable
Location:
trunk/system
Files:
1 removed
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/core/Log.php

    r2752 r2753  
    4444                { 
    4545                        // Log directory is invalid 
    46                         throw new Kohana_Exception('core.cannot_write_log', $log_dir); 
     46                        throw new Kohana_Exception('core.log_dir_unwritable', $log_dir); 
    4747                } 
    4848        } 
  • trunk/system/i18n/en_US/cache.php

    r2667 r2753  
    55        'undefined_group'      => 'The %s group is not defined in your configuration.', 
    66        'extension_not_loaded' => 'The %s PHP extension must be loaded to use this driver.', 
    7         'unwritable'           => 'The configured storage location, <tt>%s</tt>, is not writable.', 
     7        'unwritable'           => 'The configured storage location, %s, is not writable.', 
    88        'resources'            => 'Caching of resources is impossible, because resources cannot be serialized.', 
    99        'driver_error'         => '%s', 
  • trunk/system/i18n/en_US/captcha.php

    r2428 r2753  
    33$lang = array 
    44( 
    5         'file_not_found' => 'The specified file, %s, was not found. Please verify that files exist by using <tt>file_exists</tt> before using them.', 
     5        'file_not_found' => 'The specified file, %s, was not found. Please verify that files exist by using file_exists() before using them.', 
    66        'requires_GD2'   => 'The Captcha library requires GD2 with FreeType support. Please see http://php.net/gd_info for more information.', 
    77); 
  • trunk/system/i18n/en_US/core.php

    r2628 r2753  
    55        'there_can_be_only_one' => 'There can be only one instance of Kohana per page request', 
    66        'uncaught_exception'    => 'Uncaught %s: %s in file %s on line %s', 
    7         'invalid_method'        => 'Invalid method <tt>%s</tt> called in <tt>%s</tt>', 
    8         'cannot_write_log'      => 'Your log.directory config setting does not point to a writable directory', 
    9         'resource_not_found'    => 'The requested %s, <tt>%s</tt>, could not be found', 
    10         'invalid_filetype'      => 'The requested filetype, <tt>.%s</tt>, is not allowed in your view configuration file', 
     7        'invalid_method'        => 'Invalid method %s called in %s', 
     8        'log_dir_unwritable'    => 'The log directory is not writable: %s', 
     9        'resource_not_found'    => 'The requested %s, %s, could not be found', 
     10        'invalid_filetype'      => 'The requested filetype, .%s, is not allowed in your view configuration file', 
    1111        'view_set_filename'     => 'You must set the the view filename before calling render', 
    12         'no_default_route'      => 'Please set a default route in <tt>config/routes.php</tt>', 
     12        'no_default_route'      => 'Please set a default route in config/routes.php', 
    1313        'no_controller'         => 'Kohana was not able to determine a controller to process this request: %s', 
    14         'page_not_found'        => 'The page you requested, <tt>%s</tt>, could not be found.', 
     14        'page_not_found'        => 'The page you requested, %s, could not be found.', 
    1515        'stats_footer'          => 'Loaded in {execution_time} seconds, using {memory_usage} of memory. Generated by Kohana v{kohana_version}.', 
    1616        'error_file_line'       => '<tt>%s <strong>[%s]:</strong></tt>', 
  • trunk/system/i18n/en_US/encrypt.php

    r1921 r2753  
    33$lang = array 
    44( 
    5         'requires_mcrypt'   => 'To use the Encrypt library, mcrypt must be enabled.', 
    6         'no_encryption_key' => 'To use the Encrypt library, you need to set an encryption key in your config file.' 
     5        'requires_mcrypt'   => 'To use the Encrypt library, mcrypt must be enabled in your PHP installation', 
     6        'no_encryption_key' => 'To use the Encrypt library, you must set an encryption key in your config file' 
    77); 
  • trunk/system/i18n/en_US/event.php

    r2432 r2753  
    33$lang = array 
    44( 
    5         'invalid_subject'  => 'Attempt to attach invalid subject <tt>%s</tt> to <tt>%s</tt> failed. Subjects must extend the <tt>Event_Subject</tt> class.', 
    6         'invalid_observer' => 'Attempt to attach invalid observer <tt>%s</tt> to <tt>%s</tt> failed. Observers must extend the <tt>Event_Observer</tt> class.', 
     5        'invalid_subject'  => 'Attempt to attach invalid subject %s to %s failed: Subjects must extend the Event_Subject class', 
     6        'invalid_observer' => 'Attempt to attach invalid observer %s to %s failed: Observers must extend the Event_Observer class', 
    77); 
  • trunk/system/i18n/en_US/image.php

    r2667 r2753  
    33$lang = array 
    44( 
    5         'getimagesize_missing'    => 'The Image library requires the <tt>getimagesize</tt> PHP function, which is not available in your installation.', 
     5        'getimagesize_missing'    => 'The Image library requires the getimagesize() PHP function, which is not available in your installation.', 
    66        'unsupported_method'      => 'Your configured driver does not support the %s image transformation.', 
    7         'file_not_found'          => 'The specified image, %s, was not found. Please verify that images exist by using <tt>file_exists</tt> before manipulating them.', 
     7        'file_not_found'          => 'The specified image, %s, was not found. Please verify that images exist by using file_exists() before manipulating them.', 
    88        'type_not_allowed'        => 'The specified image, %s, is not an allowed image type.', 
    99        'invalid_width'           => 'The width you specified, %s, is not valid.',