Show
Ignore:
Timestamp:
03/03/2008 12:10:00 PM (10 months ago)
Author:
Shadowhand
Message:

Updated US locale file

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/l10n/US.php

    r2206 r2212  
    11<?php defined('SYSPATH') or die('No direct script access.'); 
    22 
     3// Phone prefix and format 
     4$locale['phone_prefix'] = '1'; 
     5$locale['phone_format'] = '3-3-4'; 
     6 
     7// State names 
    38$locale['states'] = array 
    49( 
    510        'AL' => 'Alabama', 
    611        'AK' => 'Alaska', 
    7         // 'AS' => 'American Samoa', 
    812        'AZ' => 'Arizona', 
    913        'AR' => 'Arkansas', 
     
    1317        'DE' => 'Delaware', 
    1418        'DC' => 'District of Columbia', 
    15         // 'FM' => 'Federated States of Micronesia', 
    1619        'FL' => 'Florida', 
    1720        'GA' => 'Georgia', 
     
    2629        'LA' => 'Louisiana', 
    2730        'ME' => 'Maine', 
    28         // 'MH' => 'Marshall Islands', 
    2931        'MD' => 'Maryland', 
    3032        'MA' => 'Massachusetts', 
     
    4244        'NC' => 'North Carolina', 
    4345        'ND' => 'North Dakota', 
    44         // 'MP' => 'Northern Mariana Islands', 
    4546        'OH' => 'Ohio', 
    4647        'OK' => 'Oklahoma', 
    4748        'OR' => 'Oregon', 
    48         // 'PW' => 'Palau', 
    4949        'PA' => 'Pennsylvania', 
    50         // 'PR' => 'Puerto Rico', 
    5150        'RI' => 'Rhode Island', 
    5251        'SC' => 'South Carolina', 
     
    5655        'UT' => 'Utah', 
    5756        'VT' => 'Vermont', 
    58         // 'VI' => 'Virgin Islands', 
    5957        'VA' => 'Virginia', 
    6058        'WA' => 'Washington', 
     
    6361        'WY' => 'Wyoming', 
    6462); 
     63 
     64// States with territories 
     65$locale['all_states'] = array_merge($locale['states'], array 
     66( 
     67        'AS' => 'American Samoa', 
     68        'FM' => 'Federated States of Micronesia', 
     69        'MH' => 'Marshall Islands', 
     70        'MP' => 'Northern Mariana Islands', 
     71        'PW' => 'Palau', 
     72        'PR' => 'Puerto Rico', 
     73        'VI' => 'Virgin Islands', 
     74)); 
     75// Re-sort the list 
     76ksort($locale['all_states']); 
     77 
     78// Month names 
     79$locale['months'] = array 
     80( 
     81        1  => array('short' => 'Jan', 'long' => 'January'), 
     82        2  => array('short' => 'Feb', 'long' => 'February'), 
     83        3  => array('short' => 'Mar', 'long' => 'March'), 
     84        4  => array('short' => 'Apr', 'long' => 'April'), 
     85        5  => array('short' => 'May', 'long' => 'May'), 
     86        6  => array('short' => 'Jun', 'long' => 'June'), 
     87        7  => array('short' => 'Jul', 'long' => 'July'), 
     88        8  => array('short' => 'Aug', 'long' => 'August'), 
     89        9  => array('short' => 'Sep', 'long' => 'September'), 
     90        10 => array('short' => 'Oct', 'long' => 'October'), 
     91        11 => array('short' => 'Nov', 'long' => 'November'), 
     92        12 => array('short' => 'Dec', 'long' => 'December'), 
     93); 
     94 
     95// Day names 
     96$locale['days'] = array 
     97( 
     98        0 => array('short' => 'Sun', 'long' => 'Sunday'), 
     99        1 => array('short' => 'Mon', 'long' => 'Monday'), 
     100        2 => array('short' => 'Tue', 'long' => 'Tuesday'), 
     101        3 => array('short' => 'Wed', 'long' => 'Wednesday'), 
     102        4 => array('short' => 'Thu', 'long' => 'Thursday'), 
     103        5 => array('short' => 'Fri', 'long' => 'Friday'), 
     104        6 => array('short' => 'Sat', 'long' => 'Saturday'), 
     105);